@angular-devkit/core 18.1.0-next.0 → 18.1.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.
Files changed (109) hide show
  1. package/node/cli-logger.d.ts +1 -2
  2. package/node/cli-logger.js +2 -3
  3. package/node/host.d.ts +1 -2
  4. package/node/host.js +1 -1
  5. package/node/index.d.ts +1 -1
  6. package/node/index.js +1 -1
  7. package/node/testing/index.d.ts +1 -2
  8. package/node/testing/index.js +1 -1
  9. package/package.json +12 -3
  10. package/src/exception.d.ts +1 -1
  11. package/src/exception.js +1 -1
  12. package/src/index.d.ts +1 -1
  13. package/src/index.js +1 -1
  14. package/src/json/index.d.ts +1 -1
  15. package/src/json/index.js +1 -1
  16. package/src/json/schema/index.d.ts +1 -1
  17. package/src/json/schema/index.js +1 -1
  18. package/src/json/schema/interface.d.ts +1 -1
  19. package/src/json/schema/interface.js +1 -1
  20. package/src/json/schema/pointer.d.ts +1 -1
  21. package/src/json/schema/pointer.js +4 -5
  22. package/src/json/schema/registry.d.ts +1 -1
  23. package/src/json/schema/registry.js +1 -1
  24. package/src/json/schema/schema.d.ts +1 -1
  25. package/src/json/schema/schema.js +3 -4
  26. package/src/json/schema/transforms.d.ts +1 -1
  27. package/src/json/schema/transforms.js +2 -3
  28. package/src/json/schema/utility.d.ts +1 -1
  29. package/src/json/schema/utility.js +2 -3
  30. package/src/json/schema/visitor.d.ts +1 -1
  31. package/src/json/schema/visitor.js +3 -4
  32. package/src/json/utils.d.ts +1 -1
  33. package/src/json/utils.js +3 -4
  34. package/src/logger/indent.d.ts +1 -1
  35. package/src/logger/indent.js +1 -1
  36. package/src/logger/index.d.ts +1 -1
  37. package/src/logger/index.js +1 -1
  38. package/src/logger/level.d.ts +1 -1
  39. package/src/logger/level.js +1 -1
  40. package/src/logger/logger.d.ts +1 -1
  41. package/src/logger/logger.js +1 -1
  42. package/src/logger/null-logger.d.ts +1 -1
  43. package/src/logger/null-logger.js +1 -1
  44. package/src/logger/transform-logger.d.ts +1 -1
  45. package/src/logger/transform-logger.js +1 -1
  46. package/src/utils/index.d.ts +1 -1
  47. package/src/utils/index.js +1 -1
  48. package/src/utils/lang.d.ts +1 -1
  49. package/src/utils/lang.js +2 -3
  50. package/src/utils/literals.d.ts +1 -1
  51. package/src/utils/literals.js +6 -7
  52. package/src/utils/object.d.ts +1 -1
  53. package/src/utils/object.js +2 -3
  54. package/src/utils/partially-ordered-set.d.ts +1 -1
  55. package/src/utils/partially-ordered-set.js +1 -1
  56. package/src/utils/priority-queue.d.ts +1 -1
  57. package/src/utils/priority-queue.js +1 -1
  58. package/src/utils/strings.d.ts +1 -1
  59. package/src/utils/strings.js +8 -9
  60. package/src/utils/template.d.ts +1 -1
  61. package/src/utils/template.js +3 -4
  62. package/src/virtual-fs/host/alias.d.ts +1 -1
  63. package/src/virtual-fs/host/alias.js +1 -1
  64. package/src/virtual-fs/host/buffer.d.ts +1 -1
  65. package/src/virtual-fs/host/buffer.js +4 -4
  66. package/src/virtual-fs/host/create.d.ts +1 -1
  67. package/src/virtual-fs/host/create.js +2 -3
  68. package/src/virtual-fs/host/empty.d.ts +1 -1
  69. package/src/virtual-fs/host/empty.js +1 -1
  70. package/src/virtual-fs/host/index.d.ts +1 -1
  71. package/src/virtual-fs/host/index.js +1 -1
  72. package/src/virtual-fs/host/interface.d.ts +1 -1
  73. package/src/virtual-fs/host/interface.js +1 -1
  74. package/src/virtual-fs/host/memory.d.ts +1 -1
  75. package/src/virtual-fs/host/memory.js +1 -1
  76. package/src/virtual-fs/host/pattern.d.ts +1 -1
  77. package/src/virtual-fs/host/pattern.js +1 -1
  78. package/src/virtual-fs/host/record.d.ts +1 -1
  79. package/src/virtual-fs/host/record.js +1 -1
  80. package/src/virtual-fs/host/resolver.d.ts +1 -1
  81. package/src/virtual-fs/host/resolver.js +1 -1
  82. package/src/virtual-fs/host/safe.d.ts +1 -1
  83. package/src/virtual-fs/host/safe.js +1 -1
  84. package/src/virtual-fs/host/scoped.d.ts +1 -1
  85. package/src/virtual-fs/host/scoped.js +1 -1
  86. package/src/virtual-fs/host/sync.d.ts +1 -1
  87. package/src/virtual-fs/host/sync.js +1 -1
  88. package/src/virtual-fs/host/test.d.ts +1 -1
  89. package/src/virtual-fs/host/test.js +1 -1
  90. package/src/virtual-fs/index.d.ts +1 -1
  91. package/src/virtual-fs/index.js +1 -1
  92. package/src/virtual-fs/path.d.ts +1 -1
  93. package/src/virtual-fs/path.js +17 -17
  94. package/src/workspace/core.d.ts +1 -1
  95. package/src/workspace/core.js +6 -6
  96. package/src/workspace/definitions.d.ts +1 -1
  97. package/src/workspace/definitions.js +1 -1
  98. package/src/workspace/host.d.ts +1 -1
  99. package/src/workspace/host.js +2 -3
  100. package/src/workspace/index.d.ts +1 -1
  101. package/src/workspace/index.js +1 -1
  102. package/src/workspace/json/metadata.d.ts +1 -1
  103. package/src/workspace/json/metadata.js +1 -1
  104. package/src/workspace/json/reader.d.ts +1 -1
  105. package/src/workspace/json/reader.js +2 -3
  106. package/src/workspace/json/utilities.d.ts +1 -1
  107. package/src/workspace/json/utilities.js +2 -3
  108. package/src/workspace/json/writer.d.ts +1 -1
  109. package/src/workspace/json/writer.js +2 -3
