@atlaspack/workers 2.12.1-dev.3567 → 2.13.1-canary.3630
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 +17 -0
- package/package.json +15 -8
- package/test/cpuCount.test.js +1 -0
- package/test/integration/workerfarm/console.js +2 -1
- package/test/integration/workerfarm/ipc-pid.js +2 -1
- package/test/integration/workerfarm/ipc.js +2 -1
- package/test/integration/workerfarm/logging.js +2 -1
- package/test/{workerfarm.js → workerfarm.test.cjs} +6 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @atlaspack/workers
|
|
2
|
+
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
|
|
12
|
+
- @atlaspack/build-cache@2.13.0
|
|
13
|
+
- @atlaspack/diagnostic@2.13.0
|
|
14
|
+
- @atlaspack/logger@2.13.0
|
|
15
|
+
- @atlaspack/profiler@2.13.0
|
|
16
|
+
- @atlaspack/types-internal@2.13.0
|
|
17
|
+
- @atlaspack/utils@2.13.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/workers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.1-canary.3630+10a6f37ef",
|
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,18 +16,25 @@
|
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">= 16.0.0"
|
|
18
18
|
},
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./index.d.ts",
|
|
22
|
+
"@atlaspack::sources": "./src/index.js",
|
|
23
|
+
"default": "./lib/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
19
26
|
"dependencies": {
|
|
20
|
-
"@atlaspack/build-cache": "2.
|
|
21
|
-
"@atlaspack/diagnostic": "2.
|
|
22
|
-
"@atlaspack/logger": "2.
|
|
23
|
-
"@atlaspack/profiler": "2.
|
|
24
|
-
"@atlaspack/types-internal": "2.
|
|
25
|
-
"@atlaspack/utils": "2.
|
|
27
|
+
"@atlaspack/build-cache": "2.13.1-canary.3630+10a6f37ef",
|
|
28
|
+
"@atlaspack/diagnostic": "2.13.1-canary.3630+10a6f37ef",
|
|
29
|
+
"@atlaspack/logger": "2.13.1-canary.3630+10a6f37ef",
|
|
30
|
+
"@atlaspack/profiler": "2.13.1-canary.3630+10a6f37ef",
|
|
31
|
+
"@atlaspack/types-internal": "2.13.1-canary.3630+10a6f37ef",
|
|
32
|
+
"@atlaspack/utils": "2.13.1-canary.3630+10a6f37ef",
|
|
26
33
|
"nullthrows": "^1.1.1"
|
|
27
34
|
},
|
|
28
35
|
"browser": {
|
|
29
36
|
"./src/process/ProcessWorker.js": false,
|
|
30
37
|
"./src/threads/ThreadsWorker.js": false
|
|
31
38
|
},
|
|
32
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "10a6f37ef063d0227ebb26310383e899dbd9b1e6"
|
|
33
40
|
}
|
package/test/cpuCount.test.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// NOTE: @atlaspack/logger exports object instances from the module.
|
|
2
|
+
// If there are issues, check all imports are using the same module instance/path
|
|
3
|
+
const Logger = require('@atlaspack/logger').default;
|
|
4
|
+
const assert = require('assert');
|
|
5
|
+
// eslint-disable-next-line @atlaspack/no-self-package-imports
|
|
6
|
+
const WorkerFarm = require('@atlaspack/workers').default;
|
|
4
7
|
|
|
5
8
|
describe('WorkerFarm', function () {
|
|
6
9
|
this.timeout(30000);
|