{"_id":"@clubajax/custom-elements-polyfill","_rev":"10-31420453688ab21bade6d19070376508","name":"@clubajax/custom-elements-polyfill","description":"Polyfill with built-in detection","dist-tags":{"latest":"0.9.4"},"versions":{"0.8.2":{"name":"@clubajax/custom-elements-polyfill","version":"0.8.2","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{"grunt":"^1.0.1","uglify":"^0.1.5"},"devDependencies":{},"gitHead":"6a5a48b6e654cafe84813f674ab90c2da6a811ea","_id":"@clubajax/custom-elements-polyfill@0.8.2","_shasum":"407bbe865035945649df1ab5fbc6fe30c7232bca","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"407bbe865035945649df1ab5fbc6fe30c7232bca","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.8.2.tgz","integrity":"sha512-GwqeFL3bJkmHeXbpIq1q8uxGTSTh3NNOpvFue6nE3c+vdDFiDxuA9Gys5IVKzluH8NgKXZla7o+g7B4ruAq35g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMisKPUqnMBF5qEZZB88apJVyo+Xp+PhMbDia/IOJ/WAiAgjR3uNvlrmTlI0KQoFqQpZsNTSSdqZ7dqol/RX0pc2w=="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill-0.8.2.tgz_1503860836296_0.41153730382211506"},"directories":{}},"0.8.3":{"name":"@clubajax/custom-elements-polyfill","version":"0.8.3","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{"grunt":"^1.0.1","uglify":"^0.1.5"},"devDependencies":{},"gitHead":"22d79bd2730975e9415102d00761772a7decf198","_id":"@clubajax/custom-elements-polyfill@0.8.3","_shasum":"cb481650940279c8fb198a3c24d92d1accea62f0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"cb481650940279c8fb198a3c24d92d1accea62f0","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.8.3.tgz","integrity":"sha512-WV+q6EY+RH5iSsxlwm/bskM5+choaG4vc+zQiMk1frYODSs3sYffCJw24XeZAaWlxf4kzZkQupnk3j5a84AEcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGYUylrajZ4s4/yJsh3rKChcfqAZ3lOtV2di2qEaKkJgIhAIXXslvlkBXjWB+Rd7LOhXoK4XGFNnFdY5pD32Xdk5vv"}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill-0.8.3.tgz_1503862070346_0.4735292864497751"},"directories":{}},"0.0.0":{"name":"@clubajax/custom-elements-polyfill","version":"0.0.0","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{"grunt":"^1.0.1","uglify":"^0.1.5"},"devDependencies":{},"gitHead":"9578fc70f6ecf21a20922ea8260fa3c046588b52","_id":"@clubajax/custom-elements-polyfill@0.0.0","_shasum":"ad7eaa1fe81edbfa81f552871b4a367f265d2253","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"ad7eaa1fe81edbfa81f552871b4a367f265d2253","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.0.0.tgz","integrity":"sha512-NKacKwndISRoXrTg+0K/zlerr12MMrAGkzgiocZp2x2rcWM5OYDxU5LO6+VXXpKfpTpQjkMTVKlNA4xaQUlUeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0wgdVqI11UFhGXhfTbgwU9H6FQHkFvs59uKjlOiwmvgIhAL5s2pYVJnOXg0nRq55jWbIuS8eZW6BcI4UKYxoW7G0X"}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill-0.0.0.tgz_1509916341560_0.43499354436062276"},"directories":{}},"0.9.1":{"name":"@clubajax/custom-elements-polyfill","version":"0.9.1","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{"grunt":"^1.0.1","uglify":"^0.1.5"},"devDependencies":{},"gitHead":"85e767854d795c0aaaa0ca9c1990d4c4646a6600","_id":"@clubajax/custom-elements-polyfill@0.9.1","_shasum":"cfd997eaf660cebcf598b495f35fa74da40ba04e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"cfd997eaf660cebcf598b495f35fa74da40ba04e","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.9.1.tgz","integrity":"sha512-THRhBhSiFfGbLJGRYd75SyeLa5dAhYTaXMf7SXUUME/JYfnWNERneqT1UQCXy6MszadNp65WgNUajqqrktKTEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0XoKyG7MhmgTjBRAyk/efIxVqXSbvJpU0IXUxPznyaAiAVRWaMiqUy0/Cqj2HsGEy+M81Cc6VJTCMV6eXki3E5qQ=="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill-0.9.1.tgz_1509916494335_0.16183165577240288"},"directories":{}},"0.9.2":{"name":"@clubajax/custom-elements-polyfill","version":"0.9.2","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{"grunt":"^1.0.1","uglify":"^0.1.5"},"devDependencies":{},"gitHead":"11df58934c25d72a7a7aec605818cf23c5b8bc79","_id":"@clubajax/custom-elements-polyfill@0.9.2","_shasum":"b5528c1036c45ea55b625fabd33f291ba48d7710","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"b5528c1036c45ea55b625fabd33f291ba48d7710","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.9.2.tgz","integrity":"sha512-AuI9tvnzgW+LHn0k8abgOruk2kZfte6QI9iJWwNFCRnTMeu5RLOKwcuQ21iFjM/4aa14zSa58yRbLy0J3HZAwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgi/BoEAiL7HdXehqlnvbffPSmBJRXhL1aSRnstF/T+AiBXqZpCaUsCiVhzaGv5Z+bcnthhki9Zk+E813EhwiUK2A=="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill-0.9.2.tgz_1510091468098_0.08681744313798845"},"directories":{}},"0.9.3":{"name":"@clubajax/custom-elements-polyfill","version":"0.9.3","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{"grunt":"^1.0.1","uglify":"^0.1.5"},"devDependencies":{},"gitHead":"821b16e195b32280fbbe80d8a0a9de21ff8cff78","_id":"@clubajax/custom-elements-polyfill@0.9.3","_shasum":"bdeec4887e080454e0652b1cd0f61e29e10c7e92","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"bdeec4887e080454e0652b1cd0f61e29e10c7e92","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.9.3.tgz","fileCount":5,"unpackedSize":19812,"integrity":"sha512-ch/XjaBOuZ2+HJprwV5jJPdagWYW/vzCZ4CydF6EwbC5p82mOTds7UQ71MiB7YNlXGHqkIgXJXFDBkAob5bosw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmSScInhxtZkrND8H7VPfI+//2UOnOnSneCujNg8XYxAIgRqG05Xsjoie2Kt+vc4Jegg8bL+tvAktpPcIeH01c3oQ="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill_0.9.3_1519224453159_0.8409170174210387"},"_hasShrinkwrap":false},"0.9.4":{"name":"@clubajax/custom-elements-polyfill","version":"0.9.4","author":{"name":"clubajax"},"description":"Polyfill with built-in detection","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"keywords":["custom-elemnts","web","components","polyfill","shim"],"license":"MIT","bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","dependencies":{},"devDependencies":{},"gitHead":"f31b6c33102ccbfb983318b5291e5ddb10e45ea3","_id":"@clubajax/custom-elements-polyfill@0.9.4","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-F73k2fNFvJtcYxXfFTDzOSDhJQs6SO8E3NS80ktGHZVYXQZQe/0D0ZFAUDLhW2ecQwx/GXHXla+9gXhcgiXa1Q==","shasum":"5a505f923ab566125ffa368f218dc33c2d914a4b","tarball":"https://registry.npmjs.org/@clubajax/custom-elements-polyfill/-/custom-elements-polyfill-0.9.4.tgz","fileCount":4,"unpackedSize":19536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIy5OCRA9TVsSAnZWagAA4M4QAItNCQ9UkMstBag7v+DJ\ndO8Bsg7L6QqhNotCUoQcilSWGBInPJjNmc94Lv4g7yUw9ajRfvLeHGmjDxXH\nMvrj5IYYnTDnU+FxWXgcBHZO8ZobqhwzTcDGK0+T0PJMgHbkmnmPm7zXB3WY\nj1Ur08vusj16QCWHLwKKiHJx3gB/GjYiWPkSmkYFwNSyOwh63z8QvSDIUmMM\nXKpmwPIPZrWO90CyiGZr3LL2Tj33qhd3R7ztjJND5PChdFfNLRFJm4qaWZkO\nXJ/n9+IqeixnnK3Q/L1+x0EFE+OxSgqpmW//2FPuw2quBwoCah64PbDDyhvB\nt0xuuMzCZJB9bf6IbUcrKlqLO8y7IUIilJkifGelQWox72fYuf07PbtnegkQ\nnSTyCfEOUrLL/XlorZERUVZiBsLIh5jsnjNLESBexGODBlGIpxLSKR0/s22r\nkgpVX81GebtPlQ0Z99LhGFhO/gJx9IyBHrAKwtdUv4QO5FZwQ6eBQSGxxgac\n3sQ9eA3UBeG0Kuv43KqDM/ZRZYHU2UZpiw/cJUlZ0owgpZlcssLenvrjggHH\napZZ9j88lPQj5kJXMFJlGLSzY5KMY/PMr1+HKBqwge7RjGoCRYvdYDQNvF4P\nkRwF7hnkKcUnvJ8BG5ly2i5fw5pCdblxBccq7a1SpaRmrSqXcCnBJRB7bigv\n581n\r\n=vkOs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJQgSbtrXCphWyfgsAz5jlEMVrz4Wsh7F2llA0PpGXXAiEA1zugswqGjOkv6xvs+dARSbZp3TZ1QNO4R2IxJ0UYEvU="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-elements-polyfill_0.9.4_1579363918344_0.752561246157577"},"_hasShrinkwrap":false}},"readme":"# Custom Elements Polyfill\n\nProvides cross-browser (IE11+) functionality for the web-component's custom elements v1 spec.\n\nThis package uses the shims from [the webcomponents repo](https://github.com/webcomponents/custom-elements)\nand combines them into a single polyfill that can be added to your project with npm.\nThis makes it more Webpack friendly, since Webpack does not play well with the deprecated Bower.\nThis also avoids having to mess around with `document.write`, or asynchronously loaded scripts.\n\n## How it Works\n\nThere is a native-shim that Chrome uses so that custom elements will work with transpiled ES5. \nThe problem with this polyfill is it uses ES6 which IE11 can't parse.\n\nThe solution is the offending ES6 code is stringified, and when in Chrome or Safari, eval'd. When in IE, ignored.\n\n## Installation\n\n    npm install @clubajax/custom-elements-polyfill --save\n    \nIn your app:\n```jsx harmony\nimport '@clubajax/custom-elements-polyfill';\n```\n\nIt can also be loaded in a script, if you are not using build tools.\n\n### Switches\n\nWithout switches, the behavior is:\n\n * Native support for custom-elements: load native-shim\n * no support for custom-elements: load custom-elements shim\n\n#### no-native-shim\n\nGood for developing with Chrome. If you are running native, untranspiled code, the native-shim should not be loaded. \nBefore loading the polyfill, use:\n```jsx harmony\nwindow['no-native-shim'] = true;\n```\n\n#### webpack usage\n\nWebpack has the ability to add [global constants](https://webpack.js.org/plugins/define-plugin/); similar to a window\nglobal, but only accessible within your app (and not to window). You can set the `NO_NATIVE_SHIM` constant as follows:\n\n```jsx harmony\nconst define = new webpack.DefinePlugin({\n\tNO_NATIVE_SHIM: JSON.stringify(options.chromeOnly)\n});\n```\n\n#### force-ce-shim\nIf you would like to load the custom-elements shim under any circumstances:\n```jsx harmony\nwindow['force-ce-shim'] = true;\n```\n\n## FAQ\n\nFor a list of helpful tips for loading and parsing custom elements, see [BaseComponent Readme](https://github.com/clubajax/BaseComponent#es6-faq)\n\nThis version no longer includes the Promise that was in v0.7. It is recommended to use \n[this very small one.](https://github.com/taylorhakes/promise-polyfill)\n\n## License\n\n[MIT](./LICENSE).","maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"time":{"modified":"2022-06-12T16:10:24.366Z","created":"2017-08-27T19:07:17.219Z","0.8.2":"2017-08-27T19:07:17.219Z","0.8.3":"2017-08-27T19:27:51.270Z","0.0.0":"2017-11-05T21:12:21.739Z","0.9.1":"2017-11-05T21:14:55.234Z","0.9.2":"2017-11-07T21:51:10.239Z","0.9.3":"2018-02-21T14:47:33.204Z","0.9.4":"2020-01-18T16:11:58.489Z"},"homepage":"https://github.com/clubajax/custom-elements-polyfill#readme","keywords":["custom-elemnts","web","components","polyfill","shim"],"repository":{"type":"git","url":"git+https://github.com/clubajax/custom-elements-polyfill.git"},"author":{"name":"clubajax"},"bugs":{"url":"https://github.com/clubajax/custom-elements-polyfill/issues"},"license":"MIT","readmeFilename":"README.md"}