@angular/core 19.1.1 → 19.1.3
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/fesm2022/core.mjs +2773 -2600
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +97 -6
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +8 -12
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +42 -1
- package/rxjs-interop/index.d.ts +2 -2
- package/schematics/bundles/{apply_import_manager-5082ccea.js → apply_import_manager-40cd5384.js} +3 -3
- package/schematics/bundles/{checker-aa999c96.js → checker-ca858016.js} +40 -7
- package/schematics/bundles/cleanup-unused-imports.js +54 -21
- package/schematics/bundles/{compiler_host-f0b570c8.js → compiler_host-68e159d5.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +5 -5
- package/schematics/bundles/{imports-31a38653.js → imports-abe29092.js} +1 -1
- package/schematics/bundles/{index-02a11f43.js → index-761b9f6f.js} +4 -4
- package/schematics/bundles/{index-15b61bae.js → index-d05029f9.js} +4 -4
- package/schematics/bundles/inject-migration.js +6 -6
- package/schematics/bundles/{leading_space-6e7a8ec6.js → leading_space-d190b83b.js} +1 -1
- package/schematics/bundles/{migrate_ts_type_references-042ca765.js → migrate_ts_type_references-8d015538.js} +6 -6
- package/schematics/bundles/{nodes-88c2157f.js → nodes-a9f0b985.js} +2 -2
- package/schematics/bundles/output-migration.js +6 -6
- package/schematics/bundles/pending-tasks.js +5 -5
- package/schematics/bundles/{program-393ca8f3.js → program-8e222816.js} +52 -22
- package/schematics/bundles/{project_tsconfig_paths-6c9cde78.js → project_tsconfig_paths-e9ccccbf.js} +1 -1
- package/schematics/bundles/provide-initializer.js +5 -5
- package/schematics/bundles/route-lazy-loading.js +4 -4
- package/schematics/bundles/signal-input-migration.js +8 -8
- package/schematics/bundles/signal-queries-migration.js +8 -8
- package/schematics/bundles/signals.js +8 -8
- package/schematics/bundles/standalone-migration.js +8 -8
- package/testing/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.1.
|
|
2
|
+
* @license Angular v19.1.3
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
export declare type ComputationFn<S, D> = (source: S, previous?: {
|
|
9
|
+
source: S;
|
|
10
|
+
value: D;
|
|
11
|
+
}) => D;
|
|
12
|
+
|
|
8
13
|
declare type ComputedGetter<T> = (() => T) & {
|
|
9
14
|
[SIGNAL]: ComputedNode<T>;
|
|
10
15
|
};
|
|
@@ -66,6 +71,8 @@ export declare function consumerPollProducersForChange(node: ReactiveNode): bool
|
|
|
66
71
|
*/
|
|
67
72
|
export declare function createComputed<T>(computation: () => T): ComputedGetter<T>;
|
|
68
73
|
|
|
74
|
+
export declare function createLinkedSignal<S, D>(sourceFn: () => S, computationFn: ComputationFn<S, D>, equalityFn?: ValueEqualityFn<D>): LinkedSignalGetter<S, D>;
|
|
75
|
+
|
|
69
76
|
/**
|
|
70
77
|
* Create a `Signal` that can be set or updated directly.
|
|
71
78
|
*/
|
|
@@ -84,6 +91,40 @@ export declare function isInNotificationPhase(): boolean;
|
|
|
84
91
|
|
|
85
92
|
export declare function isReactive(value: unknown): value is Reactive;
|
|
86
93
|
|
|
94
|
+
export declare type LinkedSignalGetter<S, D> = (() => D) & {
|
|
95
|
+
[SIGNAL]: LinkedSignalNode<S, D>;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export declare interface LinkedSignalNode<S, D> extends ReactiveNode {
|
|
99
|
+
/**
|
|
100
|
+
* Value of the source signal that was used to derive the computed value.
|
|
101
|
+
*/
|
|
102
|
+
sourceValue: S;
|
|
103
|
+
/**
|
|
104
|
+
* Current state value, or one of the sentinel values (`UNSET`, `COMPUTING`,
|
|
105
|
+
* `ERROR`).
|
|
106
|
+
*/
|
|
107
|
+
value: D;
|
|
108
|
+
/**
|
|
109
|
+
* If `value` is `ERRORED`, the error caught from the last computation attempt which will
|
|
110
|
+
* be re-thrown.
|
|
111
|
+
*/
|
|
112
|
+
error: unknown;
|
|
113
|
+
/**
|
|
114
|
+
* The source function represents reactive dependency based on which the linked state is reset.
|
|
115
|
+
*/
|
|
116
|
+
source: () => S;
|
|
117
|
+
/**
|
|
118
|
+
* The computation function which will produce a new value based on the source and, optionally - previous values.
|
|
119
|
+
*/
|
|
120
|
+
computation: ComputationFn<S, D>;
|
|
121
|
+
equal: ValueEqualityFn<D>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export declare function linkedSignalSetFn<S, D>(node: LinkedSignalNode<S, D>, newValue: D): void;
|
|
125
|
+
|
|
126
|
+
export declare function linkedSignalUpdateFn<S, D>(node: LinkedSignalNode<S, D>, updater: (value: D) => D): void;
|
|
127
|
+
|
|
87
128
|
/**
|
|
88
129
|
* Called by implementations when a producer's signal is read.
|
|
89
130
|
*/
|
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.1.
|
|
2
|
+
* @license Angular v19.1.3
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -71,7 +71,7 @@ export declare function pendingUntilEvent<T>(injector?: Injector): MonoTypeOpera
|
|
|
71
71
|
*
|
|
72
72
|
* @experimental
|
|
73
73
|
*/
|
|
74
|
-
export declare function rxResource<T, R>(opts: RxResourceOptions<T, R>): ResourceRef<T>;
|
|
74
|
+
export declare function rxResource<T, R>(opts: RxResourceOptions<T, R>): ResourceRef<T | undefined>;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* Like `ResourceOptions` but uses an RxJS-based `loader`.
|
package/schematics/bundles/{apply_import_manager-5082ccea.js → apply_import_manager-40cd5384.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,8 +10,8 @@ var core = require('@angular-devkit/core');
|
|
|
10
10
|
var posixPath = require('node:path/posix');
|
|
11
11
|
var os = require('os');
|
|
12
12
|
var ts = require('typescript');
|
|
13
|
-
var checker = require('./checker-
|
|
14
|
-
var program = require('./program-
|
|
13
|
+
var checker = require('./checker-ca858016.js');
|
|
14
|
+
var program = require('./program-8e222816.js');
|
|
15
15
|
require('path');
|
|
16
16
|
|
|
17
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -7620,6 +7620,36 @@ class ShadowCss {
|
|
|
7620
7620
|
* .foo<scopeName> .bar { ... }
|
|
7621
7621
|
*/
|
|
7622
7622
|
_convertColonHostContext(cssText) {
|
|
7623
|
+
const length = cssText.length;
|
|
7624
|
+
let parens = 0;
|
|
7625
|
+
let prev = 0;
|
|
7626
|
+
let result = '';
|
|
7627
|
+
// Splits up the selectors on their top-level commas, processes the :host-context in them
|
|
7628
|
+
// individually and stitches them back together. This ensures that individual selectors don't
|
|
7629
|
+
// affect each other.
|
|
7630
|
+
for (let i = 0; i < length; i++) {
|
|
7631
|
+
const char = cssText[i];
|
|
7632
|
+
// If we hit a comma and there are no open parentheses, take the current chunk and process it.
|
|
7633
|
+
if (char === ',' && parens === 0) {
|
|
7634
|
+
result += this._convertColonHostContextInSelectorPart(cssText.slice(prev, i)) + ',';
|
|
7635
|
+
prev = i + 1;
|
|
7636
|
+
continue;
|
|
7637
|
+
}
|
|
7638
|
+
// We've hit the end. Take everything since the last comma.
|
|
7639
|
+
if (i === length - 1) {
|
|
7640
|
+
result += this._convertColonHostContextInSelectorPart(cssText.slice(prev));
|
|
7641
|
+
break;
|
|
7642
|
+
}
|
|
7643
|
+
if (char === '(') {
|
|
7644
|
+
parens++;
|
|
7645
|
+
}
|
|
7646
|
+
else if (char === ')') {
|
|
7647
|
+
parens--;
|
|
7648
|
+
}
|
|
7649
|
+
}
|
|
7650
|
+
return result;
|
|
7651
|
+
}
|
|
7652
|
+
_convertColonHostContextInSelectorPart(cssText) {
|
|
7623
7653
|
return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
|
|
7624
7654
|
// We have captured a selector that contains a `:host-context` rule.
|
|
7625
7655
|
// For backward compatibility `:host-context` may contain a comma separated list of selectors.
|
|
@@ -8007,10 +8037,13 @@ const _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*([
|
|
|
8007
8037
|
const _polyfillHost = '-shadowcsshost';
|
|
8008
8038
|
// note: :host-context pre-processed to -shadowcsshostcontext.
|
|
8009
8039
|
const _polyfillHostContext = '-shadowcsscontext';
|
|
8010
|
-
const _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))
|
|
8011
|
-
const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, 'gim');
|
|
8012
|
-
|
|
8013
|
-
|
|
8040
|
+
const _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))';
|
|
8041
|
+
const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix + '?([^,{]*)', 'gim');
|
|
8042
|
+
// note: :host-context patterns are terminated with `{`, as opposed to :host which
|
|
8043
|
+
// is both `{` and `,` because :host-context handles top-level commas differently.
|
|
8044
|
+
const _hostContextPattern = _polyfillHostContext + _parenSuffix + '?([^{]*)';
|
|
8045
|
+
const _cssColonHostContextReGlobal = new RegExp(`${_cssScopedPseudoFunctionPrefix}(${_hostContextPattern})`, 'gim');
|
|
8046
|
+
const _cssColonHostContextRe = new RegExp(_hostContextPattern, 'im');
|
|
8014
8047
|
const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
|
|
8015
8048
|
const _polyfillHostNoCombinatorOutsidePseudoFunction = new RegExp(`${_polyfillHostNoCombinator}(?![^(]*\\))`, 'g');
|
|
8016
8049
|
const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s,]*)/;
|
|
@@ -30418,7 +30451,7 @@ function publishFacade(global) {
|
|
|
30418
30451
|
* @description
|
|
30419
30452
|
* Entry point for all public APIs of the compiler package.
|
|
30420
30453
|
*/
|
|
30421
|
-
new Version('19.1.
|
|
30454
|
+
new Version('19.1.3');
|
|
30422
30455
|
|
|
30423
30456
|
const _I18N_ATTR = 'i18n';
|
|
30424
30457
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -31826,7 +31859,7 @@ class NodeJSPathManipulation {
|
|
|
31826
31859
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
31827
31860
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
31828
31861
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
31829
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-
|
|
31862
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-ca858016.js', document.baseURI).href));
|
|
31830
31863
|
const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
|
|
31831
31864
|
/**
|
|
31832
31865
|
* A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
13
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
13
|
+
var apply_import_manager = require('./apply_import_manager-40cd5384.js');
|
|
14
14
|
require('os');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var checker = require('./checker-
|
|
17
|
-
var program = require('./program-
|
|
16
|
+
var checker = require('./checker-ca858016.js');
|
|
17
|
+
var program = require('./program-8e222816.js');
|
|
18
18
|
require('path');
|
|
19
|
-
require('./index-
|
|
19
|
+
require('./index-761b9f6f.js');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
21
|
require('node:path/posix');
|
|
22
22
|
require('fs');
|
|
@@ -43,7 +43,7 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
43
43
|
async analyze(info) {
|
|
44
44
|
const nodePositions = new Map();
|
|
45
45
|
const replacements = [];
|
|
46
|
-
|
|
46
|
+
const removedIdentifiers = [];
|
|
47
47
|
let changedFiles = 0;
|
|
48
48
|
info.ngCompiler?.getDiagnostics().forEach((diag) => {
|
|
49
49
|
if (diag.file !== undefined &&
|
|
@@ -53,28 +53,51 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
53
53
|
if (!nodePositions.has(diag.file)) {
|
|
54
54
|
nodePositions.set(diag.file, new Set());
|
|
55
55
|
}
|
|
56
|
-
nodePositions.get(diag.file).add(this.
|
|
56
|
+
nodePositions.get(diag.file).add(this.getNodeID(diag.start, diag.length));
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
nodePositions.forEach((locations, sourceFile) => {
|
|
60
60
|
const resolvedLocations = this.resolveRemovalLocations(sourceFile, locations);
|
|
61
61
|
const usageAnalysis = this.analyzeUsages(sourceFile, resolvedLocations);
|
|
62
62
|
if (resolvedLocations.allRemovedIdentifiers.size > 0) {
|
|
63
|
-
removedImports += resolvedLocations.allRemovedIdentifiers.size;
|
|
64
63
|
changedFiles++;
|
|
64
|
+
resolvedLocations.allRemovedIdentifiers.forEach((identifier) => {
|
|
65
|
+
removedIdentifiers.push(this.getNodeID(identifier.getStart(), identifier.getWidth()));
|
|
66
|
+
});
|
|
65
67
|
}
|
|
66
68
|
this.generateReplacements(sourceFile, resolvedLocations, usageAnalysis, info, replacements);
|
|
67
69
|
});
|
|
68
|
-
return apply_import_manager.confirmAsSerializable({ replacements,
|
|
70
|
+
return apply_import_manager.confirmAsSerializable({ replacements, removedIdentifiers, changedFiles });
|
|
69
71
|
}
|
|
70
72
|
async migrate(globalData) {
|
|
71
73
|
return apply_import_manager.confirmAsSerializable(globalData);
|
|
72
74
|
}
|
|
73
75
|
async combine(unitA, unitB) {
|
|
76
|
+
const combinedReplacements = [];
|
|
77
|
+
const combinedRemovedIdentifiers = [];
|
|
78
|
+
const seenReplacements = new Set();
|
|
79
|
+
const seenIdentifiers = new Set();
|
|
80
|
+
const changedFileIds = new Set();
|
|
81
|
+
[unitA, unitB].forEach((unit) => {
|
|
82
|
+
for (const replacement of unit.replacements) {
|
|
83
|
+
const key = this.getReplacementID(replacement);
|
|
84
|
+
changedFileIds.add(replacement.projectFile.id);
|
|
85
|
+
if (!seenReplacements.has(key)) {
|
|
86
|
+
seenReplacements.add(key);
|
|
87
|
+
combinedReplacements.push(replacement);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
for (const identifier of unit.removedIdentifiers) {
|
|
91
|
+
if (!seenIdentifiers.has(identifier)) {
|
|
92
|
+
seenIdentifiers.add(identifier);
|
|
93
|
+
combinedRemovedIdentifiers.push(identifier);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
});
|
|
74
97
|
return apply_import_manager.confirmAsSerializable({
|
|
75
|
-
replacements:
|
|
76
|
-
|
|
77
|
-
changedFiles:
|
|
98
|
+
replacements: combinedReplacements,
|
|
99
|
+
removedIdentifiers: combinedRemovedIdentifiers,
|
|
100
|
+
changedFiles: changedFileIds.size,
|
|
78
101
|
});
|
|
79
102
|
}
|
|
80
103
|
async globalMeta(combinedData) {
|
|
@@ -83,15 +106,20 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
83
106
|
async stats(globalMetadata) {
|
|
84
107
|
return {
|
|
85
108
|
counters: {
|
|
86
|
-
removedImports: globalMetadata.
|
|
109
|
+
removedImports: globalMetadata.removedIdentifiers.length,
|
|
87
110
|
changedFiles: globalMetadata.changedFiles,
|
|
88
111
|
},
|
|
89
112
|
};
|
|
90
113
|
}
|
|
91
|
-
/** Gets
|
|
92
|
-
|
|
114
|
+
/** Gets an ID that can be used to look up a node based on its location. */
|
|
115
|
+
getNodeID(start, length) {
|
|
93
116
|
return `${start}/${length}`;
|
|
94
117
|
}
|
|
118
|
+
/** Gets a unique ID for a replacement. */
|
|
119
|
+
getReplacementID(replacement) {
|
|
120
|
+
const { position, end, toInsert } = replacement.update.data;
|
|
121
|
+
return replacement.projectFile.id + '/' + position + '/' + end + '/' + toInsert;
|
|
122
|
+
}
|
|
95
123
|
/**
|
|
96
124
|
* Resolves a set of node locations to the actual AST nodes that need to be migrated.
|
|
97
125
|
* @param sourceFile File in which to resolve the locations.
|
|
@@ -113,7 +141,7 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
113
141
|
if (!parent) {
|
|
114
142
|
return;
|
|
115
143
|
}
|
|
116
|
-
if (locations.has(this.
|
|
144
|
+
if (locations.has(this.getNodeID(node.getStart(), node.getWidth()))) {
|
|
117
145
|
// When the entire array needs to be cleared, the diagnostic is
|
|
118
146
|
// reported on the property assignment, rather than an array element.
|
|
119
147
|
if (ts__default["default"].isPropertyAssignment(parent) &&
|
|
@@ -122,7 +150,7 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
122
150
|
result.fullRemovals.add(parent.initializer);
|
|
123
151
|
parent.initializer.elements.forEach((element) => {
|
|
124
152
|
if (ts__default["default"].isIdentifier(element)) {
|
|
125
|
-
result.allRemovedIdentifiers.add(element
|
|
153
|
+
result.allRemovedIdentifiers.add(element);
|
|
126
154
|
}
|
|
127
155
|
});
|
|
128
156
|
}
|
|
@@ -131,7 +159,7 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
131
159
|
result.partialRemovals.set(parent, new Set());
|
|
132
160
|
}
|
|
133
161
|
result.partialRemovals.get(parent).add(node);
|
|
134
|
-
result.allRemovedIdentifiers.add(node
|
|
162
|
+
result.allRemovedIdentifiers.add(node);
|
|
135
163
|
}
|
|
136
164
|
}
|
|
137
165
|
};
|
|
@@ -225,8 +253,13 @@ class UnusedImportsMigration extends apply_import_manager.TsurgeFunnelMigration
|
|
|
225
253
|
names.forEach((symbolName, localName) => {
|
|
226
254
|
// Note that in the `identifierCounts` lookup both zero and undefined
|
|
227
255
|
// are valid and mean that the identifiers isn't being used anymore.
|
|
228
|
-
if (
|
|
229
|
-
|
|
256
|
+
if (!identifierCounts.get(localName)) {
|
|
257
|
+
for (const identifier of allRemovedIdentifiers) {
|
|
258
|
+
if (identifier.text === localName) {
|
|
259
|
+
importManager.removeImport(sourceFile, symbolName, moduleName);
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
230
263
|
}
|
|
231
264
|
});
|
|
232
265
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
|
-
var checker = require('./checker-
|
|
10
|
+
var checker = require('./checker-ca858016.js');
|
|
11
11
|
require('os');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,8 +10,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var compiler_host = require('./compiler_host-
|
|
14
|
-
var checker = require('./checker-
|
|
13
|
+
var compiler_host = require('./compiler_host-68e159d5.js');
|
|
14
|
+
var checker = require('./checker-ca858016.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
16
|
require('os');
|
|
17
17
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
14
|
+
var compiler_host = require('./compiler_host-68e159d5.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-abe29092.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-ca858016.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
require('os');
|
|
10
10
|
require('typescript');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
require('./program-
|
|
11
|
+
var checker = require('./checker-ca858016.js');
|
|
12
|
+
require('./program-8e222816.js');
|
|
13
13
|
require('path');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -17,7 +17,7 @@ require('path');
|
|
|
17
17
|
* @description
|
|
18
18
|
* Entry point for all public APIs of the compiler-cli package.
|
|
19
19
|
*/
|
|
20
|
-
new checker.Version('19.1.
|
|
20
|
+
new checker.Version('19.1.3');
|
|
21
21
|
|
|
22
22
|
var LogLevel;
|
|
23
23
|
(function (LogLevel) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
var program = require('./program-
|
|
11
|
+
var checker = require('./checker-ca858016.js');
|
|
12
|
+
var program = require('./program-8e222816.js');
|
|
13
13
|
require('path');
|
|
14
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
14
|
+
var apply_import_manager = require('./apply_import_manager-40cd5384.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var compiler_host = require('./compiler_host-68e159d5.js');
|
|
14
14
|
var ts = require('typescript');
|
|
15
|
-
var nodes = require('./nodes-
|
|
16
|
-
var imports = require('./imports-
|
|
17
|
-
var leading_space = require('./leading_space-
|
|
18
|
-
require('./checker-
|
|
15
|
+
var nodes = require('./nodes-a9f0b985.js');
|
|
16
|
+
var imports = require('./imports-abe29092.js');
|
|
17
|
+
var leading_space = require('./leading_space-d190b83b.js');
|
|
18
|
+
require('./checker-ca858016.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var checker = require('./checker-
|
|
9
|
+
var checker = require('./checker-ca858016.js');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var index = require('./index-
|
|
14
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
15
|
-
var leading_space = require('./leading_space-
|
|
16
|
-
require('./program-
|
|
13
|
+
var index = require('./index-d05029f9.js');
|
|
14
|
+
var apply_import_manager = require('./apply_import_manager-40cd5384.js');
|
|
15
|
+
var leading_space = require('./leading_space-d190b83b.js');
|
|
16
|
+
require('./program-8e222816.js');
|
|
17
17
|
require('path');
|
|
18
18
|
|
|
19
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
|
-
var imports = require('./imports-
|
|
10
|
+
var imports = require('./imports-abe29092.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
13
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
13
|
+
var apply_import_manager = require('./apply_import_manager-40cd5384.js');
|
|
14
14
|
require('os');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var checker = require('./checker-
|
|
17
|
-
var program = require('./program-
|
|
16
|
+
var checker = require('./checker-ca858016.js');
|
|
17
|
+
var program = require('./program-8e222816.js');
|
|
18
18
|
require('path');
|
|
19
|
-
var index = require('./index-
|
|
19
|
+
var index = require('./index-d05029f9.js');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
21
|
require('node:path/posix');
|
|
22
22
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.1.
|
|
3
|
+
* @license Angular v19.1.3
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
14
|
+
var compiler_host = require('./compiler_host-68e159d5.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-abe29092.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-ca858016.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|