@angular-devkit/core 12.1.0-next.5 → 12.1.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.
@@ -6,7 +6,26 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
9
28
  Object.defineProperty(exports, "__esModule", { value: true });
10
29
  exports.jobs = void 0;
11
- const jobs = require("./jobs");
30
+ const jobs = __importStar(require("./jobs"));
12
31
  exports.jobs = jobs;
package/node/index.js CHANGED
@@ -13,14 +13,26 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  if (k2 === undefined) k2 = k;
14
14
  o[k2] = m[k];
15
15
  }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
30
  };
19
31
  Object.defineProperty(exports, "__esModule", { value: true });
20
32
  exports.fs = exports.experimental = void 0;
21
- const experimental = require("./experimental/jobs/job-registry");
33
+ const experimental = __importStar(require("./experimental/jobs/job-registry"));
22
34
  exports.experimental = experimental;
23
- const fs = require("./fs");
35
+ const fs = __importStar(require("./fs"));
24
36
  exports.fs = fs;
25
37
  __exportStar(require("./cli-logger"), exports);
26
38
  __exportStar(require("./host"), exports);
@@ -6,11 +6,30 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
9
28
  Object.defineProperty(exports, "__esModule", { value: true });
10
29
  exports.TempScopedNodeJsSyncHost = void 0;
11
- const fs = require("fs");
12
- const os = require("os");
13
- const path = require("path");
30
+ const fs = __importStar(require("fs"));
31
+ const os = __importStar(require("os"));
32
+ const path = __importStar(require("path"));
14
33
  const src_1 = require("../../src");
15
34
  const host_1 = require("../host");
16
35
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/core",
3
- "version": "12.1.0-next.5",
3
+ "version": "12.1.2",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -6,7 +6,26 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
9
28
  Object.defineProperty(exports, "__esModule", { value: true });
10
29
  exports.jobs = void 0;
11
- const jobs = require("./experimental/jobs/index");
30
+ const jobs = __importStar(require("./experimental/jobs/index"));
12
31
  exports.jobs = jobs;
package/src/index.js CHANGED
@@ -13,20 +13,32 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  if (k2 === undefined) k2 = k;
14
14
  o[k2] = m[k];
15
15
  }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
30
  };
19
31
  Object.defineProperty(exports, "__esModule", { value: true });
20
32
  exports.workspaces = exports.logging = exports.json = exports.experimental = exports.analytics = void 0;
21
- const analytics = require("./analytics");
33
+ const analytics = __importStar(require("./analytics"));
22
34
  exports.analytics = analytics;
23
- const experimental = require("./experimental");
35
+ const experimental = __importStar(require("./experimental"));
24
36
  exports.experimental = experimental;
25
- const json = require("./json/index");
37
+ const json = __importStar(require("./json/index"));
26
38
  exports.json = json;
27
- const logging = require("./logger/index");
39
+ const logging = __importStar(require("./logger/index"));
28
40
  exports.logging = logging;
29
- const workspaces = require("./workspace");
41
+ const workspaces = __importStar(require("./workspace"));
30
42
  exports.workspaces = workspaces;
31
43
  __exportStar(require("./exception/exception"), exports);
32
44
  __exportStar(require("./json/index"), exports);
package/src/json/index.js CHANGED
@@ -13,12 +13,24 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  if (k2 === undefined) k2 = k;
14
14
  o[k2] = m[k];
15
15
  }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
30
  };
19
31
  Object.defineProperty(exports, "__esModule", { value: true });
20
32
  exports.schema = void 0;
21
- const schema = require("./schema/index");
33
+ const schema = __importStar(require("./schema/index"));
22
34
  exports.schema = schema;
23
35
  __exportStar(require("./interface"), exports);
24
36
  __exportStar(require("./parser"), exports);
@@ -13,12 +13,24 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  if (k2 === undefined) k2 = k;
14
14
  o[k2] = m[k];
15
15
  }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
30
  };
19
31
  Object.defineProperty(exports, "__esModule", { value: true });
20
32
  exports.transforms = void 0;
21
- const transforms = require("./transforms");
33
+ const transforms = __importStar(require("./transforms"));
22
34
  exports.transforms = transforms;
23
35
  __exportStar(require("./interface"), exports);
24
36
  __exportStar(require("./pointer"), exports);
@@ -6,15 +6,37 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
9
31
  Object.defineProperty(exports, "__esModule", { value: true });
10
32
  exports.CoreSchemaRegistry = exports.SchemaValidationException = void 0;
11
- const ajv_1 = require("ajv");
12
- const ajv_formats_1 = require("ajv-formats");
13
- const http = require("http");
14
- const https = require("https");
33
+ const ajv_1 = __importDefault(require("ajv"));
34
+ const ajv_formats_1 = __importDefault(require("ajv-formats"));
35
+ const http = __importStar(require("http"));
36
+ const https = __importStar(require("https"));
15
37
  const rxjs_1 = require("rxjs");
16
38
  const operators_1 = require("rxjs/operators");
17
- const Url = require("url");
39
+ const Url = __importStar(require("url"));
18
40
  const exception_1 = require("../../exception/exception");
19
41
  const utils_1 = require("../../utils");
20
42
  const interface_1 = require("../interface");
@@ -13,14 +13,26 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  if (k2 === undefined) k2 = k;
14
14
  o[k2] = m[k];
15
15
  }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
30
  };
19
31
  Object.defineProperty(exports, "__esModule", { value: true });
20
32
  exports.strings = exports.tags = void 0;
21
- const tags = require("./literals");
33
+ const tags = __importStar(require("./literals"));
22
34
  exports.tags = tags;
23
- const strings = require("./strings");
35
+ const strings = __importStar(require("./strings"));
24
36
  exports.strings = strings;
25
37
  __exportStar(require("./array"), exports);
26
38
  __exportStar(require("./object"), exports);
@@ -13,11 +13,23 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  if (k2 === undefined) k2 = k;
14
14
  o[k2] = m[k];
15
15
  }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
16
28
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
30
  };
19
31
  Object.defineProperty(exports, "__esModule", { value: true });
20
32
  exports.virtualFs = void 0;
21
- const virtualFs = require("./host/index");
33
+ const virtualFs = __importStar(require("./host/index"));
22
34
  exports.virtualFs = virtualFs;
23
35
  __exportStar(require("./path"), exports);
@@ -6,9 +6,12 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
+ var __importDefault = (this && this.__importDefault) || function (mod) {
10
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11
+ };
9
12
  Object.defineProperty(exports, "__esModule", { value: true });
10
13
  exports.writeJsonWorkspace = void 0;
11
- const magic_string_1 = require("magic-string");
14
+ const magic_string_1 = __importDefault(require("magic-string"));
12
15
  const metadata_1 = require("./metadata");
13
16
  const utilities_1 = require("./utilities");
14
17
  async function writeJsonWorkspace(workspace, host, path, options = {}) {