@angular-eslint/utils 15.2.2-alpha.9 → 16.0.0-alpha.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.
@@ -20,6 +20,7 @@ type BaseErrorOptions = {
20
20
  readonly options?: readonly unknown[];
21
21
  readonly annotatedOutput?: string;
22
22
  readonly filename?: string;
23
+ readonly only?: boolean;
23
24
  };
24
25
  type Message<TMessageIds extends string> = {
25
26
  readonly messageId: TMessageIds;
@@ -21,7 +21,7 @@ exports.SPECIAL_UNDERLINE_CHARS = [
21
21
  '@',
22
22
  ];
23
23
  function convertAnnotatedSourceToFailureCase(errorOptions) {
24
- var _a;
24
+ var _a, _b;
25
25
  const messages = 'messageId' in errorOptions
26
26
  ? [Object.assign(Object.assign({}, errorOptions), { char: '~' })]
27
27
  : errorOptions.messages;
@@ -52,6 +52,7 @@ function convertAnnotatedSourceToFailureCase(errorOptions) {
52
52
  filename: errorOptions.filename,
53
53
  options: (_a = errorOptions.options) !== null && _a !== void 0 ? _a : [],
54
54
  errors,
55
+ only: (_b = errorOptions.only) !== null && _b !== void 0 ? _b : false,
55
56
  output: errorOptions.annotatedOutput
56
57
  ? parseInvalidSource(errorOptions.annotatedOutput).source
57
58
  : null,
@@ -72,7 +72,7 @@ export type AngularInnerClassDecoratorKeys = Exclude<keyof typeof AngularInnerCl
72
72
  export type AngularLifecycleInterfaceKeys = keyof typeof AngularLifecycleInterfaces;
73
73
  export type AngularLifecycleMethodKeys = keyof typeof AngularLifecycleMethods;
74
74
  export declare const angularClassDecoratorKeys: readonly ("Component" | "Directive" | "Injectable" | "NgModule" | "Pipe")[];
75
- export declare const angularInnerClassDecoratorKeys: readonly ("ContentChild" | "ContentChildren" | "HostBinding" | "Input" | "Output" | "ViewChild" | "ViewChildren" | "HostListener" | "Attribute" | "Host" | "Inject" | "Optional" | "Self" | "SkipSelf")[];
75
+ export declare const angularInnerClassDecoratorKeys: readonly ("Attribute" | "Host" | "Inject" | "Optional" | "Self" | "SkipSelf" | "HostListener" | "ContentChild" | "ContentChildren" | "HostBinding" | "Input" | "Output" | "ViewChild" | "ViewChildren")[];
76
76
  export declare const angularLifecycleInterfaceKeys: readonly ("AfterContentChecked" | "AfterContentInit" | "AfterViewChecked" | "AfterViewInit" | "DoBootstrap" | "DoCheck" | "OnChanges" | "OnDestroy" | "OnInit")[];
77
77
  export declare const angularLifecycleMethodKeys: readonly ("ngAfterContentChecked" | "ngAfterContentInit" | "ngAfterViewChecked" | "ngAfterViewInit" | "ngDoBootstrap" | "ngDoCheck" | "ngOnChanges" | "ngOnDestroy" | "ngOnInit")[];
78
78
  export declare const ANGULAR_CLASS_DECORATOR_LIFECYCLE_METHOD_MAPPER: ReadonlyMap<AngularClassDecoratorKeys, ReadonlySet<AngularLifecycleMethodKeys>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/utils",
3
- "version": "15.2.2-alpha.9+449bb7a",
3
+ "version": "16.0.0-alpha.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,8 +15,8 @@
15
15
  "typescript": "*"
16
16
  },
17
17
  "dependencies": {
18
- "@angular-eslint/bundled-angular-compiler": "15.2.2-alpha.9+449bb7a",
19
- "@typescript-eslint/utils": "5.51.0"
18
+ "@angular-eslint/bundled-angular-compiler": "16.0.0-alpha.1",
19
+ "@typescript-eslint/utils": "5.59.2"
20
20
  },
21
- "gitHead": "449bb7ae1934072c00a39ffb2fe8973a39da9df4"
21
+ "gitHead": "ffcbae10749bc12760a9d442d4293179c6c19042"
22
22
  }