{"_id":"@okikio/sharedworker","_rev":"8-6c4cdba96da30664914576aad335980f","name":"@okikio/sharedworker","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@okikio/sharedworker","version":"1.0.0","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2021"],"author":{"url":"https://blog.okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.0","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://github.com/okikio/sharedworker#readme","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"dist":{"shasum":"970702f1ea90a4559f8a11049ddd9f6313e5e143","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.0.tgz","fileCount":8,"integrity":"sha512-Y/L4Pkgiei5X2A05eo0SIcIQvXcGJ/A0/aG+OWUHsY6lbM8bvDzrXFyYPikzmbAmLoNyY42DvykNLLWqc8YhgA==","signatures":[{"sig":"MEYCIQCEZr/udWcnLYySz8MebAbCcbzNsVGYTbEv8oJbJKO6TwIhAJGL0tod3PXQdOBb+P+uk6tvbZeCj+V83P11ca0Eddf3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23395},"main":"src/index.ts","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS --verbose"}},"gitHead":"b894d9953a5e889ebc1f8df1a0a52cf65bc81091","release":{"branches":["main"]},"scripts":{"dts":"rm -r -f @types/ && tsc -p dts.tsconfig.json","build":"rm -r -f lib/ && rollup -c","commit":"git cz","preview":"serve docs","typedoc":"rm -r -f docs/ && typedoc && node ./rehype.js && cp -a static/. docs/","pre-release":"pnpm build && pnpm typedoc && pnpm dts","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"8.0.0","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src","@types":"./@types"},"sideEffects":false,"_nodeVersion":"16.11.1","publishConfig":{"umd":"sharedworker","main":"lib/index.cjs","types":"@types/index.d.ts","access":"public","legacy":"lib/index.js","module":"lib/index.mjs","browser":"lib/index.mjs","exports":{".":{"import":"./lib/index.mjs","default":"./lib/index.mjs","require":"./lib/index.cjs"},"./lib/*":"./lib/*"}},"_hasShrinkwrap":false,"devDependencies":{"pnpm":"^6.17.1","husky":"^7.0.2","serve":"^12.0.1","rollup":"^2.58.0","esbuild":"^0.13.6","typedoc":"^0.22.5","unified":"^10.1.0","fast-glob":"^3.2.7","@types/web":"^0.0.41","playwright":"^1.15.2","typescript":"^4.4.4","rehype-slug":"^5.0.0","rehype-urls":"^1.1.1","rehype-parse":"^8.0.3","@commitlint/cli":"^13.2.1","@playwright/test":"^1.15.2","rehype-highlight":"^5.0.0","rehype-stringify":"^9.0.2","semantic-release":"^18.0.0","rollup-plugin-terser":"^7.0.2","rehype-external-links":"^1.0.0","rollup-plugin-esbuild":"^4.6.0","@rollup/plugin-commonjs":"^21.0.0","rollup-plugin-bundle-size":"^1.0.3","@rollup/plugin-node-resolve":"^13.0.5","@commitlint/config-conventional":"^13.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.0_1634317535500_0.744808188970669","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@okikio/sharedworker","version":"1.0.1","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2021"],"author":{"url":"https://blog.okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.1","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://github.com/okikio/sharedworker#readme","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"umd":"sharedworker","dist":{"shasum":"d25ae44b85f876a6be0d7696da3eb8da8093df05","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.1.tgz","fileCount":8,"integrity":"sha512-esj7x+32AY5vfWRlM/yl/k9zlRosgtYQUn/bXuxhvzyHlC9rEpu/wY6b7Of//lBu8EwlPDnEtzFcdLa+lsVVbA==","signatures":[{"sig":"MEQCIAO8gyCgwT/DNFAsFFUFTNLItaQ+bC4IAIwkjQa0/+g+AiBbZdjDNbaQKU4CZJfxY0GbfXa9n6KRBFYJdDkaLxpIeg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23314},"main":"lib/index.cjs","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS --verbose"}},"types":"@types/index.d.ts","access":"public","legacy":"lib/index.js","module":"lib/index.mjs","browser":"lib/index.mjs","exports":{".":{"import":"./lib/index.mjs","default":"./lib/index.mjs","require":"./lib/index.cjs"},"./lib/*":"./lib/*"},"gitHead":"1c891dca43483d9ac4d5ed2538a01806f46148d9","release":{"branches":["main"]},"scripts":{"dts":"rm -r -f @types/ && tsc -p dts.tsconfig.json","build":"rm -r -f lib/ && rollup -c","commit":"git cz","preview":"serve docs","typedoc":"rm -r -f docs/ && typedoc && node ./rehype.js && cp -a static/. docs/","pre-release":"pnpm build && pnpm typedoc && pnpm dts","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"8.0.0","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src","@types":"./@types"},"sideEffects":false,"_nodeVersion":"16.11.1","_hasShrinkwrap":false,"devDependencies":{"pnpm":"^6.17.1","husky":"^7.0.2","serve":"^12.0.1","rollup":"^2.58.0","esbuild":"^0.13.6","typedoc":"^0.22.5","unified":"^10.1.0","fast-glob":"^3.2.7","@types/web":"^0.0.41","playwright":"^1.15.2","typescript":"^4.4.4","rehype-slug":"^5.0.0","rehype-urls":"^1.1.1","rehype-parse":"^8.0.3","@commitlint/cli":"^13.2.1","@playwright/test":"^1.15.2","rehype-highlight":"^5.0.0","rehype-stringify":"^9.0.2","semantic-release":"^18.0.0","rollup-plugin-terser":"^7.0.2","rehype-external-links":"^1.0.0","rollup-plugin-esbuild":"^4.6.0","@rollup/plugin-commonjs":"^21.0.0","rollup-plugin-bundle-size":"^1.0.3","@rollup/plugin-node-resolve":"^13.0.5","@commitlint/config-conventional":"^13.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.1_1634318924864_0.3629749567055749","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@okikio/sharedworker","version":"1.0.2","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2021"],"author":{"url":"https://blog.okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.2","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://sharedworker.okikio.dev","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"umd":"sharedworker","dist":{"shasum":"a0e657d6663c083c4ab4897ea39e85c5a11f5608","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.2.tgz","fileCount":8,"integrity":"sha512-zoNIOcpd4J26QYUbwDOZyr10BLsqQU0NXJTgbM0eHZ9inOr//COimMV6ZNO5RnLAI26qVG++X+Y9VSCL8R9lhg==","signatures":[{"sig":"MEUCIQD0XKkcpEtzVfeTgZvRyhh0TmGfE3TQ4NyPZi19lLzWQQIgLVJ2q5QhX3BVgwN3UeJXSSYPqUimnFOJMQRFa1q1o0I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24959},"main":"lib/index.cjs","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS --verbose"}},"types":"@types/index.d.ts","access":"public","legacy":"lib/index.js","module":"lib/index.mjs","browser":"lib/index.mjs","exports":{".":{"import":"./lib/index.mjs","default":"./lib/index.mjs","require":"./lib/index.cjs"},"./lib/*":"./lib/*"},"gitHead":"86fa3ed33a87e0252d4fa9c80f853788a4683bd3","release":{"branches":["main"]},"scripts":{"dts":"rm -r -f @types/ && tsc -p dts.tsconfig.json","build":"rm -r -f lib/ && rollup -c","commit":"git cz","preview":"serve docs","typedoc":"rm -r -f docs/ && typedoc && node ./rehype.js && cp -a static/. docs/","pre-release":"pnpm build && pnpm typedoc && pnpm dts","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"8.1.0","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src","@types":"./@types"},"sideEffects":false,"_nodeVersion":"16.12.0","_hasShrinkwrap":false,"devDependencies":{"pnpm":"^6.17.1","husky":"^7.0.2","serve":"^12.0.1","rollup":"^2.58.0","esbuild":"^0.13.6","typedoc":"^0.22.5","unified":"^10.1.0","fast-glob":"^3.2.7","@types/web":"^0.0.41","playwright":"^1.15.2","typescript":"^4.4.4","rehype-slug":"^5.0.0","rehype-urls":"^1.1.1","rehype-parse":"^8.0.3","@commitlint/cli":"^13.2.1","@playwright/test":"^1.15.2","rehype-highlight":"^5.0.0","rehype-stringify":"^9.0.2","semantic-release":"^18.0.0","rollup-plugin-terser":"^7.0.2","rehype-external-links":"^1.0.0","rollup-plugin-esbuild":"^4.6.0","@rollup/plugin-commonjs":"^21.0.0","rollup-plugin-bundle-size":"^1.0.3","@rollup/plugin-node-resolve":"^13.0.5","@commitlint/config-conventional":"^13.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.2_1634767528028_0.541374351299309","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@okikio/sharedworker","version":"1.0.3","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2021"],"author":{"url":"https://blog.okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.3","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://sharedworker.okikio.dev","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"umd":"sharedworker","dist":{"shasum":"f0580d3e75744561b60abe78f44f3455bf49ea67","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.3.tgz","fileCount":8,"integrity":"sha512-XCiZvC1rWfb4SO8bZaMVAeKQLTWxFH3ZlZZVtrJ1B2aePVHZFnbTKEtdxdQ9vP7n4627MSSyXESwrYMvh/CjGw==","signatures":[{"sig":"MEUCIH7A96xbcqSp4wCI1a3EjCma5CXQv2cmGHOB2vUxGWnUAiEAk6NybbFsU+pO2gq8TQEbbmg1TXoMMUsxgPIfXs350XU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24649},"main":"lib/index.cjs","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS --verbose"}},"types":"@types/index.d.ts","access":"public","legacy":"lib/index.js","module":"lib/index.mjs","browser":"lib/index.mjs","exports":{".":{"import":"./lib/index.mjs","default":"./lib/index.mjs","require":"./lib/index.cjs"},"./lib/*":"./lib/*"},"gitHead":"766749152fe4ba705e09c795f18ab6968fe9c3d0","release":{"branches":["main"]},"scripts":{"dts":"rm -r -f @types/ && tsc -p dts.tsconfig.json","build":"rm -r -f lib/ && rollup -c","commit":"git cz","preview":"serve docs","typedoc":"rm -r -f docs/ && typedoc && node ./rehype.js && cp -a static/. docs/","pre-release":"pnpm build && pnpm typedoc && pnpm dts","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"8.1.0","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src","@types":"./@types"},"sideEffects":false,"_nodeVersion":"16.12.0","_hasShrinkwrap":false,"devDependencies":{"pnpm":"^6.18.0","husky":"^7.0.2","serve":"^12.0.1","rollup":"^2.58.0","esbuild":"^0.13.8","typedoc":"^0.22.6","unified":"^10.1.0","fast-glob":"^3.2.7","@types/web":"^0.0.42","playwright":"^1.15.2","typescript":"^4.4.4","rehype-slug":"^5.0.0","rehype-urls":"^1.1.1","rehype-parse":"^8.0.3","@commitlint/cli":"^13.2.1","@playwright/test":"^1.15.2","rehype-highlight":"^5.0.0","rehype-stringify":"^9.0.2","semantic-release":"^18.0.0","rollup-plugin-terser":"^7.0.2","rehype-external-links":"^1.0.0","rollup-plugin-esbuild":"^4.6.0","@rollup/plugin-commonjs":"^21.0.1","rollup-plugin-bundle-size":"^1.0.3","@rollup/plugin-node-resolve":"^13.0.6","@commitlint/config-conventional":"^13.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.3_1634768466782_0.7770761998025917","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@okikio/sharedworker","version":"1.0.4","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2021"],"author":{"url":"https://blog.okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.4","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://sharedworker.okikio.dev","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"umd":"sharedworker","dist":{"shasum":"13487fcb7d951fdfa96887335c77391b48b98ea9","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.4.tgz","fileCount":8,"integrity":"sha512-QffYDNQ30RtrvmTVDu5WtNiwZRcrx+3Lkd02STsMXj3JBJMWmJkiQv+ruKgsLoijXVwqjW6LYuf41of7Ro/rfg==","signatures":[{"sig":"MEYCIQCNMXK0EnZXzctsTaqDaj2XLIFlqopGkMgu2jzCDQtZDAIhALETrU92XxPXaDo8klY/FfTrw0/YmieKVWXYUhZu0ErQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJid0m8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoS1A/+KAR7HIRX2kbKAG2CwhSe1c2xL6Sscc/iQI2Ppn4RmFRRoX6H\r\nllDUBfmgO4HjJViiFTQn7/A799vOq7XpUQxKlX0qlFwObMUmtBH//h2qyFnI\r\n7KoiL9W9/MDO10TCv0gCn+DcvryPj8uX0P//PtM0sWJ2NvpRrhXWTWOEHjMg\r\nEzJph1NE3sCPnGIhbFv4bcG6L+qXlRqroY0o+cpb6XrUCOGugwgcoujONAwh\r\nJ+HmLIGPVuGpzejUj9uXAZNnpIELaUmFULSs+Ul53eqqWy4Lz/YsHaSp4MCm\r\nRXUthM3qdhmtruDw7886YEqasp+VCOABeBTaBXkm2YARPsvP141+D0uQ+Ior\r\nWopXpvlCMD54RlEMmexb+oecniw4T9ahVBUPAnDtKHfVTuwdN15A6TO0u4/Q\r\nxz3K+5q+xy5pzyZzHkgScqyGJxxKlhIEd+8cD0mJ50gQqeDf9sraluk3ppgb\r\nGSvvxOHcNM5uvsAuXBdaga6fS56sFP5tAP9eCjm2P0puwwGFbzRQPLE+SlwB\r\nNL/E1uYA368q0zX3iEUE17xKwAk1wr2fTxGOtZWkDD9GPuh6OxHrEaqUnwFD\r\nxVyeceJQakQRnbzRlzoswLhpPNS6kIWSVoNw0dldQwvrRJFyrUR9S/3jB8W5\r\nEAvyXkW7qKX2f8sfvGHBfEu0FkyBz797FUg=\r\n=Y8lQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.cjs","type":"module","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS --verbose"}},"types":"@types/index.d.ts","access":"public","legacy":"lib/index.js","module":"lib/index.mjs","browser":"lib/index.mjs","exports":{".":{"import":"./lib/index.mjs","default":"./lib/index.mjs","require":"./lib/index.cjs"},"./lib/*":"./lib/*"},"gitHead":"33f8598ba260808321ed0dc0f24f8cd650e9750a","release":{"branches":["main"]},"scripts":{"dts":"rm -r -f @types/ && tsc -p dts.tsconfig.json","build":"rm -r -f lib/ && rollup -c","commit":"git cz","preview":"serve docs","typedoc":"rm -r -f docs/ && typedoc && node ./rehype.js && cp -a static/. docs/","pre-release":"pnpm build && pnpm typedoc && pnpm dts","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"8.5.5","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src","@types":"./@types"},"sideEffects":false,"_nodeVersion":"16.15.0","_hasShrinkwrap":false,"devDependencies":{"pnpm":"^7.0.1","husky":"^7.0.4","serve":"^13.0.2","rollup":"^2.72.1","esbuild":"^0.14.38","typedoc":"^0.22.15","unified":"^10.1.2","fast-glob":"^3.2.11","@types/web":"^0.0.64","hastscript":"^7.0.2","playwright":"^1.21.1","typescript":"^4.6.4","rehype-slug":"^5.0.1","rehype-urls":"^1.1.1","rehype-parse":"^8.0.4","@commitlint/cli":"^16.2.4","@playwright/test":"^1.21.1","rehype-stringify":"^9.0.3","semantic-release":"^19.0.2","rollup-plugin-terser":"^7.0.2","rehype-external-links":"^1.0.1","rollup-plugin-esbuild":"^4.9.1","typedoc-plugin-extras":"^2.2.3","@rollup/plugin-commonjs":"^22.0.0","rehype-accessible-emojis":"^0.3.2","typedoc-plugin-mdn-links":"^1.0.6","rollup-plugin-bundle-size":"^1.0.3","@rollup/plugin-node-resolve":"^13.3.0","typedoc-plugin-missing-exports":"^0.22.6","@commitlint/config-conventional":"^16.2.4"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.4_1651984828636_0.4991276674051017","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@okikio/sharedworker","version":"1.0.6","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2023"],"author":{"url":"https://okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.6","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://sharedworker.okikio.dev","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"umd":"sharedworker","dist":{"shasum":"0b255cd2928c0567860cadbd25aa3ad8000073fa","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.6.tgz","fileCount":10,"integrity":"sha512-18MnnJvG6TFXEAkTo84ClTxd6mFE8dMWtu1+shK60NdzYpRCLWwYD6kZOmqD5lDfASb7w4RQjFAsSEZsWnM9pg==","signatures":[{"sig":"MEUCIQC/P0anQE4+SG0FkTnnnEPrNkcfU55XsyCFkOHUIq0IlAIgULiUq72FFSiN+EmkzEU6+TzuNe8Tf5VLTfc9u62Jkvg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@okikio%2fsharedworker@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52723},"main":"lib/index.cjs","type":"module","types":"./lib/index.d.ts","access":"public","legacy":"lib/index.cjs","module":"lib/index.js","browser":"lib/index.js","exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}},"./lib/*":"./lib/*","./src/*":"./src/*","./package.json":"./package.json"},"gitHead":"f2a06c0a2cab7f06e914cf32a61373df8e3f19d5","release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"assets":["lib/**","src/**"]}]],"branches":["main"]},"scripts":{"dev":"vite dev --config vite.config.ts","vite":"vite --config vite.config.ts","build":"tsup","start":"vite dev --config vite.config.ts","prepare":"[ \"$NODE_ENV\" = \"production\" ] || [ -n \"$CI\" ] && echo \"Skipping Husky Install...\" || husky install","typedoc":"esbuild ./.typedoc/typedoc.tsx --format=cjs --outfile=./.typedoc/typedoc.cjs && typedoc --options ./.typedoc/typedoc.json","commitlint":"commitlint --edit","pre-release":"pnpm build && pnpm typedoc","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"10.2.4","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src"},"sideEffects":false,"_nodeVersion":"21.4.0","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"devDependencies":{"pnpm":"^8.12.0","tsup":"^8.0.1","vite":"^5.0.8","husky":"^8.0.3","esbuild":"^0.19.9","typedoc":"^0.25.4","@types/web":"^0.0.127","typescript":"^5.3.3","@types/node":"^20.10.4","@commitlint/cli":"^18.4.3","semantic-release":"^22.0.12","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^11.0.2","typedoc-plugin-extras":"^3.0.0","@semantic-release/github":"^9.2.5","typedoc-plugin-mdn-links":"^3.1.7","@semantic-release/changelog":"^6.0.3","typedoc-plugin-inline-sources":"^1.0.1","typedoc-plugin-missing-exports":"^2.1.0","@commitlint/config-conventional":"^18.4.3","@semantic-release/commit-analyzer":"^11.1.0","@semantic-release/release-notes-generator":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.6_1702504973989_0.7335022656405747","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@okikio/sharedworker","version":"1.0.7","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2023"],"author":{"url":"https://okikio.dev","name":"Okiki Ojo","email":"hey@okikio.dev"},"license":"MIT","_id":"@okikio/sharedworker@1.0.7","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"homepage":"https://sharedworker.okikio.dev","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"umd":"sharedworker","dist":{"shasum":"ccc4fab383ed5abc9f0158222839394fb5738557","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.0.7.tgz","fileCount":12,"integrity":"sha512-raZpnKVcdtsyZbe0PDawfCa/Av32/K6DZ06gzsw7wCa9ShuSAqze2fgHYHOu0zD113wUG2h33o8KSoIHVeKuWA==","signatures":[{"sig":"MEYCIQDpeladfhUL4OUQjG62mGKgLQoW0/tyMlIQmBf+Ib45XAIhAPdh+5NcD26T8aMHkHrvCODtX6Jz7oKFUATuyMPPOPs6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@okikio%2fsharedworker@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":68136},"main":"lib/index.cjs","type":"module","types":"./lib/index.d.ts","access":"public","legacy":"lib/index.cjs","module":"lib/index.js","browser":"lib/index.umd.js","exports":{".":{"import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}},"./lib/*":"./lib/*","./src/*":"./src/*","./package.json":"./package.json"},"gitHead":"eb82c560bb79fcc4d19565ec0514ad7c2bffbd22","release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"assets":["lib/**","src/**"]}]],"branches":["main"]},"scripts":{"dev":"vite dev --config vite.config.ts","vite":"vite --config vite.config.ts","build":"tsup","start":"vite dev --config vite.config.ts","prepare":"[ \"$NODE_ENV\" = \"production\" ] || [ -n \"$CI\" ] && echo \"Skipping Husky Install...\" || husky install","typedoc":"esbuild ./.typedoc/typedoc.tsx --format=cjs --outfile=./.typedoc/typedoc.cjs && typedoc --options ./.typedoc/typedoc.json","commitlint":"commitlint --edit","pre-release":"pnpm build && pnpm typedoc","semantic-release":"semantic-release"},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"changelog":{"repo":"sharedworker","labels":{"bug":":bug: Bug Fix","breaking":":boom: Breaking Change","internal":":house: Internal","enhancement":":rocket: Enhancement","documentation":":memo: Documentation"},"cacheDir":".changelog"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/okikio/sharedworker.git","type":"git"},"_npmVersion":"10.2.4","description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","directories":{"lib":"./lib","src":"./src"},"sideEffects":false,"_nodeVersion":"21.6.1","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"devDependencies":{"pnpm":"^8.12.0","tsup":"^8.0.1","vite":"^5.0.8","husky":"^8.0.3","esbuild":"^0.19.9","typedoc":"^0.25.4","@types/web":"^0.0.127","typescript":"^5.3.3","@types/node":"^20.10.4","@commitlint/cli":"^18.4.3","semantic-release":"^22.0.12","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^11.0.2","typedoc-plugin-extras":"^3.0.0","@semantic-release/github":"^9.2.5","typedoc-plugin-mdn-links":"^3.1.7","esbuild-plugin-umd-wrapper":"^2.0.0","@semantic-release/changelog":"^6.0.3","typedoc-plugin-inline-sources":"^1.0.1","typedoc-plugin-missing-exports":"^2.1.0","@commitlint/config-conventional":"^18.4.3","@semantic-release/commit-analyzer":"^11.1.0","@semantic-release/release-notes-generator":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/sharedworker_1.0.7_1706817184101_0.43168945377480106","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@okikio/sharedworker","version":"1.1.0","type":"module","sideEffects":false,"description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","umd":"sharedworker","access":"public","legacy":"lib/index.cjs","main":"lib/index.cjs","browser":"lib/index.umd.js","module":"lib/index.js","exports":{".":{"require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"},"import":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"./polyfill":{"require":{"types":"./lib/polyfill.d.cts","default":"./lib/polyfill.cjs"},"import":{"types":"./lib/polyfill.d.ts","default":"./lib/polyfill.js"}},"./ponyfill":{"require":{"types":"./lib/ponyfill.d.cts","default":"./lib/ponyfill.cjs"},"import":{"types":"./lib/ponyfill.d.ts","default":"./lib/ponyfill.js"}},"./constants":{"require":{"types":"./lib/constants.d.cts","default":"./lib/constants.cjs"},"import":{"types":"./lib/constants.d.ts","default":"./lib/constants.js"}},"./lib/*":"./lib/*","./src/*":"./src/*","./package.json":"./package.json"},"directories":{"lib":"./lib","src":"./src"},"publishConfig":{"provenance":true},"scripts":{"typedoc":"esbuild ./.typedoc/typedoc.tsx --format=esm --outfile=./.typedoc/typedoc.mjs && typedoc --options ./.typedoc/typedoc.json","vite":"vite --config vite.config.ts","dev":"vite dev --config vite.config.ts","start":"vite dev --config vite.config.ts","build":"tsup","commitlint":"commitlint --edit","pre-release":"pnpm build && pnpm typedoc","prepare":"[ \"$NODE_ENV\" = \"production\" ] || [ -n \"$CI\" ] && echo \"Skipping Husky Install...\" || husky","semantic-release":"semantic-release"},"release":{"branches":["main"],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/changelog","@semantic-release/npm","@semantic-release/git",["@semantic-release/github",{"assets":["lib/**","src/**"]}]]},"changelog":{"repo":"sharedworker","labels":{"breaking":":boom: Breaking Change","enhancement":":rocket: Enhancement","bug":":bug: Bug Fix","documentation":":memo: Documentation","internal":":house: Internal"},"cacheDir":".changelog"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"type":"git","url":"git+https://github.com/okikio/sharedworker.git"},"keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2023"],"author":{"name":"Okiki Ojo","email":"hey@okikio.dev","url":"https://okikio.dev"},"license":"MIT","bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"homepage":"https://sharedworker.okikio.dev","devDependencies":{"@commitlint/cli":"^19.6.0","@commitlint/config-conventional":"^19.6.0","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/git":"^10.0.1","@semantic-release/github":"^11.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/release-notes-generator":"^14.0.1","@swc/core":"^1.9.2","@types/node":"^22.9.1","@types/web":"^0.0.180","esbuild":"^0.24.0","esbuild-plugin-umd-wrapper":"^3.0.0","husky":"^9.1.7","pnpm":"^9.14.1","semantic-release":"^24.2.0","tsup":"^8.3.5","typedoc":"^0.26.11","typedoc-plugin-extras":"^3.1.0","typedoc-plugin-inline-sources":"^1.1.0","typedoc-plugin-mdn-links":"^3.3.8","typedoc-plugin-missing-exports":"^3.0.2","typescript":"^5.6.3","vite":"^5.4.11"},"_id":"@okikio/sharedworker@1.1.0","gitHead":"15957a09089d150356972a452ce4135124136d60","types":"./lib/index.d.ts","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Xj9TUWll9mhARsKu5DtlQCjRekfJfQ2E291ow6gmXIz+WuF6uJMH8ZmGhdRTx/ndOippHnm1j/vxXNjmR6JuXw==","shasum":"92836519870e8f6a4bd8da1913838cf98b41e756","tarball":"https://registry.npmjs.org/@okikio/sharedworker/-/sharedworker-1.1.0.tgz","fileCount":45,"unpackedSize":193945,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@okikio%2fsharedworker@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfgWQC2IFAx+RZIeIWPbdlB+lTycdcs2+ZrhgFj+EtwAiEAwKfxYWEvG72MO6i7/JV8U3lGkVHb7hdY53Sonb13xow="}]},"_npmUser":{"name":"okikio","email":"okikio.dev@gmail.com"},"maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sharedworker_1.1.0_1732090884845_0.34049439630483436"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-15T17:05:35.440Z","modified":"2024-11-20T08:21:25.450Z","1.0.0":"2021-10-15T17:05:35.758Z","1.0.1":"2021-10-15T17:28:44.998Z","1.0.2":"2021-10-20T22:05:28.158Z","1.0.3":"2021-10-20T22:21:06.941Z","1.0.4":"2022-05-08T04:40:28.778Z","1.0.6":"2023-12-13T22:02:54.161Z","1.0.7":"2024-02-01T19:53:04.293Z","1.1.0":"2024-11-20T08:21:25.040Z"},"bugs":{"url":"https://github.com/okikio/sharedworker/issues"},"author":{"name":"Okiki Ojo","email":"hey@okikio.dev","url":"https://okikio.dev"},"license":"MIT","homepage":"https://sharedworker.okikio.dev","keywords":["sharedworker","typescript","worker","web","polyfill","ponyfill","es2023"],"repository":{"type":"git","url":"git+https://github.com/okikio/sharedworker.git"},"description":"A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.","maintainers":[{"name":"okikio","email":"okikio.dev@gmail.com"}],"readme":"# @okikio/sharedworker\n\n[![Open Bundle](https://bundlejs.com/badge-light.svg)](https://bundlejs.com/?q=@okikio/sharedworker&bundle)\n\n[NPM](https://www.npmjs.com/package/@okikio/sharedworker) <span style=\"padding-inline: 1rem\">|</span> [Github](https://github.com/okikio/sharedworker#readme) <span style=\"padding-inline: 1rem\">|</span> [Docs](https://sharedworker.okikio.dev) <span style=\"padding-inline: 1rem\">|</span> [Licence](./LICENSE)  \n\n\nA small mostly spec. compliant polyfill/ponyfill for `SharedWorkers`, it acts as a drop in replacement for normal `Workers`, and supports a similar API surface that matches normal `Workers`.\n\n> * [Ponyfills](https://github.com/sindresorhus/ponyfill) are seperate modules that are included to replicate the functionality of the original API, but are not required to be used.\n> * [Polyfills](https://developer.mozilla.org/en-US/docs/Glossary/Polyfill) update the original API on the global scope if it isn't supported in that specific environment or it's feature set is lacking compared to modern variations.\n\n> Check out the [blog post](https://blog.okikio.dev/sharedworker), created for it's launch. \n\n## Installation\n```bash\nnpm install @okikio/sharedworker\n```\n\n<details>\n    <summary>Others</summary>\n\n```bash\nyarn add @okikio/sharedworker\n```\n\nor \n\n```bash\npnpm install @okikio/sharedworker\n```\n</details>\n\n## Usage\n\n```ts\nimport { SharedWorkerPolyfill as SharedWorker } from \"@okikio/sharedworker\";\n// or \nimport SharedWorker from \"@okikio/sharedworker\";\n```\n\nYou can also use it directly through a script tag:\n```html\n<script src=\"https://unpkg.com/@okikio/sharedworker\"></script>\n<script type=\"module\">\n    // You can then use it like this\n    const { SharedWorkerPolyfill: SharedWorker } = window.sharedworker; \n</script>\n```\n\nYou can also use it via a CDN, e.g.\n```ts\nimport SharedWorker from \"https://cdn.skypack.dev/@okikio/sharedworker\";\n// or \nimport SharedWorker from \"https://cdn.jsdelivr.net/npm/@okikio/sharedworker\";\n// or\nimport SharedWorker from \"https://esm.sh/@okikio/sharedworker\";\n// or any number of other CDN's\n```\n\nFor vite and other bundlers you can also use the new `SharedWorkerPonyfill` like so ([#9](https://github.com/okikio/sharedworker/issues/9)), to address one-off issues with workers\n\n```ts\nimport { SharedWorkerPonyfill, SharedWorkerSupported } from \"@okikio/sharedworker\";\n\nlet worker: SharedWorkerPonyfill;\n\nif (SharedWorkerSupported) {\n    worker = new SharedWorkerPonyfill(new SharedWorker(new URL(\"./../worker.ts\", import.meta.url), { name: \"position-sync\", type: \"module\" }));\n} else {\n    worker = new SharedWorkerPonyfill(new Worker(new URL(\"./../worker.ts\", import.meta.url), { name: \"position-sync\", type: \"module\" }));\n}\n```\n\n`@okikio/sharedworker` supports the same API surfaces as `SharedWorker` and `Worker`, except it adds some none spec. compliant properties and methods to the `SharedWorkerPolyfill` class, that enables devs to use `SharedWorker`'s on browsers that don't support it.\n\nIn order to support browsers that don't natively support `SharedWorker`'s, the actual worker file needs to be tweaked slightly,\n\n```ts\n/* \n * All variables and values outside the `start(...)` function are shared between all pages, this behavior can cause unexpected bugs if you're not careful\n */\nconst start = (port) => {\n    // All your normal Worker and SharedWorker stuff can be placed here and should just work, with no extra setup required \n    \n    /** \n     * All variables and values inside the `start(...)` function are isolated to each page, and will be allocated seperately per page. \n     */\n    port.onmessage = ({ data }) => {\n        console.log(\"Cool\")\n    };\n};\n\nself.onconnect = e => {\n    let [port] = e.ports;\n    start(port);\n};\n\n// This is the fallback for WebWorkers, in case the browser doesn't support SharedWorkers natively\nif (!(\"SharedWorkerGlobalScope\" in self)) \n    start(self);\n```\n\n> _**Note**: make sure to read the comments in the above code carefully to avoid unexpected bugs._\n\n## Showcase\n\nA couple sites that use `@okikio/sharedworker`:\n* [astro.build/play](https://astro.build/play) - [GitHub](https://github.com/snowpackjs/astro-repl)\n* [bundlejs.com](https://bundlejs.com) - [GitHub](https://github.com/okikio/bundle)\n* Your site here...\n\n## API\n\nThe API of `@okikio/sharedworker` closely match the web `SharedWorker` API, except that all the major methods and properties of `SharedWorker.prototype.port` are available directly on `SharedWorker.prototype` including `addEventListener` and `removeEventListener`. \n\n> _**Note:** the normal functionality of the methods and properties that are normally available on `SharedWorker.prototype` will still be kept intact, in `@okikio/sharedworker`._ \n\nIn addition, the `terminate()` method was added to `@okikio/sharedworker`, this allows both the `close()` method (this is from `SharedWorker.prototype.port`) and the `terminate()` method to manually close workers. \n\nCheck out the [API site](https://sharedworker.okikio.dev) for detailed API documentation.\n\n## Browser Support\n\n| Chrome | Edge | Firefox | Safari | IE  |\n| ------ | ---- | ------- | ------ | --- |\n| 4+     | 12+  | 4+      | 4+     | 10+ |\n\nNative support for `SharedWorker` is not supported at all on Safari and IE, as well as all mobile browsers (excluding Firefox For Android).\n\n> _**Note:** some features of `Workers` appeared at later versions of the spec., so, I suggest looking into the feature support table for [Workers](https://developer.mozilla.org/en-US/docs/Web/API/Worker#browser_compatibility) and [SharedWorkers](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker#browser_compatibility)._ \n\n\n## Contributing\n\nI encourage you to use [pnpm](https://pnpm.io/configuring) to contribute to this repo, but you can also use [yarn](https://classic.yarnpkg.com/lang/en/) or [npm](https://npmjs.com) if you prefer.\n\nInstall all necessary packages\n```bash\nnpm install\n```\n\nThen run tests (WIP)\n```bash\nnpm test\n```\n\nBuild project \n```bash\nnpm run build\n```\n\nPreview API Docs\n```bash\nnpm run typedoc && npm run preview\n```\n\n> _**Note**: this project uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard for commits, so, please format your commits using the rules it sets out._\n\n## Licence\nSee the [LICENSE](./LICENSE) file for license rights and limitations (MIT).\n","readmeFilename":"README.md"}