@angular/core 15.2.0-next.0 → 15.2.0-next.1
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/di/interface/provider.mjs +1 -1
- package/esm2020/src/di/provider_collection.mjs +1 -1
- package/esm2020/src/di/r3_injector.mjs +1 -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/fesm2015/core.mjs +2 -2
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +2 -2
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +2 -2
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +2 -2
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +4 -4
- 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/testing/index.d.ts +1 -1
- package/schematics/migrations/relative-link-resolution/bundle_metadata.json +0 -1
- package/schematics/migrations/router-link-with-href/bundle_metadata.json +0 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.0-next.
|
|
2
|
+
* @license Angular v15.2.0-next.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -4989,7 +4989,7 @@ declare const enum LViewFlags {
|
|
|
4989
4989
|
* Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
|
|
4990
4990
|
* referenced in `@Component in a component injector.
|
|
4991
4991
|
*/
|
|
4992
|
-
export declare function makeEnvironmentProviders(providers: Provider[]): EnvironmentProviders;
|
|
4992
|
+
export declare function makeEnvironmentProviders(providers: (Provider | EnvironmentProviders)[]): EnvironmentProviders;
|
|
4993
4993
|
|
|
4994
4994
|
/**
|
|
4995
4995
|
* Use this enum at bootstrap as an option of `bootstrapModule` to define the strategy
|
|
@@ -10264,7 +10264,7 @@ export declare function ɵinternalCreateApplication(config: {
|
|
|
10264
10264
|
}): Promise<ApplicationRef>;
|
|
10265
10265
|
|
|
10266
10266
|
export declare interface ɵInternalEnvironmentProviders extends EnvironmentProviders {
|
|
10267
|
-
ɵproviders: Provider[];
|
|
10267
|
+
ɵproviders: (Provider | EnvironmentProviders)[];
|
|
10268
10268
|
/**
|
|
10269
10269
|
* If present, indicates that the `EnvironmentProviders` were derived from NgModule providers.
|
|
10270
10270
|
*
|
|
@@ -10284,7 +10284,7 @@ export declare function ɵisBoundToModule<C>(cf: ComponentFactory<C>): boolean;
|
|
|
10284
10284
|
*/
|
|
10285
10285
|
export declare function ɵisDefaultChangeDetectionStrategy(changeDetectionStrategy: ChangeDetectionStrategy): boolean;
|
|
10286
10286
|
|
|
10287
|
-
export declare function ɵisEnvironmentProviders(value: Provider | ɵInternalEnvironmentProviders): value is ɵInternalEnvironmentProviders;
|
|
10287
|
+
export declare function ɵisEnvironmentProviders(value: Provider | EnvironmentProviders | ɵInternalEnvironmentProviders): value is ɵInternalEnvironmentProviders;
|
|
10288
10288
|
|
|
10289
10289
|
export declare function ɵisInjectable(type: any): boolean;
|
|
10290
10290
|
|
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
42
42
|
});
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
// bazel-out/
|
|
45
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
|
|
46
46
|
var relative_link_resolution_exports = {};
|
|
47
47
|
__export(relative_link_resolution_exports, {
|
|
48
48
|
default: () => relative_link_resolution_default
|
|
@@ -51,7 +51,7 @@ module.exports = __toCommonJS(relative_link_resolution_exports);
|
|
|
51
51
|
var import_schematics = require("@angular-devkit/schematics");
|
|
52
52
|
var import_path2 = require("path");
|
|
53
53
|
|
|
54
|
-
// bazel-out/
|
|
54
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
55
55
|
var import_core = require("@angular-devkit/core");
|
|
56
56
|
function getProjectTsConfigPaths(tree) {
|
|
57
57
|
return __async(this, null, function* () {
|
|
@@ -131,11 +131,11 @@ function getWorkspace(tree) {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
135
135
|
var import_path = require("path");
|
|
136
136
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
139
139
|
var path = __toESM(require("path"), 1);
|
|
140
140
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
141
141
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -152,7 +152,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
152
152
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
157
157
|
tsconfigPath = (0, import_path.resolve)(basePath, tsconfigPath);
|
|
158
158
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path.dirname)(tsconfigPath));
|
|
@@ -181,7 +181,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
181
181
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs
|
|
185
185
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
186
186
|
var relativeLinkResolution = "relativeLinkResolution";
|
|
187
187
|
var knownConfigValues = /* @__PURE__ */ new Set([`'legacy'`, `'corrected'`]);
|
|
@@ -221,7 +221,7 @@ function sortByStartPosDescending(rewrites) {
|
|
|
221
221
|
return rewrites.sort((entityA, entityB) => entityB.startPos - entityA.startPos);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs
|
|
225
225
|
function relative_link_resolution_default() {
|
|
226
226
|
return (tree) => __async(this, null, function* () {
|
|
227
227
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|
|
@@ -42,7 +42,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
42
42
|
});
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
// bazel-out/
|
|
45
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
|
|
46
46
|
var router_link_with_href_exports = {};
|
|
47
47
|
__export(router_link_with_href_exports, {
|
|
48
48
|
default: () => router_link_with_href_default
|
|
@@ -51,7 +51,7 @@ module.exports = __toCommonJS(router_link_with_href_exports);
|
|
|
51
51
|
var import_schematics = require("@angular-devkit/schematics");
|
|
52
52
|
var import_path2 = require("path");
|
|
53
53
|
|
|
54
|
-
// bazel-out/
|
|
54
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
55
55
|
var import_core = require("@angular-devkit/core");
|
|
56
56
|
function getProjectTsConfigPaths(tree) {
|
|
57
57
|
return __async(this, null, function* () {
|
|
@@ -131,11 +131,11 @@ function getWorkspace(tree) {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
135
135
|
var import_path = require("path");
|
|
136
136
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
139
139
|
var path = __toESM(require("path"), 1);
|
|
140
140
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
141
141
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -152,7 +152,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
152
152
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
157
157
|
tsconfigPath = (0, import_path.resolve)(basePath, tsconfigPath);
|
|
158
158
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path.dirname)(tsconfigPath));
|
|
@@ -181,10 +181,10 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
181
181
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
|
|
185
185
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
188
188
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
189
189
|
function getImportOfIdentifier(typeChecker, node) {
|
|
190
190
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -231,7 +231,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
// bazel-out/
|
|
234
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
235
235
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
236
236
|
function closestNode(node, kind) {
|
|
237
237
|
let current = node;
|
|
@@ -244,7 +244,7 @@ function closestNode(node, kind) {
|
|
|
244
244
|
return null;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
// bazel-out/
|
|
247
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs
|
|
248
248
|
var routerLink = "RouterLink";
|
|
249
249
|
var routerLinkWithHref = "RouterLinkWithHref";
|
|
250
250
|
var routerModule = "@angular/router";
|
|
@@ -303,7 +303,7 @@ function sortByStartPosDescending(rewrites) {
|
|
|
303
303
|
return rewrites.sort((entityA, entityB) => entityB.startPos - entityA.startPos);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
// bazel-out/
|
|
306
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs
|
|
307
307
|
function router_link_with_href_default() {
|
|
308
308
|
return (tree) => __async(this, null, function* () {
|
|
309
309
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|
package/testing/index.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytes":10701,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytes":3789,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytes":12420,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs":{"bytes":9829,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs":{"bytes":6980,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/bundle.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":18915},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/bundle.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs":{"bytesInOutput":1636},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytesInOutput":2237},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytesInOutput":1527},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytesInOutput":779},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs":{"bytesInOutput":1815}},"bytes":10705}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytes":10701,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytes":3789,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytes":12420,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs":{"bytes":14180,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs":{"bytes":7202,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs":{"bytes":13955,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs":{"bytes":7157,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/bundle.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":28707},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/bundle.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs":{"bytesInOutput":1659},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytesInOutput":2237},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytesInOutput":1527},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytesInOutput":779},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs":{"bytesInOutput":2429},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs":{"bytesInOutput":1762},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs":{"bytesInOutput":302}},"bytes":13693}}}
|