@@ -3,9 +3,8 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- /// <reference types="node" />
9
8
  import { logging } from '../src';
10
9
  export interface ProcessOutput {
11
10
  write(buffer: string | Buffer): boolean;
@@ -4,10 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.createConsoleLogger = void 0;
10
+ exports.createConsoleLogger = createConsoleLogger;
11
11
  const rxjs_1 = require("rxjs");
12
12
  const src_1 = require("../src");
13
13
  /**
@@ -55,4 +55,3 @@ function createConsoleLogger(verbose = false, stdout = process.stdout, stderr =
55
55
  });
56
56
  return logger;
57
57
  }
58
- exports.createConsoleLogger = createConsoleLogger;
package/node/host.d.ts CHANGED
@@ -3,9 +3,8 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- /// <reference types="node" />
9
8
  import { Stats } from 'node:fs';
10
9
  import { Observable } from 'rxjs';
11
10
  import { Path, PathFragment, virtualFs } from '../src';
package/node/host.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.NodeJsSyncHost = exports.NodeJsAsyncHost = void 0;
package/node/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  export * from './cli-logger';
9
9
  export * from './host';
package/node/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,9 +3,8 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- /// <reference types="node" />
9
8
  import * as fs from 'fs';
10
9
  import { Path, virtualFs } from '../../src';
11
10
  /**
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/core",
3
- "version": "18.1.0-next.0",
3
+ "version": "18.1.0-next.2",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -30,8 +30,8 @@
30
30
  "./*.js": "./*.js"
31
31
  },
32
32
  "dependencies": {
33
+ "ajv": "8.16.0",
33
34
  "ajv-formats": "3.0.1",
34
- "ajv": "8.14.0",
35
35
  "jsonc-parser": "3.2.1",
36
36
  "picomatch": "4.0.2",
37
37
  "rxjs": "7.8.1",
@@ -45,6 +45,7 @@
45
45
  "optional": true
46
46
  }
47
47
  },
48
+ "packageManager": "yarn@4.2.2",
48
49
  "repository": {
49
50
  "type": "git",
50
51
  "url": "https://github.com/angular/angular-cli.git"
@@ -59,5 +60,13 @@
59
60
  "bugs": {
60
61
  "url": "https://github.com/angular/angular-cli/issues"
61
62
  },
62
- "homepage": "https://github.com/angular/angular-cli"
63
+ "homepage": "https://github.com/angular/angular-cli",
64
+ "dependenciesMeta": {
65
+ "esbuild": {
66
+ "built": true
67
+ },
68
+ "puppeteer": {
69
+ "built": true
70
+ }
71
+ }
63
72
  }
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  export declare class BaseException extends Error {
9
9
  constructor(message?: string);
package/src/exception.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.PathIsFileException = exports.PathIsDirectoryException = exports.FileAlreadyExistException = exports.FileDoesNotExistException = exports.UnknownException = exports.BaseException = void 0;
package/src/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import * as json from './json/index';
9
9
  import * as logging from './logger/index';
package/src/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import * as schema from './schema/index';
9
9
  export * from './utils';
package/src/json/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import * as transforms from './transforms';
9
9
  export * from './interface';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { ErrorObject, Format } from 'ajv';
9
9
  import { Observable, ObservableInput } from 'rxjs';
@@ -4,6 +4,6 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { JsonPointer } from './interface';
9
9
  export declare function buildJsonPointer(fragments: string[]): JsonPointer;
@@ -4,10 +4,12 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.parseJsonPointer = exports.joinJsonPointer = exports.buildJsonPointer = void 0;
10
+ exports.buildJsonPointer = buildJsonPointer;
11
+ exports.joinJsonPointer = joinJsonPointer;
12
+ exports.parseJsonPointer = parseJsonPointer;
11
13
  function buildJsonPointer(fragments) {
12
14
  return ('/' +
13
15
  fragments
@@ -16,14 +18,12 @@ function buildJsonPointer(fragments) {
16
18
  })
17
19
  .join('/'));
18
20
  }
19
- exports.buildJsonPointer = buildJsonPointer;
20
21
  function joinJsonPointer(root, ...others) {
21
22
  if (root == '/') {
22
23
  return buildJsonPointer(others);
23
24
  }
24
25
  return (root + buildJsonPointer(others));
25
26
  }
26
- exports.joinJsonPointer = joinJsonPointer;
27
27
  function parseJsonPointer(pointer) {
28
28
  if (pointer === '') {
29
29
  return [];
@@ -36,4 +36,3 @@ function parseJsonPointer(pointer) {
36
36
  .split(/\//)
37
37
  .map((str) => str.replace(/~1/g, '/').replace(/~0/g, '~'));
38
38
  }
39
- exports.parseJsonPointer = parseJsonPointer;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { ValidateFunction } from 'ajv';
9
9
  import { Observable } from 'rxjs';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { JsonObject } from '../utils';
9
9
  /**
@@ -4,15 +4,15 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.mergeSchemas = exports.isJsonSchema = void 0;
10
+ exports.isJsonSchema = isJsonSchema;
11
+ exports.mergeSchemas = mergeSchemas;
11
12
  const utils_1 = require("../utils");
12
13
  function isJsonSchema(value) {
13
14
  return (0, utils_1.isJsonObject)(value) || value === false || value === true;
14
15
  }
15
- exports.isJsonSchema = isJsonSchema;
16
16
  /**
17
17
  * Return a schema that is the merge of all subschemas, ie. it should validate all the schemas
18
18
  * that were passed in. It is possible to make an invalid schema this way, e.g. by using
@@ -49,4 +49,3 @@ function mergeSchemas(...schemas) {
49
49
  }
50
50
  }, true);
51
51
  }
52
- exports.mergeSchemas = mergeSchemas;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { JsonValue } from '../utils';
9
9
  import { JsonPointer } from './interface';
@@ -4,10 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.addUndefinedDefaults = void 0;
10
+ exports.addUndefinedDefaults = addUndefinedDefaults;
11
11
  const utils_1 = require("../utils");
12
12
  const utility_1 = require("./utility");
13
13
  function addUndefinedDefaults(value, _pointer, schema) {
@@ -91,4 +91,3 @@ function addUndefinedDefaults(value, _pointer, schema) {
91
91
  }
92
92
  return value;
93
93
  }
94
- exports.addUndefinedDefaults = addUndefinedDefaults;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { JsonSchema } from './schema';
9
9
  export declare function getTypesOfSchema(schema: JsonSchema): Set<string>;
@@ -4,10 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.getTypesOfSchema = void 0;
10
+ exports.getTypesOfSchema = getTypesOfSchema;
11
11
  const utils_1 = require("../utils");
12
12
  const allTypes = ['string', 'integer', 'number', 'object', 'array', 'boolean', 'null'];
13
13
  function getTypesOfSchema(schema) {
@@ -85,4 +85,3 @@ function getTypesOfSchema(schema) {
85
85
  }
86
86
  return potentials;
87
87
  }
88
- exports.getTypesOfSchema = getTypesOfSchema;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Observable } from 'rxjs';
9
9
  import { JsonObject, JsonValue } from '../utils';
@@ -4,10 +4,11 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.visitJsonSchema = exports.visitJson = void 0;
10
+ exports.visitJson = visitJson;
11
+ exports.visitJsonSchema = visitJsonSchema;
11
12
  const rxjs_1 = require("rxjs");
12
13
  const pointer_1 = require("./pointer");
13
14
  function _getObjectSubSchema(schema, key) {
@@ -84,7 +85,6 @@ function _visitJsonRecursive(json, visitor, ptr, schema, refResolver, context, r
84
85
  function visitJson(json, visitor, schema, refResolver, context) {
85
86
  return _visitJsonRecursive(json, visitor, (0, pointer_1.buildJsonPointer)([]), schema, refResolver, context);
86
87
  }
87
- exports.visitJson = visitJson;
88
88
  function visitJsonSchema(schema, visitor) {
89
89
  if (schema === false || schema === true) {
90
90
  // Nothing to visit.
@@ -144,4 +144,3 @@ function visitJsonSchema(schema, visitor) {
144
144
  }
145
145
  _traverse(schema, (0, pointer_1.buildJsonPointer)([]), schema);
146
146
  }
147
- exports.visitJsonSchema = visitJsonSchema;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  export interface JsonArray extends Array<JsonValue> {
9
9
  }
package/src/json/utils.js CHANGED
@@ -4,15 +4,14 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.isJsonArray = exports.isJsonObject = void 0;
10
+ exports.isJsonObject = isJsonObject;
11
+ exports.isJsonArray = isJsonArray;
11
12
  function isJsonObject(value) {
12
13
  return value != null && typeof value === 'object' && !Array.isArray(value);
13
14
  }
14
- exports.isJsonObject = isJsonObject;
15
15
  function isJsonArray(value) {
16
16
  return Array.isArray(value);
17
17
  }
18
- exports.isJsonArray = isJsonArray;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Logger } from './logger';
9
9
  export declare class IndentLogger extends Logger {
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.IndentLogger = void 0;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  export * from './indent';
9
9
  export * from './level';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { JsonObject } from '../json/utils';
9
9
  import { LogLevel, Logger } from './logger';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.LevelCapLogger = exports.LevelTransformLogger = void 0;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Observable, Operator, PartialObserver, Subject, Subscription } from 'rxjs';
9
9
  import { JsonObject } from '../json/utils';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.Logger = void 0;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Logger, LoggerApi } from './logger';
9
9
  export declare class NullLogger extends Logger {
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.NullLogger = void 0;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import { Observable } from 'rxjs';
9
9
  import { LogEntry, Logger } from './logger';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.TransformLogger = void 0;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import * as tags from './literals';
9
9
  import * as strings from './strings';
@@ -4,7 +4,7 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
@@ -3,7 +3,7 @@
3
3
  * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
6
+ * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  /**
9
9
  * Determine if the argument is shaped like a Promise
package/src/utils/lang.js CHANGED
@@ -4,10 +4,10 @@
4
4
  * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.io/license
7
+ * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.isPromise = void 0;
10
+ exports.isPromise = isPromise;
11
11
  // Borrowed from @angular/core
12
12
  /**
13
13
  * Determine if the argument is shaped like a Promise
@@ -18,4 +18,3 @@ function isPromise(obj) {
18
18
  // It's up to the caller to ensure that obj.then conforms to the spec
19
19
  return !!obj && typeof obj.then === 'function';
20
20
  }
21
- exports.isPromise = isPromise;