@teambit/worker 0.0.1190 → 0.0.1192

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.1190" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/worker@0.0.1192" 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={43513:(e,t,o)=>{var r={id:"teambit.harmony/worker@0.0.1190",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:()=>l});var i=o(43513);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var p=["components"];function s(){return s=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},s.apply(null,arguments)}var u={},d="wrapper";function l(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.indexOf(r)>=0)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.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,p);return(0,a.mdx)(d,s({},u,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.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={46988:(e,t,o)=>{var r={id:"teambit.harmony/worker@0.0.1192",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:()=>l});var i=o(46988);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var p=["components"];function s(){return s=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},s.apply(null,arguments)}var u={},d="wrapper";function l(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.indexOf(r)>=0)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.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,p);return(0,a.mdx)(d,s({},u,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -206,7 +206,8 @@
206
206
  "character": 3
207
207
  },
208
208
  "raw": "/**\n * create a new worker.\n */",
209
- "comment": "create a new worker."
209
+ "comment": "create a new worker.",
210
+ "tags": []
210
211
  },
211
212
  "signature": "(method) WorkerMain.declareWorker<T>(name: string, path: string): HarmonyWorker<T>",
212
213
  "name": "declareWorker",
@@ -1095,7 +1096,8 @@
1095
1096
  "character": 3
1096
1097
  },
1097
1098
  "raw": "/**\n * create a new worker.\n */",
1098
- "comment": "create a new worker."
1099
+ "comment": "create a new worker.",
1100
+ "tags": []
1099
1101
  },
1100
1102
  "signature": "(method) WorkerMain.declareWorker<T>(name: string, path: string): HarmonyWorker<T>",
1101
1103
  "name": "declareWorker",
@@ -1428,7 +1430,8 @@
1428
1430
  "character": 3
1429
1431
  },
1430
1432
  "raw": "/**\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 */",
1431
- "comment": "Determines whether stdout should be piped into the parent process.\nIf this is set to true, then worker.stdout is NOT automatically piped through to process.stdout in the parent."
1433
+ "comment": "Determines whether stdout should be piped into the parent process.\nIf this is set to true, then worker.stdout is NOT automatically piped through to process.stdout in the parent.",
1434
+ "tags": []
1432
1435
  },
1433
1436
  "signature": "(property) stdout: boolean",
1434
1437
  "name": "stdout",
@@ -1458,7 +1461,8 @@
1458
1461
  "character": 3
1459
1462
  },
1460
1463
  "raw": "/**\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 */",
1461
- "comment": "Determines whether stderr should be piped into the parent process.\nIf this is set to true, then worker.stderr is NOT automatically piped through to process.stderr in the parent."
1464
+ "comment": "Determines whether stderr should be piped into the parent process.\nIf this is set to true, then worker.stderr is NOT automatically piped through to process.stderr in the parent.",
1465
+ "tags": []
1462
1466
  },
1463
1467
  "signature": "(property) stderr: boolean",
1464
1468
  "name": "stderr",
@@ -1488,7 +1492,8 @@
1488
1492
  "character": 3
1489
1493
  },
1490
1494
  "raw": "/**\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 */",
1491
- "comment": "Determines whether stdin should be piped into the parent process.\nIf this is set to true, then worker.stdin provides a writable stream whose contents appear as process.stdin inside\nthe Worker. By default, no data is provided."
1495
+ "comment": "Determines whether stdin should be piped into the parent process.\nIf this is set to true, then worker.stdin provides a writable stream whose contents appear as process.stdin inside\nthe Worker. By default, no data is provided.",
1496
+ "tags": []
1492
1497
  },
1493
1498
  "signature": "(property) stdin: boolean",
1494
1499
  "name": "stdin",
@@ -1759,7 +1764,7 @@
1759
1764
  "componentId": {
1760
1765
  "scope": "teambit.harmony",
1761
1766
  "name": "worker",
1762
- "version": "0.0.1190"
1767
+ "version": "0.0.1192"
1763
1768
  },
1764
1769
  "taggedModuleExports": []
1765
1770
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Remote } from 'comlink';
3
2
  export type InitOptions = {
4
3
  /**
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1190/dist/worker.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1190/dist/worker.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1192/dist/worker.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_worker@0.0.1192/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.1190",
3
+ "version": "0.0.1192",
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.1190"
9
+ "version": "0.0.1192"
10
10
  },
11
11
  "dependencies": {
12
12
  "comlink": "4.3.0",
13
13
  "@teambit/harmony": "0.4.6",
14
- "@teambit/cli": "0.0.886"
14
+ "@teambit/cli": "0.0.888"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",