@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/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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "15.0.0",
3
+ "version": "15.1.0-next.0",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -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;