@schematics/angular 11.0.5 → 11.0.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.6",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"schematics": "./collection.json",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@angular-devkit/core": "11.0.
|
|
18
|
-
"@angular-devkit/schematics": "11.0.
|
|
17
|
+
"@angular-devkit/core": "11.0.6",
|
|
18
|
+
"@angular-devkit/schematics": "11.0.6",
|
|
19
19
|
"jsonc-parser": "2.3.1"
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
package/utility/ast-utils.js
CHANGED
|
@@ -295,8 +295,7 @@ function getMetadataField(node, metadataField) {
|
|
|
295
295
|
// Filter out every fields that's not "metadataField". Also handles string literals
|
|
296
296
|
// (but not expressions).
|
|
297
297
|
.filter(({ name }) => {
|
|
298
|
-
return (ts.isIdentifier(name) || ts.isStringLiteral(name))
|
|
299
|
-
&& name.getText() === metadataField;
|
|
298
|
+
return (ts.isIdentifier(name) || ts.isStringLiteral(name)) && name.text === metadataField;
|
|
300
299
|
});
|
|
301
300
|
}
|
|
302
301
|
exports.getMetadataField = getMetadataField;
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.latestVersions = void 0;
|
|
11
11
|
exports.latestVersions = {
|
|
12
12
|
// These versions should be kept up to date with latest Angular peer dependencies.
|
|
13
|
-
Angular: '~11.0.
|
|
13
|
+
Angular: '~11.0.6',
|
|
14
14
|
RxJs: '~6.6.0',
|
|
15
15
|
ZoneJs: '~0.10.2',
|
|
16
16
|
TypeScript: '~4.0.2',
|
|
@@ -19,8 +19,8 @@ exports.latestVersions = {
|
|
|
19
19
|
// For our e2e tests, these versions must match the latest tag present on the branch.
|
|
20
20
|
// During RC periods they will not match the latest RC until there's a new git tag, and
|
|
21
21
|
// should not be updated.
|
|
22
|
-
DevkitBuildAngular: '~0.1100.
|
|
23
|
-
DevkitBuildNgPackagr: '~0.1100.
|
|
24
|
-
DevkitBuildWebpack: '~0.1100.
|
|
22
|
+
DevkitBuildAngular: '~0.1100.6',
|
|
23
|
+
DevkitBuildNgPackagr: '~0.1100.6',
|
|
24
|
+
DevkitBuildWebpack: '~0.1100.6',
|
|
25
25
|
ngPackagr: '^11.0.0',
|
|
26
26
|
};
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"start": "ng serve",
|
|
7
|
-
"build": "ng build"
|
|
7
|
+
"build": "ng build"<% if (!minimal) { %>,
|
|
8
8
|
"test": "ng test",
|
|
9
|
-
"lint": "ng lint"
|
|
9
|
+
"lint": "ng lint"<% } %>
|
|
10
10
|
},
|
|
11
11
|
"private": true,
|
|
12
12
|
"dependencies": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"karma-coverage": "~2.0.3",
|
|
36
36
|
"karma-jasmine": "~4.0.0",
|
|
37
37
|
"karma-jasmine-html-reporter": "^1.5.0",
|
|
38
|
-
"protractor": "~7.0.0"
|
|
38
|
+
"protractor": "~7.0.0",
|
|
39
39
|
"ts-node": "~8.3.0",
|
|
40
|
-
"tslint": "~6.1.0"
|
|
40
|
+
"tslint": "~6.1.0",<% } %>
|
|
41
41
|
"typescript": "<%= latestVersions.TypeScript %>"
|
|
42
42
|
}
|
|
43
43
|
}
|