Skip to content

Commit 50fa2d6

Browse files
committedMar 2, 2018
chore: support for angular@6
1 parent 436ea38 commit 50fa2d6

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed
 

‎package-lock.json

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codelyzer",
3-
"version": "4.1.0",
3+
"version": "4.2.0",
44
"description": "Linting for Angular applications, following angular.io/styleguide.",
55
"main": "index.js",
66
"scripts": {
@@ -75,11 +75,11 @@
7575
"@types/js-yaml": "^3.5.31"
7676
},
7777
"peerDependencies": {
78-
"@angular/compiler": "^2.3.1 || >=4.0.0-beta <6.0.0",
79-
"@angular/core": "^2.3.1 || >=4.0.0-beta <6.0.0",
80-
"@angular/platform-browser-dynamic": "^2.3.1 || >=4.0.0-beta <6.0.0",
81-
"@angular/platform-browser": "^2.3.1 || >=4.0.0-beta <6.0.0",
82-
"@angular/common": "^2.3.1 || >=4.0.0-beta <6.0.0",
78+
"@angular/compiler": "^2.3.1 || >=4.0.0-beta <7.0.0",
79+
"@angular/core": "^2.3.1 || >=4.0.0-beta <7.0.0",
80+
"@angular/platform-browser-dynamic": "^2.3.1 || >=4.0.0-beta <7.0.0",
81+
"@angular/platform-browser": "^2.3.1 || >=4.0.0-beta <7.0.0",
82+
"@angular/common": "^2.3.1 || >=4.0.0-beta <7.0.0",
8383
"tslint": "^5.0.0"
8484
},
8585
"dependencies": {
@@ -90,4 +90,4 @@
9090
"source-map": "^0.5.6",
9191
"sprintf-js": "^1.0.3"
9292
}
93-
}
93+
}

‎src/angular/templates/jitReflector.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const MODULE_SUFFIX = '';
5252
const builtinExternalReferences = createBuiltinExternalReferencesMap();
5353

5454
export class JitReflector implements CompileReflector {
55+
tryAnnotations: any;
5556
private reflectionCapabilities: ReflectionCapabilities;
5657
private builtinExternalReferences = new Map<ExternalReference, any>();
5758

@@ -72,7 +73,7 @@ export class JitReflector implements CompileReflector {
7273
} else if (moduleId !== null && moduleId !== void 0) {
7374
throw syntaxError(
7475
`moduleId should be a string in "${stringify(type)}". See https://goo.gl/wIDDiL for more information.\n` +
75-
`If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`
76+
`If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`
7677
);
7778
}
7879

0 commit comments

Comments
 (0)