@teambit/worker 0.0.1217 → 0.0.1219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.harmony/worker@0.0.1217" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/worker@0.0.1219" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/worker-preview"]=t():e["teambit.harmony/worker-preview"]=t()}(self,(()=>(()=>{"use strict";var e={60588:(e,t,o)=>{var r={id:"teambit.harmony/worker@0.0.1217",homepage:"https://bit.cloud/teambit/harmony/worker",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/worker.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>d});var i=o(60588);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var s=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(null,arguments)}var u={},l="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,a.mdx)(l,p({},u,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/worker-preview"]=t():e["teambit.harmony/worker-preview"]=t()}(self,(()=>(()=>{"use strict";var e={74118:(e,t,o)=>{var r={id:"teambit.harmony/worker@0.0.1219",homepage:"https://bit.cloud/teambit/harmony/worker",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/worker.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>d});var i=o(74118);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var s=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(null,arguments)}var u={},l="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,a.mdx)(l,p({},u,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -563,6 +563,95 @@
563
563
  },
564
564
  "modifiers": []
565
565
  },
566
+ {
567
+ "__schema": "VariableLikeSchema",
568
+ "location": {
569
+ "filePath": "harmony-worker.ts",
570
+ "line": 30,
571
+ "character": 3
572
+ },
573
+ "signature": "(property) HarmonyWorker<T>.remoteWorker: Remote<T> | undefined",
574
+ "name": "remoteWorker",
575
+ "type": {
576
+ "__schema": "TypeUnionSchema",
577
+ "location": {
578
+ "filePath": "harmony-worker.ts",
579
+ "line": 30,
580
+ "character": 27
581
+ },
582
+ "types": [
583
+ {
584
+ "__schema": "KeywordTypeSchema",
585
+ "location": {
586
+ "filePath": "harmony-worker.ts",
587
+ "line": 30,
588
+ "character": 27
589
+ },
590
+ "name": "undefined"
591
+ },
592
+ {
593
+ "__schema": "TypeRefSchema",
594
+ "location": {
595
+ "filePath": "harmony-worker.ts",
596
+ "line": 30,
597
+ "character": 39
598
+ },
599
+ "name": "Remote",
600
+ "typeArgs": [
601
+ {
602
+ "__schema": "TypeRefSchema",
603
+ "location": {
604
+ "filePath": "harmony-worker.ts",
605
+ "line": 30,
606
+ "character": 46
607
+ },
608
+ "name": "T"
609
+ }
610
+ ]
611
+ }
612
+ ]
613
+ },
614
+ "isOptional": false
615
+ },
616
+ {
617
+ "__schema": "VariableLikeSchema",
618
+ "location": {
619
+ "filePath": "harmony-worker.ts",
620
+ "line": 32,
621
+ "character": 3
622
+ },
623
+ "signature": "(property) HarmonyWorker<T>.worker: Worker | undefined",
624
+ "name": "worker",
625
+ "type": {
626
+ "__schema": "TypeUnionSchema",
627
+ "location": {
628
+ "filePath": "harmony-worker.ts",
629
+ "line": 32,
630
+ "character": 21
631
+ },
632
+ "types": [
633
+ {
634
+ "__schema": "TypeRefSchema",
635
+ "location": {
636
+ "filePath": "harmony-worker.ts",
637
+ "line": 32,
638
+ "character": 21
639
+ },
640
+ "name": "Worker"
641
+ },
642
+ {
643
+ "__schema": "KeywordTypeSchema",
644
+ "location": {
645
+ "filePath": "harmony-worker.ts",
646
+ "line": 32,
647
+ "character": 30
648
+ },
649
+ "name": "undefined"
650
+ }
651
+ ]
652
+ },
653
+ "isOptional": false
654
+ },
566
655
  {
567
656
  "__schema": "GetAccessorSchema",
568
657
  "location": {
@@ -1563,6 +1652,95 @@
1563
1652
  },
1564
1653
  "modifiers": []
1565
1654
  },
