@angular/compiler-cli 17.1.0-rc.0 → 17.1.0
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-OQ7ITPZT.js → chunk-3WRR7A6G.js} +69 -42
- package/bundles/chunk-3WRR7A6G.js.map +6 -0
- package/bundles/{chunk-FIHKBAQF.js → chunk-5KZ4IU2X.js} +5 -5
- package/bundles/{chunk-SBDNBITT.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-YS2EFQ7B.js → chunk-GM44CTB7.js} +405 -220
- package/bundles/chunk-GM44CTB7.js.map +6 -0
- package/bundles/{chunk-QPMYDNZG.js → chunk-I3M5LXMW.js} +7 -7
- package/bundles/{chunk-R4KQI5XI.js → chunk-JOIB3454.js} +5 -5
- package/bundles/{chunk-AJU3W7PS.js → chunk-MLI2QFE3.js} +6 -6
- package/bundles/{chunk-R5FBSX7J.js → chunk-P34DHQ65.js} +32 -30
- package/bundles/{chunk-R5FBSX7J.js.map → chunk-P34DHQ65.js.map} +1 -1
- package/bundles/{chunk-Q5Y7HH3O.js → chunk-TGR3NXO6.js} +5 -5
- package/bundles/{chunk-WCD6LVCP.js → chunk-WMUBJYYX.js} +7 -7
- package/bundles/{chunk-75SXFAVW.js → chunk-YFIBJR5K.js} +184 -132
- package/bundles/chunk-YFIBJR5K.js.map +6 -0
- 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/annotations/component/src/handler.d.ts +21 -1
- package/src/ngtsc/annotations/component/src/metadata.d.ts +7 -1
- package/src/ngtsc/annotations/component/src/util.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +1 -1
- package/src/ngtsc/annotations/src/injectable.d.ts +1 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +10 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +20 -0
- package/src/ngtsc/imports/src/deferred_symbol_tracker.d.ts +16 -2
- package/src/ngtsc/metadata/src/api.d.ts +11 -0
- package/src/ngtsc/scope/src/api.d.ts +1 -0
- package/src/ngtsc/scope/src/typecheck.d.ts +3 -3
- package/src/ngtsc/scope/src/util.d.ts +1 -0
- package/src/ngtsc/transform/src/api.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +3 -2
- package/src/ngtsc/typecheck/api/context.d.ts +2 -1
- package/src/ngtsc/typecheck/src/context.d.ts +2 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +20 -0
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +3 -2
- package/bundles/chunk-75SXFAVW.js.map +0 -6
- package/bundles/chunk-OQ7ITPZT.js.map +0 -6
- package/bundles/chunk-YS2EFQ7B.js.map +0 -6
- /package/bundles/{chunk-FIHKBAQF.js.map → chunk-5KZ4IU2X.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-QPMYDNZG.js.map → chunk-I3M5LXMW.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-JOIB3454.js.map} +0 -0
- /package/bundles/{chunk-AJU3W7PS.js.map → chunk-MLI2QFE3.js.map} +0 -0
- /package/bundles/{chunk-Q5Y7HH3O.js.map → chunk-TGR3NXO6.js.map} +0 -0
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-WMUBJYYX.js.map} +0 -0
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-P34DHQ65.js";
|
|
12
|
+
import "../../chunk-3WRR7A6G.js";
|
|
13
13
|
import {
|
|
14
14
|
ConsoleLogger,
|
|
15
15
|
LogLevel
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-CF2CT7RQ.js";
|
|
17
|
+
import "../../chunk-WMUBJYYX.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-I3M5LXMW.js";
|
|
21
21
|
import "../../chunk-XI2RTGAL.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin-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-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-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-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-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-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-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-P34DHQ65.js";
|
|
14
|
+
import "../chunk-3WRR7A6G.js";
|
|
15
|
+
import "../chunk-WMUBJYYX.js";
|
|
16
|
+
import "../chunk-I3M5LXMW.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-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-CF2CT7RQ.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-WMUBJYYX.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-I3M5LXMW.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-TGR3NXO6.js";
|
|
9
9
|
import {
|
|
10
10
|
DynamicValue,
|
|
11
11
|
PartialEvaluator,
|
|
12
12
|
StaticInterpreter,
|
|
13
13
|
forwardRefResolver
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-GM44CTB7.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-3WRR7A6G.js";
|
|
20
|
+
import "../chunk-JOIB3454.js";
|
|
21
|
+
import "../chunk-I3M5LXMW.js";
|
|
22
22
|
import "../chunk-XI2RTGAL.js";
|
|
23
23
|
export {
|
|
24
24
|
DynamicValue,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
angularJitApplicationTransform,
|
|
9
9
|
constructorParametersDownlevelTransform
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-MLI2QFE3.js";
|
|
11
|
+
import "../chunk-GM44CTB7.js";
|
|
12
|
+
import "../chunk-3WRR7A6G.js";
|
|
13
|
+
import "../chunk-JOIB3454.js";
|
|
14
|
+
import "../chunk-I3M5LXMW.js";
|
|
15
15
|
import "../chunk-XI2RTGAL.js";
|
|
16
16
|
export {
|
|
17
17
|
GLOBAL_DEFS_FOR_TERSER,
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
import {
|
|
7
7
|
main,
|
|
8
8
|
readCommandLineAndConfiguration
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-5KZ4IU2X.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-YFIBJR5K.js";
|
|
13
|
+
import "../../chunk-TGR3NXO6.js";
|
|
14
|
+
import "../../chunk-GM44CTB7.js";
|
|
15
|
+
import "../../chunk-3WRR7A6G.js";
|
|
16
|
+
import "../../chunk-JOIB3454.js";
|
|
17
17
|
import {
|
|
18
18
|
NodeJSFileSystem,
|
|
19
19
|
setFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-I3M5LXMW.js";
|
|
21
21
|
import "../../chunk-XI2RTGAL.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
24
24
|
import "reflect-metadata";
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/darwin-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-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-5KZ4IU2X.js";
|
|
9
|
+
import "../../chunk-YFIBJR5K.js";
|
|
10
|
+
import "../../chunk-TGR3NXO6.js";
|
|
11
|
+
import "../../chunk-GM44CTB7.js";
|
|
12
|
+
import "../../chunk-3WRR7A6G.js";
|
|
13
|
+
import "../../chunk-JOIB3454.js";
|
|
14
14
|
import {
|
|
15
15
|
NodeJSFileSystem,
|
|
16
16
|
setFileSystem
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-I3M5LXMW.js";
|
|
18
18
|
import "../../chunk-XI2RTGAL.js";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/darwin-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)";
|