@angular-devkit/core 20.2.0-next.0 → 20.2.0-next.2
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/node/testing/index.js +2 -1
- package/package.json +3 -3
package/node/testing/index.js
CHANGED
|
@@ -41,6 +41,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
41
41
|
})();
|
|
42
42
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
43
|
exports.TempScopedNodeJsSyncHost = void 0;
|
|
44
|
+
const crypto = __importStar(require("node:crypto"));
|
|
44
45
|
const fs = __importStar(require("node:fs"));
|
|
45
46
|
const os = __importStar(require("node:os"));
|
|
46
47
|
const path = __importStar(require("node:path"));
|
|
@@ -53,7 +54,7 @@ class TempScopedNodeJsSyncHost extends src_1.virtualFs.ScopedHost {
|
|
|
53
54
|
_sync;
|
|
54
55
|
_root;
|
|
55
56
|
constructor() {
|
|
56
|
-
const root = (0, src_1.normalize)(path.join(os.tmpdir(), `devkit-host-${
|
|
57
|
+
const root = (0, src_1.normalize)(path.join(os.tmpdir(), `devkit-host-${crypto.randomUUID()}-${process.pid}`));
|
|
57
58
|
fs.mkdirSync((0, src_1.getSystemPath)(root));
|
|
58
59
|
super(new host_1.NodeJsSyncHost(), root);
|
|
59
60
|
this._root = root;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/core",
|
|
3
|
-
"version": "20.2.0-next.
|
|
3
|
+
"version": "20.2.0-next.2",
|
|
4
4
|
"description": "Angular DevKit - Core Utility Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"ajv": "8.17.1",
|
|
34
34
|
"ajv-formats": "3.0.1",
|
|
35
35
|
"jsonc-parser": "3.3.1",
|
|
36
|
-
"picomatch": "4.0.
|
|
36
|
+
"picomatch": "4.0.3",
|
|
37
37
|
"rxjs": "7.8.2",
|
|
38
|
-
"source-map": "0.7.
|
|
38
|
+
"source-map": "0.7.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"chokidar": "^4.0.0"
|