1655
+ {
1656
+ "__schema": "VariableLikeSchema",
1657
+ "location": {
1658
+ "filePath": "harmony-worker.ts",
1659
+ "line": 30,
1660
+ "character": 3
1661
+ },
1662
+ "signature": "(property) HarmonyWorker<T>.remoteWorker: Remote<T> | undefined",
1663
+ "name": "remoteWorker",
1664
+ "type": {
1665
+ "__schema": "TypeUnionSchema",
1666
+ "location": {
1667
+ "filePath": "harmony-worker.ts",
1668
+ "line": 30,
1669
+ "character": 27
1670
+ },
1671
+ "types": [
1672
+ {
1673
+ "__schema": "KeywordTypeSchema",
1674
+ "location": {
1675
+ "filePath": "harmony-worker.ts",
1676
+ "line": 30,
1677
+ "character": 27
1678
+ },
1679
+ "name": "undefined"
1680
+ },
1681
+ {
1682
+ "__schema": "TypeRefSchema",
1683
+ "location": {
1684
+ "filePath": "harmony-worker.ts",
1685
+ "line": 30,
1686
+ "character": 39
1687
+ },
1688
+ "name": "Remote",
1689
+ "typeArgs": [
1690
+ {
1691
+ "__schema": "TypeRefSchema",
1692
+ "location": {
1693
+ "filePath": "harmony-worker.ts",
1694
+ "line": 30,
1695
+ "character": 46
1696
+ },
1697
+ "name": "T"
1698
+ }
1699
+ ]
1700
+ }
1701
+ ]
1702
+ },
1703
+ "isOptional": false
1704
+ },
1705
+ {
1706
+ "__schema": "VariableLikeSchema",
1707
+ "location": {
1708
+ "filePath": "harmony-worker.ts",
1709
+ "line": 32,
1710
+ "character": 3
1711
+ },
1712
+ "signature": "(property) HarmonyWorker<T>.worker: Worker | undefined",
1713
+ "name": "worker",
1714
+ "type": {
1715
+ "__schema": "TypeUnionSchema",
1716
+ "location": {
1717
+ "filePath": "harmony-worker.ts",
1718
+ "line": 32,
1719
+ "character": 21
1720
+ },
1721
+ "types": [
1722
+ {
1723
+ "__schema": "TypeRefSchema",
1724
+ "location": {
1725
+ "filePath": "harmony-worker.ts",
1726
+ "line": 32,
1727
+ "character": 21
1728
+ },
1729
+ "name": "Worker"
1730
+ },
1731
+ {
1732
+ "__schema": "KeywordTypeSchema",
1733
+ "location": {
1734
+ "filePath": "harmony-worker.ts",
1735
+ "line": 32,
1736
+ "character": 30
1737
+ },
1738
+ "name": "undefined"
1739
+ }
1740
+ ]
1741
+ },
1742
+ "isOptional": false
1743
+ },
1566
1744
  {
1567
1745
  "__schema": "GetAccessorSchema",
1568
1746
  "location": {
@@ -1742,7 +1920,7 @@
1742
1920
  "componentId": {
1743
1921
  "scope": "teambit.harmony",
1744
1922
  "name": "worker",
1745
- "version": "0.0.1217"
1923
+ "version": "0.0.1219"
1746
1924
  },
1747
1925
  "taggedModuleExports": []
1748
1926
  }
@@ -1,3 +1,4 @@
1
+ import { Worker } from 'worker_threads';
1
2
  import { Remote } from 'comlink';
2
3
  export type InitOptions = {
3
4
  /**
@@ -21,8 +22,8 @@ export declare class HarmonyWorker<T> {
21
22
  readonly name: string;
22
23
  readonly workerPath: string;
23
24
  constructor(name: string, workerPath: string);
24
- private remoteWorker;
25
- private worker;
25
+ protected remoteWorker: undefined | Remote<T>;
26
+ protected worker: Worker | undefined;
26
27
  get stdout(): import("stream").Readable | undefined;
27
28
  get stderr(): import("stream").Readable | undefined;
28
29
  get stdin(): import("stream").Writable | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"names":["_worker_threads","data","require","_comlink","_nodeEndpoint","_interopRequireDefault","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","HarmonyWorker","constructor","name","workerPath","stdout","worker","stderr","stdin","getOptions","targetOptions","defaultOptions","assign","initiate","options","Worker","remoteWorker","wrap","nodeEndpoint","get","terminate","exports"],"sources":["harmony-worker.ts"],"sourcesContent":["// eslint-disable-next-line import/no-unresolved\nimport { Worker } from 'worker_threads';\nimport { wrap, Remote } from 'comlink';\nimport nodeEndpoint from './node-endpoint';\n\nexport type InitOptions = {\n /**\n * Determines whether stdout should be piped into the parent process.\n * If this is set to true, then worker.stdout is NOT automatically piped through to process.stdout in the parent.\n */\n stdout: boolean;\n\n /**\n * Determines whether stderr should be piped into the parent process.\n * If this is set to true, then worker.stderr is NOT automatically piped through to process.stderr in the parent.\n */\n stderr: boolean;\n\n /**\n * Determines whether stdin should be piped into the parent process.\n * If this is set to true, then worker.stdin provides a writable stream whose contents appear as process.stdin inside\n * the Worker. By default, no data is provided.\n */\n stdin: boolean;\n};\n\nexport class HarmonyWorker<T> {\n constructor(readonly name: string, readonly workerPath: string) {}\n\n private remoteWorker: undefined | Remote<T>;\n\n private worker: Worker | undefined;\n\n get stdout() {\n return this.worker?.stdout;\n }\n\n get stderr() {\n return this.worker?.stderr;\n }\n\n get stdin() {\n return this.worker?.stdin;\n }\n\n private getOptions(targetOptions: Partial<InitOptions>) {\n const defaultOptions = {\n stdout: true,\n stderr: true,\n stdin: true,\n };\n\n return Object.assign(defaultOptions, targetOptions);\n }\n\n initiate(options: Partial<InitOptions>): Remote<T> {\n const worker = new Worker(this.workerPath, this.getOptions(options));\n this.worker = worker;\n const remoteWorker = wrap<T>(nodeEndpoint(worker));\n this.remoteWorker = remoteWorker;\n return remoteWorker;\n }\n\n get() {\n return this.remoteWorker;\n }\n\n async terminate() {\n if (!this.worker) return;\n await this.worker.terminate();\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,gBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,eAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,cAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA2C,SAAAI,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA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AAI;MACZE,MAAM,EAAE,IAAI;MACZC,KAAK,EAAE;IACT,CAAC;IAED,OAAOrB,MAAM,CAACyB,MAAM,CAACD,cAAc,EAAED,aAAa,CAAC;EACrD;EAEAG,QAAQA,CAACC,OAA6B,EAAa;IACjD,MAAMR,MAAM,GAAG,KAAIS,wBAAM,EAAC,IAAI,CAACX,UAAU,EAAE,IAAI,CAACK,UAAU,CAACK,OAAO,CAAC,CAAC;IACpE,IAAI,CAACR,MAAM,GAAGA,MAAM;IACpB,MAAMU,YAAY,GAAG,IAAAC,eAAI,EAAI,IAAAC,uBAAY,EAACZ,MAAM,CAAC,CAAC;IAClD,IAAI,CAACU,YAAY,GAAGA,YAAY;IAChC,OAAOA,YAAY;EACrB;EAEAG,GAAGA,CAAA,EAAG;IACJ,OAAO,IAAI,CAACH,YAAY;EAC1B;EAEA,MAAMI,SAASA,CAAA,EAAG;IAChB,IAAI,CAAC,IAAI,CAACd,MAAM,EAAE;IAClB,MAAM,IAAI,CAACA,MAAM,CAACc,SAAS,CAAC,CAAC;EAC/B;AACF;AAACC,OAAA,CAAApB,aAAA,GAAAA,aAAA","ignoreList":[]}
1
+ {"version":3,"names":["_worker_threads","data","require","_comlink","_nodeEndpoint","_interopRequireDefault","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","HarmonyWorker","constructor","name","workerPath","stdout","worker","stderr","stdin","getOptions","targetOptions","defaultOptions","assign","initiate","options","Worker","remoteWorker","wrap","nodeEndpoint","get","terminate","exports"],"sources":["harmony-worker.ts"],"sourcesContent":["// eslint-disable-next-line import/no-unresolved\nimport { Worker } from 'worker_threads';\nimport { wrap, Remote } from 'comlink';\nimport nodeEndpoint from './node-endpoint';\n\nexport type InitOptions = {\n /**\n * Determines whether stdout should be piped into the parent process.\n * If this is set to true, then worker.stdout is NOT automatically piped through to process.stdout in the parent.\n */\n stdout: boolean;\n\n /**\n * Determines whether stderr should be piped into the parent process.\n * If this is set to true, then worker.stderr is NOT automatically piped through to process.stderr in the parent.\n */\n stderr: boolean;\n\n /**\n * Determines whether stdin should be piped into the parent process.\n * If this is set to true, then worker.stdin provides a writable stream whose contents appear as process.stdin inside\n * the Worker. By default, no data is provided.\n */\n stdin: boolean;\n};\n\nexport class HarmonyWorker<T> {\n constructor(readonly name: string, readonly workerPath: string) {}\n\n protected remoteWorker: undefined | Remote<T>;\n\n protected worker: Worker | undefined;\n\n get stdout() {\n return this.worker?.stdout;\n }\n\n get stderr() {\n return this.worker?.stderr;\n }\n\n get stdin() {\n return this.worker?.stdin;\n }\n\n private getOptions(targetOptions: Partial<InitOptions>) {\n const defaultOptions = {\n stdout: true,\n stderr: true,\n stdin: true,\n };\n\n return Object.assign(defaultOptions, targetOptions);\n }\n\n initiate(options: Partial<InitOptions>): Remote<T> {\n const worker = new Worker(this.workerPath, this.getOptions(options));\n this.worker = worker;\n const remoteWorker = wrap<T>(nodeEndpoint(worker));\n this.remoteWorker = remoteWorker;\n return remoteWorker;\n }\n\n get() {\n return this.remoteWorker;\n }\n\n async terminate() {\n if (!this.worker) return;\n await this.worker.terminate();\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,gBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,eAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,cAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA2C,SAAAI,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,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AAM,EAAE,IAAI;MACZE,MAAM,EAAE,IAAI;MACZC,KAAK,EAAE;IACT,CAAC;IAED,OAAOrB,MAAM,CAACyB,MAAM,CAACD,cAAc,EAAED,aAAa,CAAC;EACrD;EAEAG,QAAQA,CAACC,OAA6B,EAAa;IACjD,MAAMR,MAAM,GAAG,KAAIS,wBAAM,EAAC,IAAI,CAACX,UAAU,EAAE,IAAI,CAACK,UAAU,CAACK,OAAO,CAAC,CAAC;IACpE,IAAI,CAACR,MAAM,GAAGA,MAAM;IACpB,MAAMU,YAAY,GAAG,IAAAC,eAAI,EAAI,IAAAC,uBAAY,EAACZ,MAAM,CAAC,CAAC;IAClD,IAAI,CAACU,YAAY,GAAGA,YAAY;IAChC,OAAOA,YAAY;EACrB;EAEAG,GAAGA,CAAA,EAAG;IACJ,OAAO,IAAI,CAACH,YAAY;EAC1B;EAEA,MAAMI,SAASA,CAAA,EAAG;IAChB,IAAI,CAAC,IAAI,CAACd,MAAM,EAAE;IAClB,MAAM,IAAI,CAACA,MAAM,CAACc,SAAS,CAAC,CAAC;EAC/B;AACF;AAACC,OAAA,CAAApB,aAAA,GAAAA,aAAA","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1217/dist/worker.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1217/dist/worker.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1219/dist/worker.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1219/dist/worker.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@teambit/worker",
3
- "version": "0.0.1217",
3
+ "version": "0.0.1219",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/worker",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "worker",
9
- "version": "0.0.1217"
9
+ "version": "0.0.1219"
10
10
  },
11
11
  "dependencies": {
12
12
  "comlink": "4.3.0",
13
13
  "@teambit/harmony": "0.4.6",
14
- "@teambit/cli": "0.0.913"
14
+ "@teambit/cli": "0.0.915"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",