@angular/core 15.0.0-rc.4 → 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-rc.4
2
+ * @license Angular v15.1.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2385,8 +2385,13 @@ export declare interface Directive {
2385
2385
  standalone?: boolean;
2386
2386
  /**
2387
2387
  * Standalone directives that should be applied to the host whenever the directive is matched.
2388
- * By default none of the inputs or outputs of the host directives will be available on the host,
2388
+ * By default, none of the inputs or outputs of the host directives will be available on the host,
2389
2389
  * unless they are specified in the `inputs` or `outputs` properties.
2390
+ *
2391
+ * You can additionally alias inputs and outputs by putting a colon and the alias after the
2392
+ * original input or output name. For example, if a directive applied via `hostDirectives`
2393
+ * defines an input named `menuDisabled`, you can alias this to `disabled` by adding
2394
+ * `'menuDisabled: disabled'` as an entry to `inputs`.
2390
2395
  */
2391
2396
  hostDirectives?: (Type<unknown> | {
2392
2397
  directive: Type<unknown>;
@@ -11389,6 +11394,11 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, InternalViewRef
11389
11394
  attachToAppRef(appRef: ViewRefTracker): void;
11390
11395
  }
11391
11396
 
11397
+ /**
11398
+ * URL for the XSS security documentation.
11399
+ */
11400
+ export declare const ɵXSS_SECURITY_URL = "https://g.co/ng/security#xss";
11401
+
11392
11402
  /**
11393
11403
  * Advances to an element for later binding instructions.
11394
11404
  *
@@ -13028,7 +13038,8 @@ export declare function ɵɵinvalidFactoryDep(index: number): never;
13028
13038
  *
13029
13039
  * @param eventName Name of the event
13030
13040
  * @param listenerFn The function to be called when event emits
13031
- * @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
13032
13043
  * @param eventTargetResolver Function that returns global target information in case this listener
13033
13044
  * should be attached to a global object like window, document or body
13034
13045
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "15.0.0-rc.4",
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-rc.4
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;