@modern-js/plugin 0.0.0-next-1685383616364 → 0.0.0-next-1685436485731

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.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @modern-js/plugin
2
2
 
3
- ## 0.0.0-next-1685383616364
3
+ ## 0.0.0-next-1685436485731
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [3d48836b3]
8
8
  - Updated dependencies [5050e8e6b]
9
- - @modern-js/utils@0.0.0-next-1685383616364
9
+ - @modern-js/utils@0.0.0-next-1685436485731
10
10
 
11
11
  ## 2.21.1
12
12
 
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "createContext", {
6
6
  enumerable: true,
7
- get: function() {
8
- return createContext;
9
- }
7
+ get: () => createContext
10
8
  });
11
9
  const createContext = (value) => {
12
10
  let currentValue = value;
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "createCounter", {
6
6
  enumerable: true,
7
- get: function() {
8
- return createCounter;
9
- }
7
+ get: () => createCounter
10
8
  });
11
9
  const createCounter = (callback) => {
12
10
  const dispatch = (index, input) => {
@@ -10,18 +10,10 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- createContext: function() {
14
- return _context.createContext;
15
- },
16
- isPipeline: function() {
17
- return isPipeline;
18
- },
19
- createPipeline: function() {
20
- return createPipeline;
21
- },
22
- createAsyncPipeline: function() {
23
- return createAsyncPipeline;
24
- }
13
+ createContext: () => _context.createContext,
14
+ isPipeline: () => isPipeline,
15
+ createPipeline: () => createPipeline,
16
+ createAsyncPipeline: () => createAsyncPipeline
25
17
  });
26
18
  const _context = require("./context");
27
19
  const _counter = require("./counter");
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "createAsyncManager", {
6
6
  enumerable: true,
7
- get: function() {
8
- return createAsyncManager;
9
- }
7
+ get: () => createAsyncManager
10
8
  });
11
9
  const _sync = require("./sync");
12
10
  const _shared = require("./shared");
@@ -10,21 +10,11 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- checkPlugins: function() {
14
- return checkPlugins;
15
- },
16
- sortPlugins: function() {
17
- return sortPlugins;
18
- },
19
- includePlugin: function() {
20
- return includePlugin;
21
- },
22
- isObject: function() {
23
- return isObject;
24
- },
25
- hasOwnProperty: function() {
26
- return hasOwnProperty;
27
- }
13
+ checkPlugins: () => checkPlugins,
14
+ sortPlugins: () => sortPlugins,
15
+ includePlugin: () => includePlugin,
16
+ isObject: () => isObject,
17
+ hasOwnProperty: () => hasOwnProperty
28
18
  });
29
19
  const _plugindagsort = require("@modern-js/utils/universal/plugin-dag-sort");
30
20
  const checkPlugins = (plugins) => {
@@ -10,21 +10,11 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- DEFAULT_OPTIONS: function() {
14
- return DEFAULT_OPTIONS;
15
- },
16
- createManager: function() {
17
- return createManager;
18
- },
19
- generateRunner: function() {
20
- return generateRunner;
21
- },
22
- cloneHook: function() {
23
- return cloneHook;
24
- },
25
- cloneHooksMap: function() {
26
- return cloneHooksMap;
27
- }
13
+ DEFAULT_OPTIONS: () => DEFAULT_OPTIONS,
14
+ createManager: () => createManager,
15
+ generateRunner: () => generateRunner,
16
+ cloneHook: () => cloneHook,
17
+ cloneHooksMap: () => cloneHooksMap
28
18
  });
29
19
  const _farrowpipeline = require("../farrow-pipeline");
30
20
  const _waterfall = require("../waterfall");
@@ -10,15 +10,9 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- getAsyncBrook: function() {
14
- return getAsyncBrook;
15
- },
16
- createAsyncWaterfall: function() {
17
- return createAsyncWaterfall;
18
- },
19
- isAsyncWaterfall: function() {
20
- return isAsyncWaterfall;
21
- }
13
+ getAsyncBrook: () => getAsyncBrook,
14
+ createAsyncWaterfall: () => createAsyncWaterfall,
15
+ isAsyncWaterfall: () => isAsyncWaterfall
22
16
  });
23
17
  const _farrowpipeline = require("../farrow-pipeline");
24
18
  const ASYNC_WATERFALL_SYMBOL = Symbol.for("MODERN_ASYNC_WATERFALL");
@@ -10,15 +10,9 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- getBrook: function() {
14
- return getBrook;
15
- },
16
- createWaterfall: function() {
17
- return createWaterfall;
18
- },
19
- isWaterfall: function() {
20
- return isWaterfall;
21
- }
13
+ getBrook: () => getBrook,
14
+ createWaterfall: () => createWaterfall,
15
+ isWaterfall: () => isWaterfall
22
16
  });
23
17
  const _farrowpipeline = require("../farrow-pipeline");
24
18
  const WATERFALL_SYMBOL = Symbol.for("MODERN_WATERFALL");
@@ -10,12 +10,8 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- isAsyncWorkflow: function() {
14
- return isAsyncWorkflow;
15
- },
16
- createAsyncWorkflow: function() {
17
- return createAsyncWorkflow;
18
- }
13
+ isAsyncWorkflow: () => isAsyncWorkflow,
14
+ createAsyncWorkflow: () => createAsyncWorkflow
19
15
  });
20
16
  const _farrowpipeline = require("../farrow-pipeline");
21
17
  const ASYNC_WORKFLOW_SYMBOL = Symbol.for("MODERN_ASYNC_WORKFLOW");
@@ -10,12 +10,8 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- isParallelWorkflow: function() {
14
- return isParallelWorkflow;
15
- },
16
- createParallelWorkflow: function() {
17
- return createParallelWorkflow;
18
- }
13
+ isParallelWorkflow: () => isParallelWorkflow,
14
+ createParallelWorkflow: () => createParallelWorkflow
19
15
  });
20
16
  const _farrowpipeline = require("../farrow-pipeline");
21
17
  const PARALLEL_WORKFLOW_SYMBOL = Symbol.for("MODERN_PARALLEL_WORKFLOW");
@@ -10,12 +10,8 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- createWorkflow: function() {
14
- return createWorkflow;
15
- },
16
- isWorkflow: function() {
17
- return isWorkflow;
18
- }
13
+ createWorkflow: () => createWorkflow,
14
+ isWorkflow: () => isWorkflow
19
15
  });
20
16
  const _farrowpipeline = require("../farrow-pipeline");
21
17
  const WORKFLOW_SYMBOL = Symbol.for("MODERN_WORKFLOW");
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1685383616364",
18
+ "version": "0.0.0-next-1685436485731",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -33,15 +33,15 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@swc/helpers": "0.5.1",
36
- "@modern-js/utils": "0.0.0-next-1685383616364"
36
+ "@modern-js/utils": "0.0.0-next-1685436485731"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jest": "^29",
40
40
  "@types/node": "^14",
41
41
  "typescript": "^5",
42
42
  "jest": "^29",
43
- "@scripts/build": "0.0.0-next-1685383616364",
44
- "@scripts/jest-config": "0.0.0-next-1685383616364"
43
+ "@scripts/build": "0.0.0-next-1685436485731",
44
+ "@scripts/jest-config": "0.0.0-next-1685436485731"
45
45
  },
46
46
  "sideEffects": false,
47
47
  "publishConfig": {