@modern-js/plugin-worker 0.0.0-next-1685297213448 → 0.0.0-next-1685369216913

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,14 +1,15 @@
1
1
  # @modern-js/plugin-worker
2
2
 
3
- ## 0.0.0-next-1685297213448
3
+ ## 0.0.0-next-1685369216913
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [3d48836b3]
8
+ - Updated dependencies [5050e8e6b]
8
9
  - Updated dependencies [4991c8ad0]
9
- - @modern-js/utils@0.0.0-next-1685297213448
10
- - @modern-js/prod-server@0.0.0-next-1685297213448
11
- - @modern-js/server-utils@0.0.0-next-1685297213448
10
+ - @modern-js/utils@0.0.0-next-1685369216913
11
+ - @modern-js/prod-server@0.0.0-next-1685369216913
12
+ - @modern-js/server-utils@0.0.0-next-1685369216913
12
13
 
13
14
  ## 2.21.1
14
15
 
package/dist/cjs/code.js CHANGED
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "worker", {
6
6
  enumerable: true,
7
- get: () => worker
7
+ get: function() {
8
+ return worker;
9
+ }
8
10
  });
9
11
  const worker = () => `
10
12
  // work entry code
@@ -10,11 +10,21 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- WORKER_SERVER: () => WORKER_SERVER,
14
- WORKER_SERVER_ENTRY: () => WORKER_SERVER_ENTRY,
15
- MANIFEST_FILE: () => MANIFEST_FILE,
16
- PKG_FILE: () => PKG_FILE,
17
- WRANGLER_FILE: () => WRANGLER_FILE
13
+ WORKER_SERVER: function() {
14
+ return WORKER_SERVER;
15
+ },
16
+ WORKER_SERVER_ENTRY: function() {
17
+ return WORKER_SERVER_ENTRY;
18
+ },
19
+ MANIFEST_FILE: function() {
20
+ return MANIFEST_FILE;
21
+ },
22
+ PKG_FILE: function() {
23
+ return PKG_FILE;
24
+ },
25
+ WRANGLER_FILE: function() {
26
+ return WRANGLER_FILE;
27
+ }
18
28
  });
19
29
  const WORKER_SERVER = "worker-server";
20
30
  const WORKER_SERVER_ENTRY = "index.js";
package/dist/cjs/index.js CHANGED
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "default", {
6
6
  enumerable: true,
7
- get: () => _default
7
+ get: function() {
8
+ return _default;
9
+ }
8
10
  });
9
11
  const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
10
12
  const _path = /* @__PURE__ */ _interop_require_default._(require("path"));
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1685297213448",
18
+ "version": "0.0.0-next-1685369216913",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "jsnext:source": "./src/index.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -43,20 +43,20 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@swc/helpers": "0.5.1",
46
- "@modern-js/server-utils": "0.0.0-next-1685297213448",
47
- "@modern-js/utils": "0.0.0-next-1685297213448",
48
- "@modern-js/prod-server": "0.0.0-next-1685297213448"
46
+ "@modern-js/server-utils": "0.0.0-next-1685369216913",
47
+ "@modern-js/utils": "0.0.0-next-1685369216913",
48
+ "@modern-js/prod-server": "0.0.0-next-1685369216913"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "^5",
52
52
  "@types/jest": "^29",
53
53
  "@types/node": "^14",
54
54
  "jest": "^29",
55
- "@modern-js/app-tools": "0.0.0-next-1685297213448",
56
- "@modern-js/core": "0.0.0-next-1685297213448",
57
- "@scripts/build": "0.0.0-next-1685297213448",
58
- "@modern-js/types": "0.0.0-next-1685297213448",
59
- "@scripts/jest-config": "0.0.0-next-1685297213448"
55
+ "@modern-js/app-tools": "0.0.0-next-1685369216913",
56
+ "@modern-js/core": "0.0.0-next-1685369216913",
57
+ "@scripts/build": "0.0.0-next-1685369216913",
58
+ "@modern-js/types": "0.0.0-next-1685369216913",
59
+ "@scripts/jest-config": "0.0.0-next-1685369216913"
60
60
  },
61
61
  "sideEffects": [
62
62
  "*.css",