@angular/core 15.0.0 → 15.1.0-next.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/esm2020/src/core_private_export.mjs +2 -1
- package/esm2020/src/error_details_base_url.mjs +6 -2
- package/esm2020/src/render3/i18n/i18n_parse.mjs +3 -2
- package/esm2020/src/render3/instructions/listener.mjs +6 -5
- package/esm2020/src/render3/node_manipulation.mjs +11 -20
- package/esm2020/src/sanitization/bypass.mjs +4 -3
- package/esm2020/src/sanitization/html_sanitizer.mjs +3 -2
- package/esm2020/src/sanitization/sanitization.mjs +3 -3
- package/esm2020/src/sanitization/url_sanitizer.mjs +3 -2
- 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.mjs +13 -2
- package/fesm2015/core.mjs +28 -33
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +39 -33
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +28 -33
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +39 -33
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +8 -2
- package/package.json +1 -1
- package/testing/index.d.ts +7 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.0
|
|
2
|
+
* @license Angular v15.1.0-next.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -11394,6 +11394,11 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, InternalViewRef
|
|
|
11394
11394
|
attachToAppRef(appRef: ViewRefTracker): void;
|
|
11395
11395
|
}
|
|
11396
11396
|
|
|
11397
|
+
/**
|
|
11398
|
+
* URL for the XSS security documentation.
|
|
11399
|
+
*/
|
|
11400
|
+
export declare const ɵXSS_SECURITY_URL = "https://g.co/ng/security#xss";
|
|
11401
|
+
|
|
11397
11402
|
/**
|
|
11398
11403
|
* Advances to an element for later binding instructions.
|
|
11399
11404
|
*
|
|
@@ -13033,7 +13038,8 @@ export declare function ɵɵinvalidFactoryDep(index: number): never;
|
|
|
13033
13038
|
*
|
|
13034
13039
|
* @param eventName Name of the event
|
|
13035
13040
|
* @param listenerFn The function to be called when event emits
|
|
13036
|
-
* @param useCapture Whether or not to use capture in event listener
|
|
13041
|
+
* @param useCapture Whether or not to use capture in event listener - this argument is a reminder
|
|
13042
|
+
* from the Renderer3 infrastructure and should be removed from the instruction arguments
|
|
13037
13043
|
* @param eventTargetResolver Function that returns global target information in case this listener
|
|
13038
13044
|
* should be attached to a global object like window, document or body
|
|
13039
13045
|
*
|
package/package.json
CHANGED
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.0
|
|
2
|
+
* @license Angular v15.1.0-next.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -292,6 +292,12 @@ export declare interface TestBed {
|
|
|
292
292
|
get<T>(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): any;
|
|
293
293
|
/** @deprecated from v9.0.0 use TestBed.inject */
|
|
294
294
|
get(token: any, notFoundValue?: any): any;
|
|
295
|
+
/**
|
|
296
|
+
* Runs the given function in the `EnvironmentInjector` context of `TestBed`.
|
|
297
|
+
*
|
|
298
|
+
* @see EnvironmentInjector#runInContext
|
|
299
|
+
*/
|
|
300
|
+
runInInjectionContext<T>(fn: () => T): T;
|
|
295
301
|
execute(tokens: any[], fn: Function, context?: any): any;
|
|
296
302
|
overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): TestBed;
|
|
297
303
|
overrideComponent(component: Type<any>, override: MetadataOverride<Component>): TestBed;
|