{"_id":"comlink","_rev":"4423627","name":"comlink","description":"Comlink makes WebWorkers enjoyable","dist-tags":{"alpha":"4.0.0-alpha.10","latest":"4.4.2","next":"4.0.0-alpha.10"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"time":{"modified":"2026-04-08T13:48:25.000Z","created":"2015-05-25T18:06:53.937Z","4.4.2":"2024-11-07T12:34:03.224Z","4.4.1":"2023-02-02T21:54:55.518Z","4.4.0":"2023-01-30T22:43:49.709Z","4.3.1":"2021-05-12T11:29:21.283Z","4.3.0":"2020-04-28T11:28:50.246Z","4.2.1":"2020-04-27T16:21:28.720Z","4.2.0":"2019-12-06T11:41:56.577Z","4.1.0":"2019-11-01T15:13:06.902Z","4.0.5":"2019-10-11T08:49:51.126Z","4.0.4":"2019-10-08T10:04:30.462Z","4.0.3":"2019-10-01T08:27:01.958Z","4.0.2":"2019-07-22T09:36:25.842Z","4.0.1":"2019-05-05T15:34:00.478Z","4.0.0":"2019-05-05T15:07:47.278Z","4.0.0-alpha.10":"2019-03-22T14:43:45.034Z","4.0.0-alpha.9":"2019-03-22T13:37:38.009Z","4.0.0-alpha.8":"2019-03-20T17:01:30.683Z","4.0.0-alpha.7":"2019-03-13T22:11:10.219Z","4.0.0-alpha.6":"2019-03-12T00:06:37.694Z","4.0.0-alpha.4":"2019-03-11T14:03:34.237Z","4.0.0-alpha.3":"2019-03-11T12:00:35.204Z","4.0.0-alpha.2":"2019-03-10T23:57:06.228Z","4.0.0-alpha.1":"2019-03-10T23:47:29.759Z","4.0.0-alpha.0":"2019-03-10T23:45:20.387Z","3.2.0":"2019-02-22T12:53:47.218Z","3.1.1":"2018-12-07T12:43:29.705Z","3.1.0":"2018-12-06T12:51:45.812Z","3.0.3":"2018-06-18T11:27:15.861Z","3.0.2":"2018-06-15T23:50:48.038Z","2.3.6":"2018-05-06T22:40:31.440Z","0.1.5":"2018-04-19T15:50:16.353Z","0.1.4":"2015-06-06T17:08:36.092Z","0.1.3":"2015-06-06T16:34:53.923Z","0.1.2":"2015-06-04T13:44:42.361Z","0.1.1":"2015-06-03T22:20:45.872Z","0.1.0":"2015-06-03T22:16:10.338Z","0.0.1":"2015-05-25T18:06:53.937Z"},"users":{},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"versions":{"4.4.2":{"name":"comlink","version":"4.4.2","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","sideEffects":false,"scripts":{"build":"rollup -c","test:unit":"karma start","test:node":"mocha ./tests/node/main.mjs","test:types":"tsc -p ./tests/tsconfig.json","test:types:watch":"npm run test:types -- --watch","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit && npm run test:node","fmt":"prettier --write './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}'","fmt_test":"test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"@rollup/plugin-terser":"0.4.0","@rollup/plugin-typescript":"11.0.0","chai":"^4.3.7","conditional-type-checks":"1.0.6","husky":"8.0.3","karma":"6.4.1","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.1","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"2.1.2","karma-mocha":"2.0.1","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"10.2.0","prettier":"2.8.3","rimraf":"4.1.2","rollup":"3.10.1","tslib":"2.4.1","typescript":"4.9.4"},"_id":"comlink@4.4.2","gitHead":"fd4b52666b1ec62784f8b45cb1108c7e40bc481d","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"shasum":"cbbcd82742fbebc06489c28a183eedc5c60a2bca","size":53654,"noattachment":false,"key":"/comlink/-/comlink-4.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.4.2.tgz"},"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.4.2_1730982843022_0.3548586472103885"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-07T12:34:03.224Z","publish_time":1730982843224,"_source_registry_name":"default","_cnpm_publish_time":1730982843224},"4.4.1":{"name":"comlink","version":"4.4.1","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","sideEffects":false,"scripts":{"build":"rollup -c","test:unit":"karma start","test:node":"mocha ./tests/node/main.mjs","test:types":"tsc -p ./tests/tsconfig.json","test:types:watch":"npm run test:types -- --watch","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit && npm run test:node","fmt":"prettier --write './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}'","fmt_test":"test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"@rollup/plugin-terser":"0.4.0","@rollup/plugin-typescript":"11.0.0","chai":"^4.3.7","conditional-type-checks":"1.0.6","husky":"8.0.3","karma":"6.4.1","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.1","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"2.1.2","karma-mocha":"2.0.1","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"10.2.0","prettier":"2.8.3","rimraf":"4.1.2","rollup":"3.10.1","tslib":"2.4.1","typescript":"4.9.4"},"gitHead":"dffe9050f63b1b39f30213adeb1dd4b9ed7d2594","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.4.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"shasum":"e568b8e86410b809e8600eb2cf40c189371ef981","size":52589,"noattachment":false,"key":"/comlink/-/comlink-4.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.4.1.tgz"},"_npmUser":{"name":"benjamind","email":"ben@delarre.net"},"directories":{},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.4.1_1675374895240_0.3893469934019156"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-02T21:54:55.518Z","publish_time":1675374895518,"_cnpm_publish_time":1675374895518},"4.4.0":{"name":"comlink","version":"4.4.0","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","sideEffects":false,"scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -p ./tests/tsconfig.json","test:types:watch":"npm run test:types -- --watch","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}'","fmt_test":"test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"@rollup/plugin-terser":"0.4.0","@rollup/plugin-typescript":"11.0.0","chai":"4.3.7","conditional-type-checks":"1.0.6","husky":"8.0.3","karma":"6.4.1","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.1","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"2.1.2","karma-mocha":"2.0.1","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"10.2.0","prettier":"2.8.3","rimraf":"4.1.2","rollup":"3.10.1","tslib":"2.4.1","typescript":"4.9.4"},"gitHead":"fd7330f7721182c068e988cea27370e72ca26d16","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.4.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"shasum":"8a9cd441faf4023721bcf178e7d7075246ec172a","size":52211,"noattachment":false,"key":"/comlink/-/comlink-4.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.4.0.tgz"},"_npmUser":{"name":"benjamind","email":"ben@delarre.net"},"directories":{},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.4.0_1675118629474_0.0445581308674321"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-30T22:43:49.709Z","publish_time":1675118629709,"_cnpm_publish_time":1675118629709},"4.3.1":{"name":"comlink","version":"4.3.1","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","sideEffects":false,"scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -p ./tests/tsconfig.json","test:types:watch":"npm run test:types -- --watch","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}'","fmt_test":"test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.5","husky":"4.2.5","karma":"^5.0.9","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.3.0","karma-mocha":"^2.0.1","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"^7.2.0","prettier":"2.0.5","rimraf":"3.0.2","rollup":"^2.11.2","rollup-plugin-terser":"^6.1.0","rollup-plugin-typescript2":"^0.27.1","typescript":"^3.9.3"},"dependencies":{},"gitHead":"fd9a89fbd27864efb90dde9f143562ee01fd45b6","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.3.1","_nodeVersion":"14.9.0","_npmVersion":"6.14.11","dist":{"shasum":"0c6b9d69bcd293715c907c33fe8fc45aecad13c5","size":53494,"noattachment":false,"key":"/comlink/-/comlink-4.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.3.1.tgz"},"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.3.1_1620818961099_0.30120061590742564"},"_hasShrinkwrap":false,"publish_time":1620818961283,"_cnpm_publish_time":1620818961283,"_cnpmcore_publish_time":"2021-12-15T18:11:52.354Z"},"4.3.0":{"name":"comlink","version":"4.3.0","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -p ./tests/tsconfig.json","test:types:watch":"npm run test:types -- --watch","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}'","fmt_test":"test $(prettier -l './*.{mjs,js,ts,md,json,html}' './{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html}' | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.5","husky":"^4.2.5","karma":"^5.0.2","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"^1.3.0","karma-mocha":"^2.0.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"^7.1.2","prettier":"^2.0.5","rimraf":"^3.0.2","rollup":"^2.7.3","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.27.0","typescript":"3.8.3"},"dependencies":{},"gitHead":"db20aaade8b06aa3c3730f7004b558ae9f3f03bb","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.3.0","_nodeVersion":"12.8.0","_npmVersion":"6.12.1","dist":{"shasum":"80b3366baccd87897dab3638ebfcfae28b2f87c7","size":52213,"noattachment":false,"key":"/comlink/-/comlink-4.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.3.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.3.0_1588073330096_0.7100430913617908"},"_hasShrinkwrap":false,"publish_time":1588073330246,"_cnpm_publish_time":1588073330246,"_cnpmcore_publish_time":"2021-12-15T18:11:52.809Z"},"4.2.1":{"name":"comlink","version":"4.2.1","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/{,**/}*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/{**/,}*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.5","husky":"3.1.0","karma":"4.4.1","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.2.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.2","prettier":"1.19.1","rimraf":"3.0.0","rollup":"1.27.8","rollup-plugin-terser":"5.1.2","rollup-plugin-typescript2":"0.25.3","typescript":"3.7.3"},"dependencies":{},"gitHead":"044cc9c5b72b410748fa7817305994ad702fbe10","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.2.1","_nodeVersion":"12.8.0","_npmVersion":"6.12.1","dist":{"shasum":"6172efe7e91780cd1f006f344ffc7e78b017ed38","size":44485,"noattachment":false,"key":"/comlink/-/comlink-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.2.1.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.2.1_1588004488624_0.7993408620772147"},"_hasShrinkwrap":false,"publish_time":1588004488720,"_cnpm_publish_time":1588004488720,"_cnpmcore_publish_time":"2021-12-15T18:11:53.116Z"},"4.2.0":{"name":"comlink","version":"4.2.0","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.5","husky":"3.1.0","karma":"4.4.1","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.2.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.2","prettier":"1.19.1","rimraf":"3.0.0","rollup":"1.27.8","rollup-plugin-terser":"5.1.2","rollup-plugin-typescript2":"0.25.3","typescript":"3.7.3"},"dependencies":{},"gitHead":"856f5b13f664b61c662a3484f8937cdd7e077223","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.2.0","_nodeVersion":"12.4.0","_npmVersion":"6.13.1","dist":{"shasum":"be9e968a19d797a44a042cf1eac03775d2ed39fe","size":44195,"noattachment":false,"key":"/comlink/-/comlink-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.2.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.2.0_1575632516387_0.25300747167340076"},"_hasShrinkwrap":false,"publish_time":1575632516577,"_cnpm_publish_time":1575632516577,"_cnpmcore_publish_time":"2021-12-15T18:11:53.426Z"},"4.1.0":{"name":"comlink","version":"4.1.0","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.1","husky":"3.0.9","karma":"4.4.1","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.2.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.2","prettier":"1.18.2","rimraf":"3.0.0","rollup":"1.26.2","rollup-plugin-terser":"5.1.2","rollup-plugin-typescript2":"0.24.3","typescript":"3.6.4"},"dependencies":{},"gitHead":"d1389fce60587d44488c7858a90d07c5b43d5245","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.1.0","_nodeVersion":"12.4.0","_npmVersion":"6.12.0","dist":{"shasum":"900b7532cb8b40da6a4d3a087c8337275e310e5b","size":43765,"noattachment":false,"key":"/comlink/-/comlink-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.1.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.1.0_1572621186745_0.5524679446150684"},"_hasShrinkwrap":false,"publish_time":1572621186902,"_cnpm_publish_time":1572621186902,"_cnpmcore_publish_time":"2021-12-15T18:11:53.703Z"},"4.0.5":{"name":"comlink","version":"4.0.5","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.1","husky":"3.0.7","karma":"4.3.0","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.2.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.1","prettier":"1.18.2","rimraf":"3.0.0","rollup":"1.22.0","rollup-plugin-terser":"5.1.2","rollup-plugin-typescript2":"0.24.3","typescript":"3.6.3"},"dependencies":{},"gitHead":"2ed4c1502ca7590402933c3af6faa51b88a8eaa7","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.5","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"9cbbdf69329d584ab952cc66341441081d9e542f","size":42830,"noattachment":false,"key":"/comlink/-/comlink-4.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.5.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.5_1570783791002_0.33965753263272114"},"_hasShrinkwrap":false,"publish_time":1570783791126,"_cnpm_publish_time":1570783791126,"_cnpmcore_publish_time":"2021-12-15T18:11:54.126Z"},"4.0.4":{"name":"comlink","version":"4.0.4","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.1","husky":"3.0.7","karma":"4.3.0","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.2.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.1","prettier":"1.18.2","rimraf":"3.0.0","rollup":"1.22.0","rollup-plugin-terser":"5.1.2","rollup-plugin-typescript2":"0.24.3","typescript":"3.6.3"},"dependencies":{},"gitHead":"ebbd6e824120ffbc399b9e68b3f2817ac8f7a299","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.4","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"9666560d7b59d597b4e2e822fc96c3923bd37ce3","size":39800,"noattachment":false,"key":"/comlink/-/comlink-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.4.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.4_1570529070289_0.956058238180749"},"_hasShrinkwrap":false,"publish_time":1570529070462,"_cnpm_publish_time":1570529070462,"_cnpmcore_publish_time":"2021-12-15T18:11:54.420Z"},"4.0.3":{"name":"comlink","version":"4.0.3","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.1","husky":"3.0.7","karma":"4.3.0","karma-chai":"0.1.0","karma-chrome-launcher":"3.1.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.2.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.1","prettier":"1.18.2","rimraf":"3.0.0","rollup":"1.22.0","rollup-plugin-terser":"5.1.2","rollup-plugin-typescript2":"0.24.3","typescript":"3.6.3"},"dependencies":{},"gitHead":"8670c6111c1bf27a29e3deb994b6a1d4af56e205","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.3","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"42c7494277a2c1405c52f667f4cdf15da4149dd3","size":39720,"noattachment":false,"key":"/comlink/-/comlink-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.3.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.3_1569918421744_0.6784886674388755"},"_hasShrinkwrap":false,"publish_time":1569918421958,"_cnpm_publish_time":1569918421958,"_cnpmcore_publish_time":"2021-12-15T18:11:54.685Z"},"4.0.2":{"name":"comlink","version":"4.0.2","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"1.0.1","husky":"3.0.1","karma":"4.2.0","karma-chai":"0.1.0","karma-chrome-launcher":"3.0.0","karma-detect-browsers":"2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.2.0","prettier":"1.18.2","rimraf":"2.6.3","rollup":"1.17.0","rollup-plugin-terser":"5.1.1","rollup-plugin-typescript2":"0.22.0","typescript":"3.5.3"},"dependencies":{},"gitHead":"8ba0251f8509be94e5741c52e9375652c0771740","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.2","_nodeVersion":"12.2.0","_npmVersion":"6.10.1","dist":{"shasum":"32016fe610dcb7f2a73aaaaa269ef1b29fec8db6","size":37375,"noattachment":false,"key":"/comlink/-/comlink-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.2.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.2_1563788185661_0.21372778958238947"},"_hasShrinkwrap":false,"publish_time":1563788185842,"_cnpm_publish_time":1563788185842,"_cnpmcore_publish_time":"2021-12-15T18:11:55.384Z"},"4.0.1":{"name":"comlink","version":"4.0.1","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"^4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"afcfccdc150b4fa676186f37672200e620a37a69","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.1","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"b20d0fca012ef80cf7eae89b76e4b43b2a1a0e6d","size":40733,"noattachment":false,"key":"/comlink/-/comlink-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.1.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.1_1557070440322_0.660121191236418"},"_hasShrinkwrap":false,"publish_time":1557070440478,"_cnpm_publish_time":1557070440478,"_cnpmcore_publish_time":"2021-12-15T18:11:55.637Z"},"4.0.0":{"name":"comlink","version":"4.0.0","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"^4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"86cd8bf7f93d7e7a150804b3aec58a0761a9430f","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"81c1e15a07f3d9ac83dfd5d11f2adec7bf4100b5","size":40730,"noattachment":false,"key":"/comlink/-/comlink-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0_1557068867179_0.18300806489057875"},"_hasShrinkwrap":false,"publish_time":1557068867278,"_cnpm_publish_time":1557068867278,"_cnpmcore_publish_time":"2021-12-15T18:11:55.979Z"},"4.0.0-alpha.10":{"name":"comlink","version":"4.0.0-alpha.10","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"^4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"readmeFilename":"README.md","gitHead":"1a6e4141891295290bc5d78115c82cba53270107","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.10","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"shasum":"449898479949450856cc4a58499a6bdcda8ac1f9","size":39214,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.10.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.10_1553265824838_0.9992640680663416"},"_hasShrinkwrap":false,"publish_time":1553265825034,"_cnpm_publish_time":1553265825034,"_cnpmcore_publish_time":"2021-12-15T18:11:56.658Z"},"4.0.0-alpha.9":{"name":"comlink","version":"4.0.0-alpha.9","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{mjs,js,ts,md,json,html} ./{src,docs,tests}/**/*.{mjs,js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"^4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"62bb4b6230662d810d66487993a5a3dbebd92763","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.9","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"shasum":"2caa7e292eee9a5eb1ba96fef6fede900f8d4251","size":39211,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.9.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.9_1553261857828_0.6185449583457032"},"_hasShrinkwrap":false,"publish_time":1553261858009,"_cnpm_publish_time":1553261858009,"_cnpmcore_publish_time":"2021-12-15T18:11:56.935Z"},"4.0.0-alpha.8":{"name":"comlink","version":"4.0.0-alpha.8","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"^4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"readmeFilename":"README.md","gitHead":"36fbc091dd86446349f6dc9e81a5f66e032a2d72","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.8","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"6586aa6ca920f0a17d65cf15a253a9afecf10590","size":33428,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.8.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.8_1553101290509_0.2373404418410543"},"_hasShrinkwrap":false,"publish_time":1553101290683,"_cnpm_publish_time":1553101290683,"_cnpmcore_publish_time":"2021-12-15T18:11:57.157Z"},"4.0.0-alpha.7":{"name":"comlink","version":"4.0.0-alpha.7","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.mjs","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"^4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"3197328ed59423610b5fdcb532a830addff3e405","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.7","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"50025ead840dc006b436bc0d31f05fe5f675daa0","size":32722,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.7.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.7_1552515069930_0.8498215570325485"},"_hasShrinkwrap":false,"publish_time":1552515070219,"_cnpm_publish_time":1552515070219,"_cnpmcore_publish_time":"2021-12-15T18:11:57.358Z"},"4.0.0-alpha.6":{"name":"comlink","version":"4.0.0-alpha.6","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.js","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"3.1.4","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"3df14df29faa6f6b40f8086b67e1921c5369622a","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.6","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"db7e214213c94bcb37439f749c637c0c2672cd00","size":37296,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.6.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.6_1552349197573_0.792798330927863"},"_hasShrinkwrap":false,"publish_time":1552349197694,"_cnpm_publish_time":1552349197694,"_cnpmcore_publish_time":"2021-12-15T18:11:57.643Z"},"4.0.0-alpha.4":{"name":"comlink","version":"4.0.0-alpha.4","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.js","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json,html} ./{src,docs,tests}/**/*.{js,ts,md,json,html} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"3.1.4","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"42cb5f0ffd402ecdfc3b8026ec82efe200fc043f","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.4","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"d5af79f6cbe0d1197d73d8b56fe87ed33ef0e393","size":33533,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.4.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.4_1552313013971_0.7650608558347982"},"_hasShrinkwrap":false,"publish_time":1552313014237,"_cnpm_publish_time":1552313014237,"_cnpmcore_publish_time":"2021-12-15T18:11:57.880Z"},"4.0.0-alpha.3":{"name":"comlink","version":"4.0.0-alpha.3","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.js","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json} | wc -l) -eq 0","watchtest":"CHROME_ONLY=1 karma start --no-single-run"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"3.1.4","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"b305a95495cf96ec893b292644ecf6a85f52a9cc","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.3","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"3bb59bf5e2c07364612483f84293f23973d34132","size":36359,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.3.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.3_1552305635037_0.22349592198768686"},"_hasShrinkwrap":false,"publish_time":1552305635204,"_cnpm_publish_time":1552305635204,"_cnpmcore_publish_time":"2021-12-15T18:11:58.090Z"},"4.0.0-alpha.2":{"name":"comlink","version":"4.0.0-alpha.2","description":"Comlink makes WebWorkers enjoyable","main":"dist/umd/comlink.js","module":"dist/esm/comlink.js","types":"dist/umd/comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json} | wc -l) -eq 0","watchtest":"karma start --no-single-run --browsers ChromeHeadless"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"3.1.4","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"readmeFilename":"README.md","gitHead":"d773ffb7cbfcde2990e47033bdfef0cabb327733","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.2","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"73e32ca0809ee939dc9a309db0197531b8fea533","size":36360,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.2.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.2_1552262226065_0.6608809532597848"},"_hasShrinkwrap":false,"publish_time":1552262226228,"_cnpm_publish_time":1552262226228,"_cnpmcore_publish_time":"2021-12-15T18:11:58.751Z"},"4.0.0-alpha.1":{"name":"comlink","version":"4.0.0-alpha.1","description":"Comlink makes WebWorkers enjoyable","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json} | wc -l) -eq 0","watchtest":"karma start --no-single-run --browsers ChromeHeadless"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"3.1.4","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"readmeFilename":"README.md","gitHead":"4d3cf7254363b2f2eea08bc03e74724bb318a82e","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.1","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"303eed6e74feff8414a75eb7ca3d72904f0042bd","size":20403,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.1.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.1_1552261649582_0.14912312971643993"},"_hasShrinkwrap":false,"publish_time":1552261649759,"_cnpm_publish_time":1552261649759,"_cnpmcore_publish_time":"2021-12-15T18:11:59.060Z"},"4.0.0-alpha.0":{"name":"comlink","version":"4.0.0-alpha.0","description":"Comlink makes WebWorkers enjoyable","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"build":"rollup -c","test:unit":"karma start","test:types":"tsc -t esnext -m esnext --lib esnext,dom --moduleResolution node --noEmit tests/type-checks.ts","test":"npm run fmt_test && npm run build && npm run test:types && npm run test:unit","fmt":"prettier --write ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json}","fmt_test":"test $(prettier -l ./*.{js,ts,md,json} ./{src,docs,tests}/**/*.{js,ts,md,json} | wc -l) -eq 0","watchtest":"karma start --no-single-run --browsers ChromeHeadless"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","conditional-type-checks":"^1.0.0","husky":"^1.3.1","karma":"3.1.4","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-detect-browsers":"^2.3.3","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"^1.6.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.19.3","typescript":"^3.3.3333"},"dependencies":{},"gitHead":"33f9dec54b54f6df42bc38d3e0b0fae18ae4294c","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@4.0.0-alpha.0","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"344c90fc6069ddea2fd6684cb96035ce8b146f4c","size":20402,"noattachment":false,"key":"/comlink/-/comlink-4.0.0-alpha.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-4.0.0-alpha.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_4.0.0-alpha.0_1552261520252_0.08821485926607342"},"_hasShrinkwrap":false,"publish_time":1552261520387,"_cnpm_publish_time":1552261520387,"_cnpmcore_publish_time":"2021-12-15T18:11:59.309Z"},"3.2.0":{"name":"comlink","version":"3.2.0","description":"Comlink’s goal is to make [WebWorkers][webworker] enjoyable. Comlink removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"test":"npm run linter && npm run dtslint && npm run unittest && npm run build","unittest":"karma start","linter":"prettier --write ./*.js ./docs/**/*.js ./tests/**/*.js ./**/*.ts ./**/*.md ./**/*.json","dtslint":"tslint --project tests/tsconfig.json --config tslint.json","watchtest":"karma start --no-single-run --browsers ChromeHeadless","watchtestharmony":"karma start --no-single-run --browsers ChromeCanaryHeadlessHarmony","version":"sed -i.bak -e 's!comlinkjs@[0-9.]*!comlinkjs@'${npm_package_version}'!' README.md && git add README.md","mypublish":"npm run build && npm run test && cp README.md package.json dist && npm publish dist","build":"rm -rf dist && mkdir dist && npm run compile","compile":"tsc --outDir dist && tsc -m umd --outDir dist/umd && node ./mangle_umd.js"},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"contributors":[{"name":"Surma","email":"surma@google.com"},{"name":"Ian Kilpatrick","email":"ikilpatrick@google.com"}],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"4.0.0","dtslint":"0.4.9","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.0.1","prettier":"1.16.4","tslint":"5.12.1","typescript":"3.3.3333"},"dependencies":{},"bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@3.2.0","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"21d2b6266611c706d03af8e8b4806a2e8efad3a5","size":9579,"noattachment":false,"key":"/comlink/-/comlink-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-3.2.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_3.2.0_1550840026995_0.410526793489969"},"_hasShrinkwrap":false,"publish_time":1550840027218,"_cnpm_publish_time":1550840027218,"_cnpmcore_publish_time":"2021-12-15T18:11:59.510Z"},"3.1.1":{"name":"comlink","version":"3.1.1","description":"Comlink’s goal is to make [WebWorkers][webworker] enjoyable. Comlink removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"test":"npm run linter && npm run unittest && npm run build","unittest":"karma start","linter":"prettier --write ./*.js ./docs/**/*.js ./tests/**/*.js ./**/*.ts ./**/*.md ./**/*.json","watchtest":"karma start --no-single-run --browsers ChromeHeadless","watchtestharmony":"karma start --no-single-run --browsers ChromeCanaryHeadlessHarmony","version":"sed -i.bak -e 's!comlinkjs@[0-9.]*!comlinkjs@'${npm_package_version}'!' README.md && git add README.md","mypublish":"npm run build && npm run test && cp README.md package.json dist && npm publish dist","build":"rm -rf dist && mkdir dist && npm run compile","compile":"tsc --outDir dist && tsc -m umd --outDir dist/umd && node ./mangle_umd.js"},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"contributors":[{"name":"Surma","email":"surma@google.com"},{"name":"Ian Kilpatrick","email":"ikilpatrick@google.com"}],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"3.1.3","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"1.0.0","mocha":"5.2.0","prettier":"1.15.3","typescript":"3.2.2"},"dependencies":{},"bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@3.1.1","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"4b39dbec23077a7f8639096b09f29c2b0a8e3a3d","size":9096,"noattachment":false,"key":"/comlink/-/comlink-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-3.1.1.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_3.1.1_1544186609562_0.4476401447904721"},"_hasShrinkwrap":false,"publish_time":1544186609705,"_cnpm_publish_time":1544186609705,"_cnpmcore_publish_time":"2021-12-15T18:11:59.721Z"},"3.1.0":{"name":"comlink","version":"3.1.0","description":"Comlink’s goal is to make [WebWorkers][webworker] enjoyable. Comlink removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"test":"npm run linter && npm run unittest && npm run build","unittest":"karma start","linter":"prettier --write ./*.js ./docs/**/*.js ./tests/**/*.js ./**/*.ts ./**/*.md ./**/*.json","watchtest":"karma start --no-single-run --browsers ChromeHeadless","watchtestharmony":"karma start --no-single-run --browsers ChromeCanaryHeadlessHarmony","version":"sed -i.bak -e 's!comlinkjs@[0-9.]*!comlinkjs@'${npm_package_version}'!' README.md && git add README.md","mypublish":"npm run build && npm run test && cp README.md package.json dist && npm publish dist","build":"rm -rf dist && mkdir dist && npm run compile","compile":"tsc --outDir dist && tsc -m umd --outDir dist/umd && node ./mangle_umd.js"},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"contributors":[{"name":"Surma","email":"surma@google.com"},{"name":"Ian Kilpatrick","email":"ikilpatrick@google.com"}],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"3.1.3","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"1.0.0","mocha":"5.2.0","prettier":"1.15.3","typescript":"^3.2.1"},"dependencies":{},"bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"8cbc23d481bd8532b6ccb3882f22ba6ab7a9b0bb","size":9077,"noattachment":false,"key":"/comlink/-/comlink-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-3.1.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_3.1.0_1544100705573_0.6012589150753174"},"_hasShrinkwrap":false,"publish_time":1544100705812,"_cnpm_publish_time":1544100705812,"_cnpmcore_publish_time":"2021-12-15T18:11:59.951Z"},"3.0.3":{"name":"comlink","version":"3.0.3","description":"Comlink’s goal is to make [WebWorkers][webworker] enjoyable. Comlink removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"test":"npm run fmt_test && npm run unittest && npm run build","unittest":"karma start","fmt_test":"test $(prettier -l ./{.,docs,test}/*.{js,ts,json,md} | wc -l) -eq 0","fmt":"prettier --write ./{.,docs,test}/*.{js,ts,json,md}","watchtest":"karma start --no-single-run --browsers ChromeHeadless","watchtestharmony":"karma start --no-single-run --browsers ChromeCanaryHeadlessHarmony","version":"sed -i.bak -e 's!comlinkjs@[0-9.]*!comlinkjs@'${npm_package_version}'!' README.md && git add README.md","mypublish":"npm run build && npm run test && cp README.md package.json dist && npm publish dist && sed -i.bak -e 's!comlinkjs\"!comlink\"!' dist/package.json && npm publish dist","build":"rm -rf dist && mkdir dist && npm run compile","compile":"tsc --outDir dist && tsc -m umd --outDir dist/umd && node ./mangle_umd.js"},"husky":{"hooks":{"pre-commit":"npm test"}},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"contributors":[{"name":"Surma","email":"surma@google.com"},{"name":"Ian Kilpatrick","email":"ikilpatrick@google.com"}],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.1.2","husky":"^0.14.3","karma":"2.0.2","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"0.0.6","mocha":"5.2.0","prettier":"1.13.5","typescript":"2.9.2"},"dependencies":{},"bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@3.0.3","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"ad36379a9e970b27a826739bcbed53bb60eb8bd3","size":9007,"noattachment":false,"key":"/comlink/-/comlink-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-3.0.3.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_3.0.3_1529321235804_0.14445121171966613"},"_hasShrinkwrap":false,"publish_time":1529321235861,"_cnpm_publish_time":1529321235861,"_cnpmcore_publish_time":"2021-12-15T18:12:00.138Z"},"3.0.2":{"name":"comlink","version":"3.0.2","description":"Comlink’s goal is to make [WebWorkers][webworker] enjoyable. Comlink removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.","main":"comlink.js","module":"comlink.js","types":"comlink.d.ts","scripts":{"test":"npm run linter && npm run unittest && npm run build","unittest":"karma start","linter":"prettier --write ./*.js ./docs/**/*.js ./tests/**/*.js ./**/*.ts ./**/*.md ./**/*.json","watchtest":"karma start --no-single-run --browsers ChromeHeadless","watchtestharmony":"karma start --no-single-run --browsers ChromeCanaryHeadlessHarmony","version":"sed -i.bak -e 's!comlinkjs@[0-9.]*!comlinkjs@'${npm_package_version}'!' README.md && git add README.md","mypublish":"npm run build && npm run test && cp README.md package.json dist && npm publish dist","build":"rm -rf dist && mkdir dist && npm run compile","compile":"tsc --outDir dist && tsc -m umd --outDir dist/umd && node ./mangle_umd.js"},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"contributors":[{"name":"Surma","email":"surma@google.com"},{"name":"Ian Kilpatrick","email":"ikilpatrick@google.com"}],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"chai":"4.1.2","karma":"2.0.2","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"0.0.6","mocha":"5.2.0","prettier":"1.13.5","typescript":"2.9.2"},"dependencies":{},"bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@3.0.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"e2c6a2241ef50f4b4929f92d5830ac6ff53a2bd3","size":8836,"noattachment":false,"key":"/comlink/-/comlink-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-3.0.2.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_3.0.2_1529106647961_0.7670349418806015"},"_hasShrinkwrap":false,"publish_time":1529106648038,"_cnpm_publish_time":1529106648038,"_cnpmcore_publish_time":"2021-12-15T18:12:00.738Z"},"2.3.6":{"name":"comlink","version":"2.3.6","description":"Comlink’s goal is to make [WebWorkers][WebWorker] enjoyable. Comlink removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.","main":"comlink.umd.js","module":"comlink.es6.js","types":"comlink.d.ts","scripts":{"test":"npm run linter && npm run unittest && npm run build","unittest":"karma start","linter":"prettier --write *.ts tests/*.js tests/fixtures/*.js","watchtest":"karma start --no-single-run --browsers ChromeHeadless","watchtestharmony":"karma start --no-single-run --browsers ChromeCanaryHeadlessHarmony","version":"sed -i.bak -e 's!comlinkjs@[0-9.]+!comlinkjs@'${npm_package_version}'!' README.md && git add README.md","mypublish":"npm run build && npm run test && cp README.md package.json dist && npm publish dist && sed -i.bak -e 's!\"comlinkjs\"!\"comlink\"!' dist/package.json && npm publish dist","build":"rm -rf dist && mkdir dist && npm run compile && npm run mangle_global && npm run minify","compile":"tsc --outDir dist -m none && mv dist/comlink.{,global.}js && mv dist/messagechanneladapter.{,global.}js && tsc --outDir dist -m es2015 && mv dist/comlink.{,es6.}js && mv dist/messagechanneladapter.{,es6.}js && tsc -d --outDir dist -m umd && mv dist/comlink.{,umd.}js && mv dist/messagechanneladapter.{,umd.}js","mangle_global":"sed -i.bak -e 's!exports.Comlink!self.Comlink!' dist/comlink.global.js && sed -i.bak 's!^.*\"__esModule\".*$!!' dist/comlink.global.js && sed -i.bak -e 's!exports.MessageChannelAdapter!self.MessageChannelAdapter!' dist/messagechanneladapter.global.js && sed -i.bak -e 's!^.*\"__esModule\".*$!!' dist/messagechanneladapter.global.js","minify":"babel-minify --mangle -o dist/comlink.global.{min.,}js && babel-minify --mangle -o dist/comlink.es6.{min.,}js && babel-minify --mangle -o dist/comlink.umd.{min.,}js && babel-minify --mangle -o dist/messagechanneladapter.global.{min.,}js && babel-minify --mangle -o dist/messagechanneladapter.es6.{min.,}js && babel-minify --mangle -o dist/messagechanneladapter.umd.{min.,}js"},"keywords":[],"author":{"name":"Surma","email":"surma@google.com"},"contributors":[{"name":"Surma","email":"surma@google.com"},{"name":"Ian Kilpatrick","email":"ikilpatrick@google.com"}],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/comlink.git"},"license":"Apache-2.0","devDependencies":{"babel-minify":"0.4.0","chai":"4.1.2","karma":"2.0.2","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-typescript":"3.0.12","mocha":"5.1.1","typescript":"2.8.3","prettier":"1.12.1"},"dependencies":{},"bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","_id":"comlink@2.3.6","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"331d05fd1092372db8cfd9f15ad10abdad949dbd","size":12751,"noattachment":false,"key":"/comlink/-/comlink-2.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-2.3.6.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_2.3.6_1525646431305_0.9243155684890678"},"_hasShrinkwrap":false,"publish_time":1525646431440,"_cnpm_publish_time":1525646431440,"_cnpmcore_publish_time":"2021-12-15T18:12:00.930Z"},"0.1.5":{"name":"comlink","version":"0.1.5","description":"transfered","author":{"name":"farskipper"},"license":"MIT","gitHead":"cf82977f9c0175821e83031442b9f040be53cc9c","_id":"comlink@0.1.5","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"farskipper","email":"farskipper@smallhelm.com"},"dist":{"shasum":"02fd289984b39253ecf5ae37f9acd033583c8f1d","size":918,"noattachment":false,"key":"/comlink/-/comlink-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.1.5.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/comlink_0.1.5_1524153016215_0.19662574898042107"},"_hasShrinkwrap":false,"publish_time":1524153016353,"_cnpm_publish_time":1524153016353,"_cnpmcore_publish_time":"2021-12-15T18:12:01.201Z"},"0.1.4":{"name":"comlink","version":"0.1.4","description":"Sessions and RPC for socket.io","main":"server.js","browser":"client.js","repository":{"type":"git","url":"git+https://github.com/smallhelm/comlink.git"},"keywords":["socket.io","rpc","session"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/comlink/issues"},"dependencies":{"cuid":"1.2.5","deep-freeze":"0.0.1","has-localstorage":"1.0.1","is-cuid":"1.0.0"},"scripts":{"start":"node server.js"},"gitHead":"cf82977f9c0175821e83031442b9f040be53cc9c","homepage":"https://github.com/smallhelm/comlink#readme","_id":"comlink@0.1.4","_shasum":"35571dd3f4af3f85ad8c7e3cf4734de1fb245e8c","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.38","_npmUser":{"name":"smallhelm","email":"dev@smallhelm.com"},"dist":{"shasum":"35571dd3f4af3f85ad8c7e3cf4734de1fb245e8c","size":2426,"noattachment":false,"key":"/comlink/-/comlink-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.1.4.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"publish_time":1433610516092,"_hasShrinkwrap":false,"_cnpm_publish_time":1433610516092,"_cnpmcore_publish_time":"2021-12-15T18:12:01.428Z"},"0.1.3":{"name":"comlink","version":"0.1.3","description":"Sessions and RPC for socket.io","main":"server.js","browser":"client.js","repository":{"type":"git","url":"git+https://github.com/smallhelm/comlink.git"},"keywords":["socket.io","rpc","session"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/comlink/issues"},"dependencies":{"cuid":"1.2.5","deep-freeze":"0.0.1","has-localstorage":"1.0.1","is-cuid":"1.0.0"},"scripts":{"start":"node server.js"},"gitHead":"a7716f310d152901ff02e572714ace86726ae111","homepage":"https://github.com/smallhelm/comlink#readme","_id":"comlink@0.1.3","_shasum":"c5bb354957fd4d3f3cc3bc22a2bff377884ea702","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.38","_npmUser":{"name":"smallhelm","email":"dev@smallhelm.com"},"dist":{"shasum":"c5bb354957fd4d3f3cc3bc22a2bff377884ea702","size":2254,"noattachment":false,"key":"/comlink/-/comlink-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.1.3.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"publish_time":1433608493923,"_hasShrinkwrap":false,"_cnpm_publish_time":1433608493923,"_cnpmcore_publish_time":"2021-12-15T18:12:01.652Z"},"0.1.2":{"name":"comlink","version":"0.1.2","description":"Sessions and RPC for socket.io","main":"server.js","browser":"client.js","repository":{"type":"git","url":"git+https://github.com/smallhelm/comlink.git"},"keywords":["socket.io","rpc","session"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/comlink/issues"},"dependencies":{"cuid":"1.2.5","deep-freeze":"0.0.1","has-localstorage":"1.0.1"},"scripts":{"start":"node server.js"},"gitHead":"cb4e7b783da1cbb1eee67e9fb485a59cfce62af7","homepage":"https://github.com/smallhelm/comlink#readme","_id":"comlink@0.1.2","_shasum":"880efa21478fd8d7adefbf55aca6414f73460c19","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.38","_npmUser":{"name":"smallhelm","email":"dev@smallhelm.com"},"dist":{"shasum":"880efa21478fd8d7adefbf55aca6414f73460c19","size":2148,"noattachment":false,"key":"/comlink/-/comlink-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.1.2.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"publish_time":1433425482361,"_hasShrinkwrap":false,"_cnpm_publish_time":1433425482361,"_cnpmcore_publish_time":"2021-12-15T18:12:01.850Z"},"0.1.1":{"name":"comlink","version":"0.1.1","description":"Sessions and RPC for socket.io","main":"server.js","browser":"client.js","repository":{"type":"git","url":"git+https://github.com/smallhelm/comlink.git"},"keywords":["socket.io","rpc","session"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/comlink/issues"},"dependencies":{"cuid":"1.2.5","deep-freeze":"0.0.1","has-localstorage":"1.0.1"},"scripts":{"start":"node server.js"},"gitHead":"3c3f322252dd7b1e4f2a4430606cea006bf92121","homepage":"https://github.com/smallhelm/comlink#readme","_id":"comlink@0.1.1","_shasum":"ced274cdc238b0121e549844a5bb1133cb9c0bee","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.38","_npmUser":{"name":"smallhelm","email":"dev@smallhelm.com"},"dist":{"shasum":"ced274cdc238b0121e549844a5bb1133cb9c0bee","size":2133,"noattachment":false,"key":"/comlink/-/comlink-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.1.1.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"publish_time":1433370045872,"_hasShrinkwrap":false,"_cnpm_publish_time":1433370045872,"_cnpmcore_publish_time":"2021-12-15T18:12:02.056Z"},"0.1.0":{"name":"comlink","version":"0.1.0","description":"Sessions and RPC for socket.io","main":"server.js","browser":"client.js","repository":{"type":"git","url":"git+https://github.com/smallhelm/comlink.git"},"keywords":["socket.io","rpc","session"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/comlink/issues"},"dependencies":{"cuid":"1.2.5","deep-freeze":"0.0.1","has-localstorage":"1.0.1"},"scripts":{"start":"node server.js"},"gitHead":"34e87a078d576527de3e7e61cfb0f9dc8572431c","homepage":"https://github.com/smallhelm/comlink#readme","_id":"comlink@0.1.0","_shasum":"973dd9d73bfebba1430169ebaeeafa2280ec0286","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.38","_npmUser":{"name":"smallhelm","email":"dev@smallhelm.com"},"dist":{"shasum":"973dd9d73bfebba1430169ebaeeafa2280ec0286","size":2145,"noattachment":false,"key":"/comlink/-/comlink-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.1.0.tgz"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"directories":{},"publish_time":1433369770338,"_hasShrinkwrap":false,"_cnpm_publish_time":1433369770338,"_cnpmcore_publish_time":"2021-12-15T18:12:02.272Z"},"0.0.1":{"name":"comlink","version":"0.0.1","description":"Reliable and flexible RPC between a web browser and a node server.","main":"server.js","browser":"client.js","repository":{"type":"git","url":"https://github.com/smallhelm/comlink.git"},"keywords":["dnode","websockets","rpc","reconnect"],"author":{"name":"smallhelm"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/comlink/issues"},"devDependencies":{"tap-dot":"^1.0.0","tape":"^4.0.0"},"scripts":{"test":"node tests.js | tap-dot","start":"node server.js"},"dependencies":{"dnode":"1.2.1","engine.io-stream":"0.4.3","reconnect-core":"1.0.0"},"gitHead":"99c94d0d1c0d429f997c1019afdaea63beeb0d6e","_id":"comlink@0.0.1","_shasum":"899c00ced2cfb5c6ee0d89c57821335e7c162d8e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"smallhelm","email":"dev@smallhelm.com"},"maintainers":[{"name":"benjamind","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"surma","email":"surma@surmair.de"}],"dist":{"shasum":"899c00ced2cfb5c6ee0d89c57821335e7c162d8e","size":2799,"noattachment":false,"key":"/comlink/-/comlink-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/comlink/download/comlink-0.0.1.tgz"},"directories":{},"publish_time":1432577213937,"_hasShrinkwrap":false,"_cnpm_publish_time":1432577213937,"_cnpmcore_publish_time":"2021-12-15T18:12:02.500Z"}},"readme":"# Comlink\n\nComlink makes [WebWorkers][webworker] enjoyable. Comlink is a **tiny library (1.1kB)**, that removes the mental barrier of thinking about `postMessage` and hides the fact that you are working with workers.\n\nAt a more abstract level it is an RPC implementation for `postMessage` and [ES6 Proxies][es6 proxy].\n\n```\n$ npm install --save comlink\n```\n\n![Comlink in action](https://user-images.githubusercontent.com/234957/54164510-cdab2d80-4454-11e9-92d0-7356aa6c5746.png)\n\n## Browsers support & bundle size\n\n![Chrome 56+](https://img.shields.io/badge/Chrome-56+-green.svg?style=flat-square)\n![Edge 15+](https://img.shields.io/badge/Edge-15+-green.svg?style=flat-square)\n![Firefox 52+](https://img.shields.io/badge/Firefox-52+-green.svg?style=flat-square)\n![Opera 43+](https://img.shields.io/badge/Opera-43+-green.svg?style=flat-square)\n![Safari 10.1+](https://img.shields.io/badge/Safari-10.1+-green.svg?style=flat-square)\n![Samsung Internet 6.0+](https://img.shields.io/badge/Samsung_Internet-6.0+-green.svg?style=flat-square)\n\nBrowsers without [ES6 Proxy] support can use the [proxy-polyfill].\n\n**Size**: ~2.5k, ~1.2k gzip’d, ~1.1k brotli’d\n\n## Introduction\n\nOn mobile phones, and especially on low-end mobile phones, it is important to keep the main thread as idle as possible so it can respond to user interactions quickly and provide a jank-free experience. **The UI thread ought to be for UI work only**. WebWorkers are a web API that allow you to run code in a separate thread. To communicate with another thread, WebWorkers offer the `postMessage` API. You can send JavaScript objects as messages using `myWorker.postMessage(someObject)`, triggering a `message` event inside the worker.\n\nComlink turns this messaged-based API into a something more developer-friendly by providing an RPC implementation: Values from one thread can be used within the other thread (and vice versa) just like local values.\n\n## Examples\n\n### [Running a simple function](./docs/examples/01-simple-example)\n\n**main.js**\n\n```javascript\nimport * as Comlink from \"https://unpkg.com/comlink/dist/esm/comlink.mjs\";\nasync function init() {\n  const worker = new Worker(\"worker.js\");\n  // WebWorkers use `postMessage` and therefore work with Comlink.\n  const obj = Comlink.wrap(worker);\n  alert(`Counter: ${await obj.counter}`);\n  await obj.inc();\n  alert(`Counter: ${await obj.counter}`);\n}\ninit();\n```\n\n**worker.js**\n\n```javascript\nimportScripts(\"https://unpkg.com/comlink/dist/umd/comlink.js\");\n// importScripts(\"../../../dist/umd/comlink.js\");\n\nconst obj = {\n  counter: 0,\n  inc() {\n    this.counter++;\n  },\n};\n\nComlink.expose(obj);\n```\n\n### [Callbacks](./docs/examples/02-callback-example)\n\n**main.js**\n\n```javascript\nimport * as Comlink from \"https://unpkg.com/comlink/dist/esm/comlink.mjs\";\n// import * as Comlink from \"../../../dist/esm/comlink.mjs\";\nfunction callback(value) {\n  alert(`Result: ${value}`);\n}\nasync function init() {\n  const remoteFunction = Comlink.wrap(new Worker(\"worker.js\"));\n  await remoteFunction(Comlink.proxy(callback));\n}\ninit();\n```\n\n**worker.js**\n\n```javascript\nimportScripts(\"https://unpkg.com/comlink/dist/umd/comlink.js\");\n// importScripts(\"../../../dist/umd/comlink.js\");\n\nasync function remoteFunction(cb) {\n  await cb(\"A string from a worker\");\n}\n\nComlink.expose(remoteFunction);\n```\n\n### [`SharedWorker`](./docs/examples/07-sharedworker-example)\n\nWhen using Comlink with a [`SharedWorker`](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) you have to:\n\n1. Use the [`port`](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/port) property, of the `SharedWorker` instance, when calling `Comlink.wrap`.\n2. Call `Comlink.expose` within the [`onconnect`](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope/onconnect) callback of the shared worker.\n\n**Pro tip:** You can access DevTools for any shared worker currently running in Chrome by going to: **chrome://inspect/#workers**\n\n**main.js**\n\n```javascript\nimport * as Comlink from \"https://unpkg.com/comlink/dist/esm/comlink.mjs\";\nasync function init() {\n  const worker = new SharedWorker(\"worker.js\");\n  /**\n   * SharedWorkers communicate via the `postMessage` function in their `port` property.\n   * Therefore you must use the SharedWorker's `port` property when calling `Comlink.wrap`.\n   */\n  const obj = Comlink.wrap(worker.port);\n  alert(`Counter: ${await obj.counter}`);\n  await obj.inc();\n  alert(`Counter: ${await obj.counter}`);\n}\ninit();\n```\n\n**worker.js**\n\n```javascript\nimportScripts(\"https://unpkg.com/comlink/dist/umd/comlink.js\");\n// importScripts(\"../../../dist/umd/comlink.js\");\n\nconst obj = {\n  counter: 0,\n  inc() {\n    this.counter++;\n  },\n};\n\n/**\n * When a connection is made into this shared worker, expose `obj`\n * via the connection `port`.\n */\nonconnect = function (event) {\n  const port = event.ports[0];\n\n  Comlink.expose(obj, port);\n};\n\n// Single line alternative:\n// onconnect = (e) => Comlink.expose(obj, e.ports[0]);\n```\n\n**For additional examples, please see the [docs/examples](./docs/examples) directory in the project.**\n\n## API\n\n### `Comlink.wrap(endpoint)` and `Comlink.expose(value, endpoint?, allowedOrigins?)`\n\nComlink’s goal is to make _exposed_ values from one thread available in the other. `expose` exposes `value` on `endpoint`, where `endpoint` is a [`postMessage`-like interface][endpoint] and `allowedOrigins` is an array of\nRegExp or strings defining which origins should be allowed access (defaults to special case of `['*']` for all origins).\n\n`wrap` wraps the _other_ end of the message channel and returns a proxy. The proxy will have all properties and functions of the exposed value, but access and invocations are inherently asynchronous. This means that a function that returns a number will now return _a promise_ for a number. **As a rule of thumb: If you are using the proxy, put `await` in front of it.** Exceptions will be caught and re-thrown on the other side.\n\n### `Comlink.transfer(value, transferables)` and `Comlink.proxy(value)`\n\nBy default, every function parameter, return value and object property value is copied, in the sense of [structured cloning]. Structured cloning can be thought of as deep copying, but has some limitations. See [this table][structured clone table] for details.\n\nIf you want a value to be transferred rather than copied — provided the value is or contains a [`Transferable`][transferable] — you can wrap the value in a `transfer()` call and provide a list of transferable values:\n\n```js\nconst data = new Uint8Array([1, 2, 3, 4, 5]);\nawait myProxy.someFunction(Comlink.transfer(data, [data.buffer]));\n```\n\nLastly, you can use `Comlink.proxy(value)`. When using this Comlink will neither copy nor transfer the value, but instead send a proxy. Both threads now work on the same value. This is useful for callbacks, for example, as functions are neither structured cloneable nor transferable.\n\n```js\nmyProxy.onready = Comlink.proxy((data) => {\n  /* ... */\n});\n```\n\n### Transfer handlers and event listeners\n\nIt is common that you want to use Comlink to add an event listener, where the event source is on another thread:\n\n```js\nbutton.addEventListener(\"click\", myProxy.onClick.bind(myProxy));\n```\n\nWhile this won’t throw immediately, `onClick` will never actually be called. This is because [`Event`][event] is neither structured cloneable nor transferable. As a workaround, Comlink offers transfer handlers.\n\nEach function parameter and return value is given to _all_ registered transfer handlers. If one of the event handler signals that it can process the value by returning `true` from `canHandle()`, it is now responsible for serializing the value to structured cloneable data and for deserializing the value. A transfer handler has be set up on _both sides_ of the message channel. Here’s an example transfer handler for events:\n\n```js\nComlink.transferHandlers.set(\"EVENT\", {\n  canHandle: (obj) => obj instanceof Event,\n  serialize: (ev) => {\n    return [\n      {\n        target: {\n          id: ev.target.id,\n          classList: [...ev.target.classList],\n        },\n      },\n      [],\n    ];\n  },\n  deserialize: (obj) => obj,\n});\n```\n\nNote that this particular transfer handler won’t create an actual `Event`, but just an object that has the `event.target.id` and `event.target.classList` property. Often, this is enough. If not, the transfer handler can be easily augmented to provide all necessary data.\n\n### `Comlink.releaseProxy`\n\nEvery proxy created by Comlink has the `[releaseProxy]()` method.\nCalling it will detach the proxy and the exposed object from the message channel, allowing both ends to be garbage collected.\n\n```js\nconst proxy = Comlink.wrap(port);\n// ... use the proxy ...\nproxy[Comlink.releaseProxy]();\n```\n\nIf the browser supports the [WeakRef proposal], `[releaseProxy]()` will be called automatically when the proxy created by `wrap()` gets garbage collected.\n\n### `Comlink.finalizer`\n\nIf an exposed object has a property `[Comlink.finalizer]`, the property will be invoked as a function when the proxy is being released. This can happen either through a manual invocation of `[releaseProxy]()` or automatically during garbage collection if the runtime supports the [WeakRef proposal] (see `Comlink.releaseProxy` above). Note that when the finalizer function is invoked, the endpoint is closed and no more communication can happen.\n\n### `Comlink.createEndpoint`\n\nEvery proxy created by Comlink has the `[createEndpoint]()` method.\nCalling it will return a new `MessagePort`, that has been hooked up to the same object as the proxy that `[createEndpoint]()` has been called on.\n\n```js\nconst port = myProxy[Comlink.createEndpoint]();\nconst newProxy = Comlink.wrap(port);\n```\n\n### `Comlink.windowEndpoint(window, context = self, targetOrigin = \"*\")`\n\nWindows and Web Workers have a slightly different variants of `postMessage`. If you want to use Comlink to communicate with an iframe or another window, you need to wrap it with `windowEndpoint()`.\n\n`window` is the window that should be communicate with. `context` is the `EventTarget` on which messages _from_ the `window` can be received (often `self`). `targetOrigin` is passed through to `postMessage` and allows to filter messages by origin. For details, see the documentation for [`Window.postMessage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage).\n\nFor a usage example, take a look at the non-worker examples in the `docs` folder.\n\n## TypeScript\n\nComlink does provide TypeScript types. When you `expose()` something of type `T`, the corresponding `wrap()` call will return something of type `Comlink.Remote<T>`. While this type has been battle-tested over some time now, it is implemented on a best-effort basis. There are some nuances that are incredibly hard if not impossible to encode correctly in TypeScript’s type system. It _may_ sometimes be necessary to force a certain type using `as unknown as <type>`.\n\n## Node\n\nComlink works with Node’s [`worker_threads`][worker_threads] module. Take a look at the example in the `docs` folder.\n\n[webworker]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API\n[umd]: https://github.com/umdjs/umd\n[transferable]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects\n[messageport]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort\n[examples]: https://github.com/GoogleChromeLabs/comlink/tree/master/docs/examples\n[dist]: https://github.com/GoogleChromeLabs/comlink/tree/master/dist\n[delivrjs]: https://cdn.jsdelivr.net/\n[es6 proxy]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n[proxy-polyfill]: https://github.com/GoogleChrome/proxy-polyfill\n[endpoint]: src/protocol.ts\n[structured cloning]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm\n[structured clone table]: structured-clone-table.md\n[event]: https://developer.mozilla.org/en-US/docs/Web/API/Event\n[worker_threads]: https://nodejs.org/api/worker_threads.html\n[weakref proposal]: https://github.com/tc39/proposal-weakrefs\n\n## Additional Resources\n\n- [Simplify Web Worker code with Comlink](https://davidea.st/articles/comlink-simple-web-worker)\n\n---\n\nLicense Apache-2.0\n","_attachments":{},"homepage":"https://github.com/GoogleChromeLabs/comlink#readme","bugs":{"url":"https://github.com/GoogleChromeLabs/comlink/issues"},"license":"Apache-2.0"}