@angular/core 16.0.0-next.3 → 16.0.0-next.4
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/esm2020/src/application_tokens.mjs +33 -1
- package/esm2020/src/change_detection/change_detector_ref.mjs +4 -4
- package/esm2020/src/compiler/compiler_facade_interface.mjs +1 -1
- package/esm2020/src/core.mjs +2 -2
- package/esm2020/src/core_private_export.mjs +2 -1
- package/esm2020/src/core_reactivity_export_internal.mjs +1 -1
- package/esm2020/src/core_render3_private_export.mjs +1 -2
- package/esm2020/src/di/r3_injector.mjs +8 -1
- package/esm2020/src/errors.mjs +1 -1
- package/esm2020/src/hydration/annotate.mjs +118 -5
- package/esm2020/src/hydration/api.mjs +14 -1
- package/esm2020/src/hydration/cleanup.mjs +54 -3
- package/esm2020/src/hydration/compression.mjs +69 -0
- package/esm2020/src/hydration/error_handling.mjs +357 -15
- package/esm2020/src/hydration/interfaces.mjs +17 -1
- package/esm2020/src/hydration/node_lookup_utils.mjs +199 -7
- package/esm2020/src/hydration/utils.mjs +16 -3
- package/esm2020/src/hydration/views.mjs +19 -15
- package/esm2020/src/linker/destroy_ref.mjs +5 -2
- package/esm2020/src/linker/view_container_ref.mjs +8 -7
- package/esm2020/src/metadata/directives.mjs +8 -3
- package/esm2020/src/render3/instructions/element.mjs +16 -9
- package/esm2020/src/render3/instructions/element_container.mjs +2 -5
- package/esm2020/src/render3/instructions/element_validation.mjs +2 -2
- package/esm2020/src/render3/instructions/projection.mjs +7 -4
- package/esm2020/src/render3/instructions/template.mjs +4 -7
- package/esm2020/src/render3/instructions/text.mjs +6 -6
- package/esm2020/src/render3/interfaces/public_definitions.mjs +1 -1
- package/esm2020/src/render3/interfaces/type_checks.mjs +4 -1
- package/esm2020/src/render3/node_manipulation.mjs +2 -2
- package/esm2020/src/render3/node_selector_matcher.mjs +17 -5
- package/esm2020/src/render3/util/view_utils.mjs +12 -1
- package/esm2020/src/render3/view_ref.mjs +1 -1
- package/esm2020/src/signals/index.mjs +2 -1
- package/esm2020/src/signals/src/computed.mjs +3 -3
- package/esm2020/src/signals/src/effect.mjs +1 -3
- package/esm2020/src/signals/src/signal.mjs +3 -3
- package/esm2020/src/signals/src/watch.mjs +3 -3
- package/esm2020/src/signals/src/weak_ref.mjs +18 -2
- package/esm2020/src/util/ng_dev_mode.mjs +2 -1
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/esm2020/testing/src/test_bed_compiler.mjs +12 -7
- package/fesm2015/core.mjs +1066 -178
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +816 -68
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +1051 -170
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +810 -67
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +128 -216
- package/package.json +1 -1
- package/schematics/migrations/relative-link-resolution/bundle.js +7 -7
- package/schematics/migrations/router-link-with-href/bundle.js +10 -10
- package/schematics/ng-generate/standalone-migration/bundle.js +473 -376
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
|
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
// bazel-out/
|
|
59
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
|
|
60
60
|
var router_link_with_href_exports = {};
|
|
61
61
|
__export(router_link_with_href_exports, {
|
|
62
62
|
default: () => router_link_with_href_default
|
|
@@ -65,7 +65,7 @@ module.exports = __toCommonJS(router_link_with_href_exports);
|
|
|
65
65
|
var import_schematics = require("@angular-devkit/schematics");
|
|
66
66
|
var import_path2 = require("path");
|
|
67
67
|
|
|
68
|
-
// bazel-out/
|
|
68
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
69
69
|
var import_core = require("@angular-devkit/core");
|
|
70
70
|
function getProjectTsConfigPaths(tree) {
|
|
71
71
|
return __async(this, null, function* () {
|
|
@@ -145,11 +145,11 @@ function getWorkspace(tree) {
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
// bazel-out/
|
|
148
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
149
149
|
var import_path = require("path");
|
|
150
150
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
151
151
|
|
|
152
|
-
// bazel-out/
|
|
152
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
153
153
|
var path = __toESM(require("path"), 1);
|
|
154
154
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
155
155
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -166,7 +166,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
166
166
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
// bazel-out/
|
|
169
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
170
170
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
171
171
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
172
172
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -199,10 +199,10 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
199
199
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
// bazel-out/
|
|
202
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
|
|
203
203
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
204
204
|
|
|
205
|
-
// bazel-out/
|
|
205
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
206
206
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
207
207
|
function getImportOfIdentifier(typeChecker, node) {
|
|
208
208
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -251,7 +251,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
// bazel-out/
|
|
254
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
255
255
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
256
256
|
function closestNode(node, predicate) {
|
|
257
257
|
let current = node.parent;
|
|
@@ -264,7 +264,7 @@ function closestNode(node, predicate) {
|
|
|
264
264
|
return null;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
|
|
268
268
|
var routerLink = "RouterLink";
|
|
269
269
|
var routerLinkWithHref = "RouterLinkWithHref";
|
|
270
270
|
var routerModule = "@angular/router";
|
|
@@ -323,7 +323,7 @@ function sortByStartPosDescending(rewrites) {
|
|
|
323
323
|
return rewrites.sort((entityA, entityB) => entityB.startPos - entityA.startPos);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
// bazel-out/
|
|
326
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
|
|
327
327
|
function router_link_with_href_default() {
|
|
328
328
|
return (tree) => __async(this, null, function* () {
|
|
329
329
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|