@angular/compiler-cli 17.2.1 → 17.2.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/bundles/{chunk-KYE5EYIK.js → chunk-5BWCY2AS.js} +13 -13
- package/bundles/{chunk-63UQIYTZ.js → chunk-6VI5PEAF.js} +30 -30
- package/bundles/{chunk-UM6JO3VZ.js → chunk-75YFKYUJ.js} +7 -7
- package/bundles/{chunk-KMYUI7UU.js → chunk-FUGV6LEW.js} +562 -525
- package/bundles/chunk-FUGV6LEW.js.map +6 -0
- package/bundles/{chunk-CVK4HV4K.js → chunk-HL2GCSY7.js} +37 -37
- package/bundles/{chunk-6VEEN3ZS.js → chunk-Q5Y7HH3O.js} +5 -5
- package/bundles/{chunk-64JBPJBS.js → chunk-R4KQI5XI.js} +5 -5
- package/bundles/{chunk-QLLRERNV.js → chunk-RMH722TZ.js} +5 -5
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-PQBKKYRL.js → chunk-SN7STUDB.js} +81 -80
- package/bundles/{chunk-PQBKKYRL.js.map → chunk-SN7STUDB.js.map} +1 -1
- package/bundles/{chunk-2WQIUGOU.js → chunk-WCD6LVCP.js} +7 -7
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/docs/src/constant_extractor.d.ts +2 -2
- package/bundles/chunk-KMYUI7UU.js.map +0 -6
- /package/bundles/{chunk-KYE5EYIK.js.map → chunk-5BWCY2AS.js.map} +0 -0
- /package/bundles/{chunk-63UQIYTZ.js.map → chunk-6VI5PEAF.js.map} +0 -0
- /package/bundles/{chunk-UM6JO3VZ.js.map → chunk-75YFKYUJ.js.map} +0 -0
- /package/bundles/{chunk-CVK4HV4K.js.map → chunk-HL2GCSY7.js.map} +0 -0
- /package/bundles/{chunk-6VEEN3ZS.js.map → chunk-Q5Y7HH3O.js.map} +0 -0
- /package/bundles/{chunk-64JBPJBS.js.map → chunk-R4KQI5XI.js.map} +0 -0
- /package/bundles/{chunk-QLLRERNV.js.map → chunk-RMH722TZ.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-2WQIUGOU.js.map → chunk-WCD6LVCP.js.map} +0 -0
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
7
7
|
import { decode, encode } from "@jridgewell/sourcemap-codec";
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
11
11
|
function compareSegments(a, b) {
|
|
12
12
|
return a.position - b.position;
|
|
13
13
|
}
|
|
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
27
27
|
return { line, column, position, next: void 0 };
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
31
31
|
function removeSourceMapComments(contents) {
|
|
32
32
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
33
33
|
}
|
|
@@ -278,10 +278,10 @@ var Cache = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
282
282
|
import mapHelpers2 from "convert-source-map";
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
285
285
|
var ContentOrigin;
|
|
286
286
|
(function(ContentOrigin2) {
|
|
287
287
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -289,7 +289,7 @@ var ContentOrigin;
|
|
|
289
289
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
290
290
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
291
291
|
|
|
292
|
-
// bazel-out/
|
|
292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
293
293
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
294
294
|
var SourceFileLoader = class {
|
|
295
295
|
constructor(fs, logger, schemeMap) {
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
* Use of this source code is governed by an MIT-style license that can be
|
|
417
417
|
* found in the LICENSE file at https://angular.io/license
|
|
418
418
|
*/
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-WCD6LVCP.js.map
|
package/bundles/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
constructorParametersDownlevelTransform,
|
|
10
10
|
getDownlevelDecoratorsTransform,
|
|
11
11
|
getInitializerApiJitTransform
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5BWCY2AS.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_ERROR_CODE,
|
|
15
15
|
DecoratorType,
|
|
@@ -36,20 +36,20 @@ import {
|
|
|
36
36
|
performCompilation,
|
|
37
37
|
readConfiguration,
|
|
38
38
|
untagAllTsFiles
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FUGV6LEW.js";
|
|
40
40
|
import {
|
|
41
41
|
OptimizeFor
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-Q5Y7HH3O.js";
|
|
43
|
+
import "./chunk-SN7STUDB.js";
|
|
44
|
+
import "./chunk-HL2GCSY7.js";
|
|
45
45
|
import {
|
|
46
46
|
ActivePerfRecorder,
|
|
47
47
|
PerfPhase
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-R4KQI5XI.js";
|
|
49
49
|
import {
|
|
50
50
|
ConsoleLogger,
|
|
51
51
|
LogLevel
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SBDNBITT.js";
|
|
53
53
|
import {
|
|
54
54
|
LogicalFileSystem,
|
|
55
55
|
LogicalProjectPath,
|
|
@@ -70,14 +70,14 @@ import {
|
|
|
70
70
|
resolve,
|
|
71
71
|
setFileSystem,
|
|
72
72
|
toRelativeImport
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-75YFKYUJ.js";
|
|
74
74
|
import "./chunk-XI2RTGAL.js";
|
|
75
75
|
|
|
76
|
-
// bazel-out/
|
|
76
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
77
77
|
import { Version } from "@angular/compiler";
|
|
78
|
-
var VERSION = new Version("17.2.
|
|
78
|
+
var VERSION = new Version("17.2.2");
|
|
79
79
|
|
|
80
|
-
// bazel-out/
|
|
80
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
81
81
|
var NgTscPlugin = class {
|
|
82
82
|
get compiler() {
|
|
83
83
|
if (this._compiler === null) {
|
|
@@ -154,7 +154,7 @@ var NgTscPlugin = class {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
// bazel-out/
|
|
157
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
158
158
|
setFileSystem(new NodeJSFileSystem());
|
|
159
159
|
export {
|
|
160
160
|
ConsoleLogger,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-6VI5PEAF.js";
|
|
12
|
+
import "../../chunk-HL2GCSY7.js";
|
|
13
13
|
import {
|
|
14
14
|
ConsoleLogger,
|
|
15
15
|
LogLevel
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-SBDNBITT.js";
|
|
17
|
+
import "../../chunk-WCD6LVCP.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-75YFKYUJ.js";
|
|
21
21
|
import "../../chunk-XI2RTGAL.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
24
24
|
import { types as t4 } from "@babel/core";
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
|
|
27
27
|
import { types as t } from "@babel/core";
|
|
28
28
|
var BabelAstFactory = class {
|
|
29
29
|
constructor(sourceUrl) {
|
|
@@ -146,7 +146,7 @@ function isLExpression(expr) {
|
|
|
146
146
|
return t.isLVal(expr);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
// bazel-out/
|
|
149
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
150
150
|
import { types as t2 } from "@babel/core";
|
|
151
151
|
var BabelAstHost = class {
|
|
152
152
|
constructor() {
|
|
@@ -267,7 +267,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
267
267
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
// bazel-out/
|
|
270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
271
271
|
import { types as t3 } from "@babel/core";
|
|
272
272
|
var BabelDeclarationScope = class {
|
|
273
273
|
constructor(declarationScope) {
|
|
@@ -293,7 +293,7 @@ var BabelDeclarationScope = class {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
297
297
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
298
298
|
let fileLinker = null;
|
|
299
299
|
return {
|
|
@@ -394,7 +394,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
394
394
|
return `${filename}: ${error.message}`;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
// bazel-out/
|
|
397
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
398
398
|
function defaultLinkerPlugin(api, options) {
|
|
399
399
|
api.assertVersion(7);
|
|
400
400
|
return createEs2015LinkerPlugin({
|
|
@@ -404,7 +404,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
// bazel-out/
|
|
407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
408
408
|
var babel_default = defaultLinkerPlugin;
|
|
409
409
|
export {
|
|
410
410
|
createEs2015LinkerPlugin,
|
package/bundles/linker/index.js
CHANGED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
assert,
|
|
11
11
|
isFatalLinkerError,
|
|
12
12
|
needsLinking
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-6VI5PEAF.js";
|
|
14
|
+
import "../chunk-HL2GCSY7.js";
|
|
15
|
+
import "../chunk-WCD6LVCP.js";
|
|
16
|
+
import "../chunk-75YFKYUJ.js";
|
|
17
17
|
import "../chunk-XI2RTGAL.js";
|
|
18
18
|
export {
|
|
19
19
|
DEFAULT_LINKER_OPTIONS,
|
package/bundles/ngcc/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
const require = __cjsCompatRequire(import.meta.url);
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
// bazel-out/
|
|
7
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
8
8
|
function stringEncaseCRLFWithFirstIndex(value, prefix, postfix, index) {
|
|
9
9
|
let endIndex = 0;
|
|
10
10
|
let returnValue = "";
|
package/bundles/private/bazel.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import {
|
|
6
6
|
ConsoleLogger,
|
|
7
7
|
LogLevel
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SBDNBITT.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-WCD6LVCP.js";
|
|
13
13
|
import {
|
|
14
14
|
LogicalFileSystem,
|
|
15
15
|
LogicalProjectPath,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolve,
|
|
31
31
|
setFileSystem,
|
|
32
32
|
toRelativeImport
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-75YFKYUJ.js";
|
|
34
34
|
import "../chunk-XI2RTGAL.js";
|
|
35
35
|
export {
|
|
36
36
|
ConsoleLogger,
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
import {
|
|
6
6
|
PotentialImportKind,
|
|
7
7
|
PotentialImportMode
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-Q5Y7HH3O.js";
|
|
9
9
|
import {
|
|
10
10
|
DynamicValue,
|
|
11
11
|
PartialEvaluator,
|
|
12
12
|
StaticInterpreter,
|
|
13
13
|
forwardRefResolver
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-SN7STUDB.js";
|
|
15
15
|
import {
|
|
16
16
|
Reference,
|
|
17
17
|
TypeScriptReflectionHost,
|
|
18
18
|
reflectObjectLiteral
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-HL2GCSY7.js";
|
|
20
|
+
import "../chunk-R4KQI5XI.js";
|
|
21
|
+
import "../chunk-75YFKYUJ.js";
|
|
22
22
|
import "../chunk-XI2RTGAL.js";
|
|
23
23
|
export {
|
|
24
24
|
DynamicValue,
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-5BWCY2AS.js";
|
|
10
|
+
import "../chunk-SN7STUDB.js";
|
|
11
|
+
import "../chunk-HL2GCSY7.js";
|
|
12
|
+
import "../chunk-R4KQI5XI.js";
|
|
13
|
+
import "../chunk-75YFKYUJ.js";
|
|
14
14
|
import "../chunk-XI2RTGAL.js";
|
|
15
15
|
export {
|
|
16
16
|
GLOBAL_DEFS_FOR_TERSER,
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
import {
|
|
7
7
|
main,
|
|
8
8
|
readCommandLineAndConfiguration
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-RMH722TZ.js";
|
|
10
10
|
import {
|
|
11
11
|
EmitFlags
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-FUGV6LEW.js";
|
|
13
|
+
import "../../chunk-Q5Y7HH3O.js";
|
|
14
|
+
import "../../chunk-SN7STUDB.js";
|
|
15
|
+
import "../../chunk-HL2GCSY7.js";
|
|
16
|
+
import "../../chunk-R4KQI5XI.js";
|
|
17
17
|
import {
|
|
18
18
|
NodeJSFileSystem,
|
|
19
19
|
setFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-75YFKYUJ.js";
|
|
21
21
|
import "../../chunk-XI2RTGAL.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
24
24
|
import "reflect-metadata";
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
27
27
|
import yargs from "yargs";
|
|
28
28
|
function mainXi18n(args2, consoleError = console.error) {
|
|
29
29
|
const config = readXi18nCommandLineAndConfiguration(args2);
|
|
@@ -46,7 +46,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
|
|
|
46
46
|
return { ...config, emitFlags: EmitFlags.I18nBundle };
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
// bazel-out/
|
|
49
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
50
50
|
process.title = "Angular i18n Message Extractor (ng-xi18n)";
|
|
51
51
|
var args = process.argv.slice(2);
|
|
52
52
|
setFileSystem(new NodeJSFileSystem());
|
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
main
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-RMH722TZ.js";
|
|
9
|
+
import "../../chunk-FUGV6LEW.js";
|
|
10
|
+
import "../../chunk-Q5Y7HH3O.js";
|
|
11
|
+
import "../../chunk-SN7STUDB.js";
|
|
12
|
+
import "../../chunk-HL2GCSY7.js";
|
|
13
|
+
import "../../chunk-R4KQI5XI.js";
|
|
14
14
|
import {
|
|
15
15
|
NodeJSFileSystem,
|
|
16
16
|
setFileSystem
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-75YFKYUJ.js";
|
|
18
18
|
import "../../chunk-XI2RTGAL.js";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
21
21
|
import "reflect-metadata";
|
|
22
22
|
async function runNgcComamnd() {
|
|
23
23
|
process.title = "Angular Compiler (ngc)";
|