{"_id":"worker-plugin","_rev":"333242","name":"worker-plugin","description":"Webpack plugin to bundle Workers automagically.","dist-tags":{"latest":"5.0.1"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"time":{"modified":"2021-06-08T08:27:58.000Z","created":"2018-08-23T19:47:31.944Z","5.0.1":"2021-05-27T18:48:53.628Z","5.0.0":"2020-08-11T23:38:25.620Z","4.0.3":"2020-05-01T22:00:39.570Z","4.0.2":"2020-03-10T22:21:03.685Z","4.0.1":"2020-03-10T22:06:18.763Z","4.0.0":"2020-03-10T21:57:49.323Z","3.2.0":"2019-08-27T16:30:42.910Z","3.1.0":"2019-02-19T16:01:26.662Z","3.0.0":"2018-12-14T15:44:29.818Z","2.0.1":"2018-12-04T03:40:32.567Z","1.1.1":"2018-10-12T02:48:42.209Z","1.1.0":"2018-10-09T16:53:28.588Z","1.0.0":"2018-09-18T15:46:31.197Z","0.0.1":"2018-08-23T19:47:31.944Z"},"users":{},"author":{"name":"The Chromium Authors"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"versions":{"5.0.1":{"name":"worker-plugin","version":"5.0.1","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --raw --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^3.0.2","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"2225c95783cb8fbcfc7fe8660ab2b6b14e38d5df","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@5.0.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"bd76d66216a637a893c6a2f6a530f6bbb2bb8016","size":16416,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-5.0.1.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_5.0.1_1622141333451_0.1636579168373593"},"_hasShrinkwrap":false,"publish_time":1622141333628,"_cnpm_publish_time":1622141333628},"5.0.0":{"name":"worker-plugin","version":"5.0.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --raw --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^3.0.2","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"5021ef670558112974db7f55ae096629b627d17f","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@5.0.0","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"113b5fe1f4a5d6a957cecd29915bedafd70bb537","size":16322,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-5.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_5.0.0_1597189105497_0.49395713872160885"},"_hasShrinkwrap":false,"publish_time":1597189105620,"_cnpm_publish_time":1597189105620},"4.0.3":{"name":"worker-plugin","version":"4.0.3","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --raw --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^3.0.2","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"4978c710e9eb6095e6e5b630f739aae014bcadc8","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@4.0.3","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"7c42e600d5931ad154d3d5f187a32446df64db0f","size":15752,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-4.0.3.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_4.0.3_1588370439451_0.44491622092236005"},"_hasShrinkwrap":false,"publish_time":1588370439570,"_cnpm_publish_time":1588370439570},"4.0.2":{"name":"worker-plugin","version":"4.0.2","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --raw --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"dad77b7f22479d751316dc2fa323f997207c2656","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@4.0.2","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"0456dd7af1c0de64591326fd8a08c5d9f2b5b27a","size":15743,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-4.0.2.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_4.0.2_1583878863518_0.11293189647173296"},"_hasShrinkwrap":false,"publish_time":1583878863685,"_cnpm_publish_time":1583878863685},"4.0.1":{"name":"worker-plugin","version":"4.0.1","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --raw --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"ebd4d24dcce9922fb7fb18ffd4001ae29741f7b2","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@4.0.1","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"557062ad0701a669ead5763a657bfe81fc132e38","size":15696,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-4.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_4.0.1_1583877978565_0.0633696862585309"},"_hasShrinkwrap":false,"publish_time":1583877978763,"_cnpm_publish_time":1583877978763},"4.0.0":{"name":"worker-plugin","version":"4.0.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --raw --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"ce74ca30390dc39f7e8bd5b812058fe1aa1813dd","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@4.0.0","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"9369920a8ba4652b9761f300d46553c40a1c20f5","size":15603,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-4.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_4.0.0_1583877469221_0.9065464901823652"},"_hasShrinkwrap":false,"publish_time":1583877469323,"_cnpm_publish_time":1583877469323},"3.2.0":{"name":"worker-plugin","version":"3.2.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"@file-services/memory":"^1.0.3","@file-services/node":"^1.0.3","@file-services/overlay":"^1.0.3","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","memory-fs":"^0.4.1","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"7c353d57605f3dd06f508f56325ea2cca3a591b8","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@3.2.0","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"shasum":"ddae9f161b76fcbaacf8f54ecd037844584e43e7","size":12474,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-3.2.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_3.2.0_1566923442808_0.08016807124522574"},"_hasShrinkwrap":false,"publish_time":1566923442910,"_cnpm_publish_time":1566923442910},"3.1.0":{"name":"worker-plugin","version":"3.1.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/.*?/dist/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"7ea61fb83a02170d0235e4590c4deb617874e70a","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"6311778f3514a87c273510ee3f809cc3fe161e6f","size":12425,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-3.1.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_3.1.0_1550592086509_0.8302407882899967"},"_hasShrinkwrap":false,"publish_time":1550592086662,"_cnpm_publish_time":1550592086662},"3.0.0":{"name":"worker-plugin","version":"3.0.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/.*?/dist/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"023f466893d0c5c760c19007274cb7fead865262","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"70a64e732b3bf575ad5981071bc5f010dadd6f95","size":11990,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-3.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_3.0.0_1544802269710_0.6344072134842027"},"_hasShrinkwrap":false,"publish_time":1544802269818,"_cnpm_publish_time":1544802269818},"2.0.1":{"name":"worker-plugin","version":"2.0.1","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/.*?/dist/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^1.0.0","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","jest":"^23.6.0","microbundle":"^0.8.2","puppeteer":"^1.11.0","serve-handler":"^5.0.7","terser-webpack-plugin":"^1.1.0","webpack":"^4.26.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 4"},"gitHead":"d93dabdea01df89472a8082f80701208d1687d53","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"8cf9e01db678b55871832ffcff77a4097eed063a","size":10962,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-2.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_2.0.1_1543894832352_0.7994679966861424"},"_hasShrinkwrap":false,"publish_time":1543894832567,"_cnpm_publish_time":1543894832567},"1.1.1":{"name":"worker-plugin","version":"1.1.1","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/.*?/dist/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^0.1.19","eslint":"^5.4.0","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^3.1.0","jest":"^23.5.0","microbundle":"^0.6.0","puppeteer":"^1.8.0","serve-handler":"^5.0.5","uglifyjs-webpack-plugin":"^1.3.0","webpack":"^4.17.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 3"},"gitHead":"fdb806c86762af815bda3d619d1f84fec6b92c5e","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"46de4d2ec2444b346f5fdbe4686cd4aff7f90a5b","size":10098,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-1.1.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_1.1.1_1539312521864_0.2364207918404062"},"_hasShrinkwrap":false,"publish_time":1539312522209,"_cnpm_publish_time":1539312522209},"1.1.0":{"name":"worker-plugin","version":"1.1.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepack":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/.*?/dist/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^0.1.19","eslint":"^5.4.0","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^3.1.0","jest":"^23.5.0","microbundle":"^0.6.0","puppeteer":"^1.8.0","serve-handler":"^5.0.5","uglifyjs-webpack-plugin":"^1.3.0","webpack":"^4.17.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 3"},"gitHead":"fd3267c83df4ede349fb41ad7f7c977d7622bc55","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"0c6e7c39c3e54689ec7fcaf24eb325750fa22587","size":9937,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-1.1.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_1.1.0_1539104008350_0.1467422624599759"},"_hasShrinkwrap":false,"publish_time":1539104008588,"_cnpm_publish_time":1539104008588},"1.0.0":{"name":"worker-plugin","version":"1.0.0","description":"Webpack plugin to bundle Workers automagically.","main":"dist/worker-plugin.js","repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/worker-plugin.git"},"scripts":{"build":"microbundle --inline none --format cjs --no-compress src/*.js","prepublishOnly":"npm run build","dev":"jest --verbose --watchAll","test":"npm run build && jest --verbose","release":"npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"eslint-config-standard","env":{"browser":true,"jest":true},"rules":{"indent":["error",2],"semi":["error","always"]}},"jest":{"watchPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/fixtures/.*?/dist/"]},"babel":{"plugins":["transform-es2015-modules-commonjs"]},"keywords":["webpack","plugin","worker","web worker","thread"],"author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"}],"license":"Apache-2.0","devDependencies":{"babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","clean-webpack-plugin":"^0.1.19","eslint":"^5.4.0","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^3.1.0","jest":"^23.5.0","microbundle":"^0.6.0","uglifyjs-webpack-plugin":"^1.3.0","webpack":"^4.17.1"},"dependencies":{"loader-utils":"^1.1.0"},"peerDependencies":{"webpack":">= 3"},"gitHead":"7706c013d59378cda76eb1e9922f07af945fe7f1","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","_id":"worker-plugin@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"c91e1ead25ee58aef25577aac1097b943fa861eb","size":9556,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-1.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_1.0.0_1537285591043_0.832617256518754"},"_hasShrinkwrap":false,"publish_time":1537285591197,"_cnpm_publish_time":1537285591197},"0.0.1":{"name":"worker-plugin","version":"0.0.1","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"worker-plugin@0.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"0f97a7066a468a659d314f58733e1e15db0d80d3","size":297,"noattachment":false,"key":"/worker-plugin/-/worker-plugin-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/worker-plugin/download/worker-plugin-0.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"kinlan","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_0.0.1_1535053651778_0.6938247821481662"},"_hasShrinkwrap":false,"publish_time":1535053651944,"_cnpm_publish_time":1535053651944}},"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/MlrAQjl.jpg\" width=\"1000\" alt=\"worker-plugin\">\n</p>\n<h1 align=\"center\">????‍???? worker-plugin</h1>\n<p align=\"center\">Automatically bundle & compile Web Workers within Webpack.</p>\n\n\n### Features\n\nAutomatically compiles modules loaded in Web Workers:\n\n```js\nconst worker = new Worker('./foo.js', { type: 'module' });\n                          ^^^^^^^^^^\n                          gets bundled using webpack\n```\n\nThe best part? That worker constructor works just fine without bundling turned on, but when bundled the result is **supported in all browsers** that support Web Workers - all the way back to IE 10!\n\nWorkers with fully dynamic URLs, Blob URLs, data URLs or with no `{ type:'module' }` option are left unchanged.\n\n> _**Compatibility Note:** Webpack 5 now includes worker bundling. It uses a slightly different syntax:_<br>\n> _`new Worker(new URL(\"./my_worker.js\", import.meta.url))`_\n\n## Installation\n\n```sh\nnpm install -D worker-plugin\n```\n\nThen drop it into your **webpack.config.js:**\n\n```diff\n+ const WorkerPlugin = require('worker-plugin');\n\nmodule.exports = {\n  <...>\n  plugins: [\n+    new WorkerPlugin()\n  ]\n  <...>\n}\n```\n\n> **Note:** If you're planning on having more than one worker, you'll need to make sure [`output.filename`](https://webpack.js.org/configuration/output/#outputfilename) is set to something dynamic, e.g. `\"[name].bundle.js\"` otherwise the generated filenames will overwrite one another. \n\n## Usage\n\n**worker.js**: _(our worker module)_\n\n```js\n// This is a module worker, so we can use imports (in the browser too!)\nimport { calculatePi } from './some-other-module';\n\naddEventListener('message', event => {\n  postMessage(calculatePi(event.data));\n});\n```\n\n**main.js**: _(our demo, on the main thread)_\n\n```js\nconst piWorker = new Worker('./worker.js', { type: 'module' });\npiWorker.onmessage = event => {\n  console.log('pi: ' + event.data);\n};\npiWorker.postMessage(42);\n```\n\n> **Note:** in order to ensure WorkerPlugin bundles your worker, make sure you're passing a **string** URL/filename to the Worker constructor. WorkerPlugin cannot bundle workers with dynamic/variable filenames, Blob or data URLs - it will leave them unmodified and print a warning during your build.\n\n## Options\n\nIn most cases, no options are necessary to use WorkerPlugin.\n\n### `globalObject` _(string | false)_\n\nWorkerPlugin will print a warning if your Webpack configuration has `output.globalObject` set to `window`, since doing so breaks Hot Module Replacement in web workers.\n\nIf you're not using HMR and want to disable this warning, pass `globalObject:false`:\n\n```js\nnew WorkerPlugin({\n  // disable warnings about \"window\" breaking HMR:\n  globalObject: false\n})\n```\n\nTo configure the value of `output.globalObject` for WorkerPlugin's internal Webpack Compiler, set `globalObject` to any String:\n\n```js\nnew WorkerPlugin({\n  // use \"self\" as the global object when receiving hot updates.\n  globalObject: 'self' // <-- this is the default value\n})\n```\n\n### `plugins` _(array)_\n\nBy default, WorkerPlugin doesn't run any of your configured Webpack plugins when bundling worker code - this avoids running things like `html-webpack-plugin` twice. For cases where it's necessary to apply a plugin to Worker code, use the `plugins` option.\n\nHere you can specify the names of plugins to \"copy\" from your existing Webpack configuration, or provide specific plugins to apply only to worker code:\n\n```js\nmodule.exports = {\n  <...>\n  plugins: [\n    // an example of a plugin already being used:\n    new SomeExistingPlugin({ <...> }),\n\n    new WorkerPlugin({\n      plugins: [\n        // A string here will copy the named plugin from your configuration:\n        'SomeExistingPlugin',\n        \n        // Or you can specify a plugin directly, only applied to Worker code:\n        new SomePluginToApplyOnlyToWorkers({ <...> })\n      ]\n    })\n  ]\n  <...>\n}\n```\n\n### `sharedWorker` _(boolean)_\n\nIf set to `true`, this option enables the bundling of [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker):\n\n```js\nconst shared = new SharedWorker('./my-shared-worker.js', { type: 'module' });\n```\n\n### `worker` _(boolean)_\n\nIf set to `false`, this option disables the bundling of [Worker]. Intended to be used with `{ sharedWorker: true }` to allow bundling of [SharedWorker] only without also bundling [Worker].\n\n### `preserveTypeModule` _(boolean)_\n### `workerType` _(string)_\n\nNormally, WorkerPlugin will transform `new Worker('./a.js', { type: 'module' })` to completely remove the `type` option, outputting something like `new Worker('a.worker.js')`. This allows the plugin to compile Module Workers to Classic Workers, which are supported in all browsers.\n\nTo instead retain `{type:'module'}` in bundled output, set the `preserveTypeModule` option to `true`:\n\n```js\n  plugins: [\n    new WorkerPlugin({\n      preserveTypeModule: true\n    })\n  ]\n```\n\nSimilarly, if you need to have WorkerPlugin output a specific `type` value, use the `workerType` option to specify it:\n\n```js\n  plugins: [\n    new WorkerPlugin({\n      workerType: 'foo'  // note: this isn't a thing!\n    })\n  ]\n```\n\n## Loader\n\nAt its core, worker-plugin provides two features: parsing and handling of `new Worker()`, and standalone bundling of modules for use in a different JavaScript context.\n\nIf all you want is to compile separate bundles for a module, `worker-plugin/loader` provides the bundling functionality of worker-plugin as a standalone Webpack loader. This is useful for generating bundles for use in iframes, Service Workers or Worklets. Applying `worker-plugin/loader` to an import will bundle that module and return its URL:\n\n```js\nimport workerUrl from 'worker-plugin/loader!./my-worker';\n\nconsole.log(workerUrl); // \"/0.worker.js\"\n\nCSS.paintWorklet.addModule(workerUrl);\n```\n\nTwo options are available:\n\n| Option | Type | Description\n|---|---|:--|\n| `name` | _string_ | Controls the name of the generated chunk.<br>The name is used to generate a URL according to  `output.chunkFilename`.\n| `esModule` | _boolean_ | Export the URL from an ES Module (`export default url`).<br>The default is CommonJS (`module.exports = url`).\n\nOptions can be supplied inline:\n\n```js\nimport url from 'worker-plugin/loader?name=foo&esModule!./foo';\n```\n\n... or by setting up a loader alias:\n\n```js\n// webpack.config.js to enable this:\n// import url from 'worker!./foo';\n{\n  resolveLoader: {\n    alias: {\n      worker: 'worker-plugin/loader?esModule'\n    }\n  }\n}\n```\n\n\n## License\n\nApache-2.0\n","_attachments":{},"homepage":"https://github.com/GoogleChromeLabs/worker-plugin#readme","bugs":{"url":"https://github.com/GoogleChromeLabs/worker-plugin/issues"},"license":"Apache-2.0"}