@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.
- package/node/cli-logger.d.ts +1 -2
- package/node/cli-logger.js +2 -3
- package/node/host.d.ts +1 -2
- package/node/host.js +1 -1
- package/node/index.d.ts +1 -1
- package/node/index.js +1 -1
- package/node/testing/index.d.ts +1 -2
- package/node/testing/index.js +1 -1
- package/package.json +12 -3
- package/src/exception.d.ts +1 -1
- package/src/exception.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/json/index.d.ts +1 -1
- package/src/json/index.js +1 -1
- package/src/json/schema/index.d.ts +1 -1
- package/src/json/schema/index.js +1 -1
- package/src/json/schema/interface.d.ts +1 -1
- package/src/json/schema/interface.js +1 -1
- package/src/json/schema/pointer.d.ts +1 -1
- package/src/json/schema/pointer.js +4 -5
- package/src/json/schema/registry.d.ts +1 -1
- package/src/json/schema/registry.js +1 -1
- package/src/json/schema/schema.d.ts +1 -1
- package/src/json/schema/schema.js +3 -4
- package/src/json/schema/transforms.d.ts +1 -1
- package/src/json/schema/transforms.js +2 -3
- package/src/json/schema/utility.d.ts +1 -1
- package/src/json/schema/utility.js +2 -3
- package/src/json/schema/visitor.d.ts +1 -1
- package/src/json/schema/visitor.js +3 -4
- package/src/json/utils.d.ts +1 -1
- package/src/json/utils.js +3 -4
- package/src/logger/indent.d.ts +1 -1
- package/src/logger/indent.js +1 -1
- package/src/logger/index.d.ts +1 -1
- package/src/logger/index.js +1 -1
- package/src/logger/level.d.ts +1 -1
- package/src/logger/level.js +1 -1
- package/src/logger/logger.d.ts +1 -1
- package/src/logger/logger.js +1 -1
- package/src/logger/null-logger.d.ts +1 -1
- package/src/logger/null-logger.js +1 -1
- package/src/logger/transform-logger.d.ts +1 -1
- package/src/logger/transform-logger.js +1 -1
- package/src/utils/index.d.ts +1 -1
- package/src/utils/index.js +1 -1
- package/src/utils/lang.d.ts +1 -1
- package/src/utils/lang.js +2 -3
- package/src/utils/literals.d.ts +1 -1
- package/src/utils/literals.js +6 -7
- package/src/utils/object.d.ts +1 -1
- package/src/utils/object.js +2 -3
- package/src/utils/partially-ordered-set.d.ts +1 -1
- package/src/utils/partially-ordered-set.js +1 -1
- package/src/utils/priority-queue.d.ts +1 -1
- package/src/utils/priority-queue.js +1 -1
- package/src/utils/strings.d.ts +1 -1
- package/src/utils/strings.js +8 -9
- package/src/utils/template.d.ts +1 -1
- package/src/utils/template.js +3 -4
- package/src/virtual-fs/host/alias.d.ts +1 -1
- package/src/virtual-fs/host/alias.js +1 -1
- package/src/virtual-fs/host/buffer.d.ts +1 -1
- package/src/virtual-fs/host/buffer.js +4 -4
- package/src/virtual-fs/host/create.d.ts +1 -1
- package/src/virtual-fs/host/create.js +2 -3
- package/src/virtual-fs/host/empty.d.ts +1 -1
- package/src/virtual-fs/host/empty.js +1 -1
- package/src/virtual-fs/host/index.d.ts +1 -1
- package/src/virtual-fs/host/index.js +1 -1
- package/src/virtual-fs/host/interface.d.ts +1 -1
- package/src/virtual-fs/host/interface.js +1 -1
- package/src/virtual-fs/host/memory.d.ts +1 -1
- package/src/virtual-fs/host/memory.js +1 -1
- package/src/virtual-fs/host/pattern.d.ts +1 -1
- package/src/virtual-fs/host/pattern.js +1 -1
- package/src/virtual-fs/host/record.d.ts +1 -1
- package/src/virtual-fs/host/record.js +1 -1
- package/src/virtual-fs/host/resolver.d.ts +1 -1
- package/src/virtual-fs/host/resolver.js +1 -1
- package/src/virtual-fs/host/safe.d.ts +1 -1
- package/src/virtual-fs/host/safe.js +1 -1
- package/src/virtual-fs/host/scoped.d.ts +1 -1
- package/src/virtual-fs/host/scoped.js +1 -1
- package/src/virtual-fs/host/sync.d.ts +1 -1
- package/src/virtual-fs/host/sync.js +1 -1
- package/src/virtual-fs/host/test.d.ts +1 -1
- package/src/virtual-fs/host/test.js +1 -1
- package/src/virtual-fs/index.d.ts +1 -1
- package/src/virtual-fs/index.js +1 -1
- package/src/virtual-fs/path.d.ts +1 -1
- package/src/virtual-fs/path.js +17 -17
- package/src/workspace/core.d.ts +1 -1
- package/src/workspace/core.js +6 -6
- package/src/workspace/definitions.d.ts +1 -1
- package/src/workspace/definitions.js +1 -1
- package/src/workspace/host.d.ts +1 -1
- package/src/workspace/host.js +2 -3
- package/src/workspace/index.d.ts +1 -1
- package/src/workspace/index.js +1 -1
- package/src/workspace/json/metadata.d.ts +1 -1
- package/src/workspace/json/metadata.js +1 -1
- package/src/workspace/json/reader.d.ts +1 -1
- package/src/workspace/json/reader.js +2 -3
- package/src/workspace/json/utilities.d.ts +1 -1
- package/src/workspace/json/utilities.js +2 -3
- package/src/workspace/json/writer.d.ts +1 -1
- package/src/workspace/json/writer.js +2 -3
package/src/utils/literals.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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export interface TemplateTag<R = string> {
|
|
9
9
|
(template: TemplateStringsArray, ...substitutions: any[]): R;
|
package/src/utils/literals.js
CHANGED
|
@@ -4,16 +4,19 @@
|
|
|
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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.oneLine = oneLine;
|
|
11
|
+
exports.indentBy = indentBy;
|
|
12
|
+
exports.stripIndent = stripIndent;
|
|
13
|
+
exports.stripIndents = stripIndents;
|
|
14
|
+
exports.trimNewlines = trimNewlines;
|
|
11
15
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
16
|
function oneLine(strings, ...values) {
|
|
13
17
|
const endResult = String.raw(strings, ...values);
|
|
14
18
|
return endResult.replace(/(?:\r?\n(?:\s*))+/gm, ' ').trim();
|
|
15
19
|
}
|
|
16
|
-
exports.oneLine = oneLine;
|
|
17
20
|
function indentBy(indentations) {
|
|
18
21
|
let i = '';
|
|
19
22
|
while (indentations--) {
|
|
@@ -23,7 +26,6 @@ function indentBy(indentations) {
|
|
|
23
26
|
return i + stripIndent(strings, ...values).replace(/\n/g, '\n' + i);
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
|
-
exports.indentBy = indentBy;
|
|
27
29
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
28
30
|
function stripIndent(strings, ...values) {
|
|
29
31
|
const endResult = String.raw(strings, ...values);
|
|
@@ -37,7 +39,6 @@ function stripIndent(strings, ...values) {
|
|
|
37
39
|
const regexp = new RegExp('^[ \\t]{' + indent + '}', 'gm');
|
|
38
40
|
return (indent > 0 ? endResult.replace(regexp, '') : endResult).trim();
|
|
39
41
|
}
|
|
40
|
-
exports.stripIndent = stripIndent;
|
|
41
42
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
42
43
|
function stripIndents(strings, ...values) {
|
|
43
44
|
return String.raw(strings, ...values)
|
|
@@ -46,7 +47,6 @@ function stripIndents(strings, ...values) {
|
|
|
46
47
|
.join('\n')
|
|
47
48
|
.trim();
|
|
48
49
|
}
|
|
49
|
-
exports.stripIndents = stripIndents;
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
51
51
|
function trimNewlines(strings, ...values) {
|
|
52
52
|
const endResult = String.raw(strings, ...values);
|
|
@@ -56,4 +56,3 @@ function trimNewlines(strings, ...values) {
|
|
|
56
56
|
// Remove the newline at the end and following whitespace.
|
|
57
57
|
.replace(/(?:\r?\n(?:\s*))$/, ''));
|
|
58
58
|
}
|
|
59
|
-
exports.trimNewlines = trimNewlines;
|
package/src/utils/object.d.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export declare function deepCopy<T>(value: T): T;
|
package/src/utils/object.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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.deepCopy =
|
|
10
|
+
exports.deepCopy = deepCopy;
|
|
11
11
|
const copySymbol = Symbol();
|
|
12
12
|
function deepCopy(value) {
|
|
13
13
|
if (Array.isArray(value)) {
|
|
@@ -34,4 +34,3 @@ function deepCopy(value) {
|
|
|
34
34
|
return value;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
exports.deepCopy = deepCopy;
|
|
@@ -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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { BaseException } from '../exception';
|
|
9
9
|
export declare class DependencyNotFoundException extends BaseException {
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.PartiallyOrderedSet = exports.CircularDependencyFoundException = exports.DependencyNotFoundException = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/** Naive priority queue; not intended for large datasets */
|
|
9
9
|
export declare class PriorityQueue<T> {
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.PriorityQueue = void 0;
|
package/src/utils/strings.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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Converts a camelized string into all lower case separated by underscores.
|
package/src/utils/strings.js
CHANGED
|
@@ -4,10 +4,16 @@
|
|
|
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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.decamelize = decamelize;
|
|
11
|
+
exports.dasherize = dasherize;
|
|
12
|
+
exports.camelize = camelize;
|
|
13
|
+
exports.classify = classify;
|
|
14
|
+
exports.underscore = underscore;
|
|
15
|
+
exports.capitalize = capitalize;
|
|
16
|
+
exports.levenshtein = levenshtein;
|
|
11
17
|
const STRING_DASHERIZE_REGEXP = /[ _]/g;
|
|
12
18
|
const STRING_DECAMELIZE_REGEXP = /([a-z\d])([A-Z])/g;
|
|
13
19
|
const STRING_CAMELIZE_REGEXP = /(-|_|\.|\s)+(.)?/g;
|
|
@@ -30,7 +36,6 @@ const STRING_UNDERSCORE_REGEXP_2 = /-|\s+/g;
|
|
|
30
36
|
function decamelize(str) {
|
|
31
37
|
return str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase();
|
|
32
38
|
}
|
|
33
|
-
exports.decamelize = decamelize;
|
|
34
39
|
/**
|
|
35
40
|
Replaces underscores, spaces, or camelCase with dashes.
|
|
36
41
|
|
|
@@ -48,7 +53,6 @@ exports.decamelize = decamelize;
|
|
|
48
53
|
function dasherize(str) {
|
|
49
54
|
return decamelize(str).replace(STRING_DASHERIZE_REGEXP, '-');
|
|
50
55
|
}
|
|
51
|
-
exports.dasherize = dasherize;
|
|
52
56
|
/**
|
|
53
57
|
Returns the lowerCamelCase form of a string.
|
|
54
58
|
|
|
@@ -71,7 +75,6 @@ function camelize(str) {
|
|
|
71
75
|
})
|
|
72
76
|
.replace(/^([A-Z])/, (match) => match.toLowerCase());
|
|
73
77
|
}
|
|
74
|
-
exports.camelize = camelize;
|
|
75
78
|
/**
|
|
76
79
|
Returns the UpperCamelCase form of a string.
|
|
77
80
|
|
|
@@ -93,7 +96,6 @@ function classify(str) {
|
|
|
93
96
|
.map((part) => capitalize(camelize(part)))
|
|
94
97
|
.join('');
|
|
95
98
|
}
|
|
96
|
-
exports.classify = classify;
|
|
97
99
|
/**
|
|
98
100
|
More general than decamelize. Returns the lower_case_and_underscored
|
|
99
101
|
form of a string.
|
|
@@ -115,7 +117,6 @@ function underscore(str) {
|
|
|
115
117
|
.replace(STRING_UNDERSCORE_REGEXP_2, '_')
|
|
116
118
|
.toLowerCase();
|
|
117
119
|
}
|
|
118
|
-
exports.underscore = underscore;
|
|
119
120
|
/**
|
|
120
121
|
Returns the Capitalized form of a string
|
|
121
122
|
|
|
@@ -133,7 +134,6 @@ exports.underscore = underscore;
|
|
|
133
134
|
function capitalize(str) {
|
|
134
135
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
135
136
|
}
|
|
136
|
-
exports.capitalize = capitalize;
|
|
137
137
|
/**
|
|
138
138
|
* Calculate the levenshtein distance of two strings.
|
|
139
139
|
* See https://en.wikipedia.org/wiki/Levenshtein_distance.
|
|
@@ -176,4 +176,3 @@ function levenshtein(a, b) {
|
|
|
176
176
|
}
|
|
177
177
|
return matrix[b.length][a.length];
|
|
178
178
|
}
|
|
179
|
-
exports.levenshtein = levenshtein;
|
package/src/utils/template.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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Position } from 'source-map';
|
|
9
9
|
export interface TemplateOptions {
|
package/src/utils/template.js
CHANGED
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.templateParser = templateParser;
|
|
11
|
+
exports.template = template;
|
|
11
12
|
const source_map_1 = require("source-map");
|
|
12
13
|
// Matches <%= expr %>. This does not support structural JavaScript (for/if/...).
|
|
13
14
|
const kInterpolateRe = /<%=([\s\S]+?)%>/g;
|
|
@@ -105,7 +106,6 @@ function templateParser(sourceText, fileName) {
|
|
|
105
106
|
children,
|
|
106
107
|
};
|
|
107
108
|
}
|
|
108
|
-
exports.templateParser = templateParser;
|
|
109
109
|
/**
|
|
110
110
|
* Fastest implementation of the templating algorithm. It only add strings and does not bother
|
|
111
111
|
* with source maps.
|
|
@@ -259,4 +259,3 @@ function template(content, options) {
|
|
|
259
259
|
result.source = source;
|
|
260
260
|
return result;
|
|
261
261
|
}
|
|
262
|
-
exports.template = template;
|
|
@@ -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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Path } from '../path';
|
|
9
9
|
import { ResolverHost } from './resolver';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.AliasHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { TemplateTag } from '../../utils/literals';
|
|
9
9
|
import { FileBuffer } from './interface';
|
|
@@ -4,22 +4,22 @@
|
|
|
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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.fileBuffer =
|
|
10
|
+
exports.fileBuffer = void 0;
|
|
11
|
+
exports.stringToFileBuffer = stringToFileBuffer;
|
|
12
|
+
exports.fileBufferToString = fileBufferToString;
|
|
11
13
|
const node_util_1 = require("node:util");
|
|
12
14
|
function stringToFileBuffer(str) {
|
|
13
15
|
return new node_util_1.TextEncoder().encode(str).buffer;
|
|
14
16
|
}
|
|
15
|
-
exports.stringToFileBuffer = stringToFileBuffer;
|
|
16
17
|
function fileBufferToString(fileBuffer) {
|
|
17
18
|
if (fileBuffer.toString.length === 1) {
|
|
18
19
|
return fileBuffer.toString('utf-8');
|
|
19
20
|
}
|
|
20
21
|
return new node_util_1.TextDecoder('utf-8').decode(new Uint8Array(fileBuffer));
|
|
21
22
|
}
|
|
22
|
-
exports.fileBufferToString = fileBufferToString;
|
|
23
23
|
/** @deprecated use `stringToFileBuffer` instead. */
|
|
24
24
|
const fileBuffer = (strings, ...values) => {
|
|
25
25
|
return stringToFileBuffer(String.raw(strings, ...values));
|
|
@@ -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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Path, PathFragment } from '../path';
|
|
9
9
|
import { FileBuffer, FileBufferLike, Host, Stats } 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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.createSyncHost =
|
|
10
|
+
exports.createSyncHost = createSyncHost;
|
|
11
11
|
const rxjs_1 = require("rxjs");
|
|
12
12
|
function wrapAction(action) {
|
|
13
13
|
return new rxjs_1.Observable((subscriber) => {
|
|
@@ -52,4 +52,3 @@ function createSyncHost(handler) {
|
|
|
52
52
|
}
|
|
53
53
|
})();
|
|
54
54
|
}
|
|
55
|
-
exports.createSyncHost = createSyncHost;
|
|
@@ -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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.Empty = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as test from './test';
|
|
9
9
|
export * from './alias';
|
|
@@ -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.
|
|
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.HostWatchEventType = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SimpleMemoryHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Path } from '../path';
|
|
9
9
|
import { ResolverHost } from './resolver';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.PatternMatchingHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.CordHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ResolverHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SafeReadonlyHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Path } from '../path';
|
|
9
9
|
import { Host } 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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ScopedHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { BaseException } from '../../exception';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SyncDelegateHost = exports.SynchronousDelegateExpectedException = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { Path, PathFragment } from '../path';
|
|
@@ -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.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.TestHost = 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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as virtualFs from './host/index';
|
|
9
9
|
export * from './path';
|
package/src/virtual-fs/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.
|
|
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/src/virtual-fs/path.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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { BaseException } from '../exception';
|
|
9
9
|
import { TemplateTag } from '../utils/literals';
|