@angular/core 14.1.0-next.2 → 14.1.0-next.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/esm2020/src/application_ref.mjs +22 -12
- package/esm2020/src/di/injector_compatibility.mjs +3 -8
- package/esm2020/src/di/jit/util.mjs +3 -2
- package/esm2020/src/di/reflective_key.mjs +3 -2
- package/esm2020/src/errors.mjs +1 -1
- package/esm2020/src/i18n/locale_data_api.mjs +3 -2
- package/esm2020/src/render3/component.mjs +3 -2
- package/esm2020/src/render3/interfaces/renderer.mjs +10 -1
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/src/zone/ng_zone.mjs +5 -4
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +41 -25
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +79 -74
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +41 -25
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +79 -74
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +6 -6
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
- package/schematics/utils/schematics_prompt.d.ts +0 -17
- package/schematics/utils/schematics_prompt.js +0 -45
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.1.0-next.
|
|
2
|
+
* @license Angular v14.1.0-next.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -401,7 +401,6 @@ export declare class ApplicationRef {
|
|
|
401
401
|
private _zone;
|
|
402
402
|
private _injector;
|
|
403
403
|
private _exceptionHandler;
|
|
404
|
-
private _initStatus;
|
|
405
404
|
private _views;
|
|
406
405
|
private _runningTick;
|
|
407
406
|
private _stable;
|
|
@@ -7046,6 +7045,7 @@ declare const enum RuntimeErrorCode {
|
|
|
7046
7045
|
INVALID_INJECTION_TOKEN = 204,
|
|
7047
7046
|
INJECTOR_ALREADY_DESTROYED = 205,
|
|
7048
7047
|
PROVIDER_IN_WRONG_CONTEXT = 207,
|
|
7048
|
+
MISSING_INJECTION_TOKEN = 208,
|
|
7049
7049
|
MULTIPLE_COMPONENTS_MATCH = -300,
|
|
7050
7050
|
EXPORT_NOT_FOUND = -301,
|
|
7051
7051
|
PIPE_NOT_FOUND = -302,
|
|
@@ -7061,6 +7061,7 @@ declare const enum RuntimeErrorCode {
|
|
|
7061
7061
|
ASYNC_INITIALIZERS_STILL_RUNNING = 405,
|
|
7062
7062
|
APPLICATION_REF_ALREADY_DESTROYED = 406,
|
|
7063
7063
|
INVALID_I18N_STRUCTURE = 700,
|
|
7064
|
+
MISSING_LOCALE_DATA = 701,
|
|
7064
7065
|
IMPORT_PROVIDERS_FROM_STANDALONE = 800,
|
|
7065
7066
|
INVALID_DIFFER_INPUT = 900,
|
|
7066
7067
|
NO_SUPPORTING_DIFFER_FACTORY = 901,
|
|
@@ -7069,7 +7070,9 @@ declare const enum RuntimeErrorCode {
|
|
|
7069
7070
|
UNSAFE_VALUE_IN_RESOURCE_URL = 904,
|
|
7070
7071
|
UNSAFE_VALUE_IN_SCRIPT = 905,
|
|
7071
7072
|
MISSING_GENERATED_DEF = 906,
|
|
7072
|
-
TYPE_IS_NOT_STANDALONE = 907
|
|
7073
|
+
TYPE_IS_NOT_STANDALONE = 907,
|
|
7074
|
+
MISSING_ZONEJS = 908,
|
|
7075
|
+
UNEXPECTED_ZONE_STATE = 909
|
|
7073
7076
|
}
|
|
7074
7077
|
|
|
7075
7078
|
declare const SANITIZER = 12;
|
|
@@ -12758,9 +12761,6 @@ export declare function ɵɵinvalidFactory(): never;
|
|
|
12758
12761
|
* Throws an error indicating that a factory function could not be generated by the compiler for a
|
|
12759
12762
|
* particular class.
|
|
12760
12763
|
*
|
|
12761
|
-
* This instruction allows the actual error message to be optimized away when ngDevMode is turned
|
|
12762
|
-
* off, saving bytes of generated code while still providing a good experience in dev mode.
|
|
12763
|
-
*
|
|
12764
12764
|
* The name of the class is not mentioned here, but will be in the generated factory function name
|
|
12765
12765
|
* and thus in the stack trace.
|
|
12766
12766
|
*
|
package/package.json
CHANGED
package/testing/index.d.ts
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/// <amd-module name="@angular/core/schematics/utils/schematics_prompt" />
|
|
9
|
-
declare type Inquirer = typeof import('inquirer');
|
|
10
|
-
/** Whether prompts are currently supported. */
|
|
11
|
-
export declare function supportsPrompt(): boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Gets the resolved instance of "inquirer" which can be used to programmatically
|
|
14
|
-
* create prompts.
|
|
15
|
-
*/
|
|
16
|
-
export declare function getInquirer(): Inquirer;
|
|
17
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
(function (factory) {
|
|
9
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
10
|
-
var v = factory(require, exports);
|
|
11
|
-
if (v !== undefined) module.exports = v;
|
|
12
|
-
}
|
|
13
|
-
else if (typeof define === "function" && define.amd) {
|
|
14
|
-
define("@angular/core/schematics/utils/schematics_prompt", ["require", "exports"], factory);
|
|
15
|
-
}
|
|
16
|
-
})(function (require, exports) {
|
|
17
|
-
"use strict";
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.getInquirer = exports.supportsPrompt = void 0;
|
|
20
|
-
let resolvedInquirerModule;
|
|
21
|
-
try {
|
|
22
|
-
// "inquirer" is the prompt module also used by the devkit schematics CLI
|
|
23
|
-
// in order to show prompts for schematics. We transitively depend on this
|
|
24
|
-
// module, but don't want to throw an exception if the module is not
|
|
25
|
-
// installed for some reason. In that case prompts are just not supported.
|
|
26
|
-
resolvedInquirerModule = require('inquirer');
|
|
27
|
-
}
|
|
28
|
-
catch (e) {
|
|
29
|
-
resolvedInquirerModule = null;
|
|
30
|
-
}
|
|
31
|
-
/** Whether prompts are currently supported. */
|
|
32
|
-
function supportsPrompt() {
|
|
33
|
-
return !!resolvedInquirerModule && !!process.stdin.isTTY;
|
|
34
|
-
}
|
|
35
|
-
exports.supportsPrompt = supportsPrompt;
|
|
36
|
-
/**
|
|
37
|
-
* Gets the resolved instance of "inquirer" which can be used to programmatically
|
|
38
|
-
* create prompts.
|
|
39
|
-
*/
|
|
40
|
-
function getInquirer() {
|
|
41
|
-
return resolvedInquirerModule;
|
|
42
|
-
}
|
|
43
|
-
exports.getInquirer = getInquirer;
|
|
44
|
-
});
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hdGljc19wcm9tcHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL3NjaGVtYXRpY3MvdXRpbHMvc2NoZW1hdGljc19wcm9tcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7O0lBSUgsSUFBSSxzQkFBcUMsQ0FBQztJQUUxQyxJQUFJO1FBQ0YseUVBQXlFO1FBQ3pFLDBFQUEwRTtRQUMxRSxvRUFBb0U7UUFDcEUsMEVBQTBFO1FBQzFFLHNCQUFzQixHQUFHLE9BQU8sQ0FBQ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