@schematics/angular 11.2.10 → 11.2.14
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/app-shell/index.js +1 -1
- package/application/index.js +1 -1
- package/class/index.js +6 -6
- package/component/index.js +1 -1
- package/directive/index.js +6 -6
- package/e2e/index.js +1 -1
- package/enum/index.js +6 -6
- package/guard/files/__name@dasherize__.guard.ts.template +1 -1
- package/guard/index.js +17 -9
- package/interceptor/index.js +1 -1
- package/interface/index.js +1 -1
- package/library/index.js +1 -1
- package/migrations/update-10/remove-es5-browser-support.d.ts +1 -1
- package/migrations/update-10/remove-es5-browser-support.js +1 -1
- package/migrations/update-10/remove-solution-style-tsconfig.js +1 -1
- package/migrations/update-10/rename-browserslist-config.js +1 -1
- package/migrations/update-10/update-angular-config.d.ts +1 -1
- package/migrations/update-10/update-angular-config.js +1 -1
- package/migrations/update-10/update-dependencies.d.ts +1 -1
- package/migrations/update-10/update-libraries-tslib.d.ts +1 -1
- package/migrations/update-10/update-libraries-tslib.js +1 -1
- package/migrations/update-10/update-module-and-target-compiler-options.js +1 -1
- package/migrations/update-11/add-declaration-map-compiler-option.d.ts +1 -1
- package/migrations/update-11/add-declaration-map-compiler-option.js +1 -1
- package/migrations/update-11/replace-ng-packagr-builder.d.ts +1 -1
- package/migrations/update-11/replace-ng-packagr-builder.js +1 -1
- package/migrations/update-11/update-angular-config.d.ts +1 -1
- package/migrations/update-11/update-angular-config.js +1 -1
- package/migrations/update-11/update-dependencies.d.ts +1 -1
- package/migrations/update-6/config.d.ts +1 -1
- package/migrations/update-6/config.js +1 -1
- package/migrations/update-6/index.js +1 -1
- package/migrations/update-7/devkit-ng-packagr.d.ts +1 -1
- package/migrations/update-7/index.d.ts +1 -1
- package/migrations/update-7/polyfill-metadata.d.ts +1 -1
- package/migrations/update-7/polyfill-metadata.js +1 -1
- package/migrations/update-7/typescript-helpers.d.ts +1 -1
- package/migrations/update-7/typescript-helpers.js +1 -1
- package/migrations/update-8/codelyzer-5.d.ts +1 -1
- package/migrations/update-8/differential-loading.js +1 -1
- package/migrations/update-8/drop-es6-polyfills.d.ts +1 -1
- package/migrations/update-8/drop-es6-polyfills.js +1 -1
- package/migrations/update-8/index.d.ts +1 -1
- package/migrations/update-8/index.js +1 -1
- package/migrations/update-8/remove-angular-http.d.ts +1 -1
- package/migrations/update-8/remove-angular-http.js +1 -1
- package/migrations/update-8/update-dependencies.d.ts +1 -1
- package/migrations/update-8/update-lazy-module-paths.d.ts +1 -1
- package/migrations/update-9/add-tslib.d.ts +1 -1
- package/migrations/update-9/index.d.ts +1 -1
- package/migrations/update-9/index.js +1 -1
- package/migrations/update-9/ivy-libraries.d.ts +1 -1
- package/migrations/update-9/ivy-libraries.js +1 -1
- package/migrations/update-9/ngsw-config.d.ts +1 -1
- package/migrations/update-9/remove-tsickle.d.ts +1 -1
- package/migrations/update-9/schematic-options.js +1 -1
- package/migrations/update-9/update-app-tsconfigs.js +1 -1
- package/migrations/update-9/update-dependencies.d.ts +1 -1
- package/migrations/update-9/update-server-main-file.d.ts +1 -1
- package/migrations/update-9/utils.js +1 -1
- package/module/index.js +6 -6
- package/ng-new/index.d.ts +1 -1
- package/ng-new/index.js +1 -1
- package/package.json +3 -3
- package/pipe/index.js +1 -1
- package/resolver/index.js +6 -6
- package/service/index.js +1 -1
- package/service-worker/index.js +1 -1
- package/service-worker/schema.d.ts +1 -1
- package/universal/index.js +1 -1
- package/utility/ast-utils.js +1 -1
- package/utility/change.d.ts +1 -1
- package/utility/dependencies.d.ts +1 -1
- package/utility/find-module.d.ts +1 -1
- package/utility/find-module.js +1 -1
- package/utility/json-file.d.ts +1 -1
- package/utility/json-file.js +1 -1
- package/utility/latest-versions.d.ts +1 -1
- package/utility/latest-versions.js +5 -5
- package/utility/lint-fix.d.ts +1 -1
- package/utility/lint-fix.js +1 -1
- package/utility/ng-ast-utils.js +1 -1
- package/utility/parse-name.d.ts +1 -1
- package/utility/parse-name.js +1 -1
- package/utility/paths.d.ts +1 -1
- package/utility/paths.js +1 -1
- package/utility/project-targets.d.ts +1 -1
- package/utility/project-targets.js +1 -1
- package/utility/test/create-app-module.d.ts +1 -1
- package/utility/test/get-file-content.d.ts +1 -1
- package/utility/test/index.d.ts +1 -1
- package/utility/test/index.js +1 -1
- package/utility/validation.js +1 -1
- package/utility/workspace-models.d.ts +1 -1
- package/utility/workspace-models.js +1 -1
- package/utility/workspace.d.ts +1 -1
- package/utility/workspace.js +1 -1
- package/web-worker/index.js +1 -1
- package/workspace/files/package.json.template +1 -1
- package/workspace/index.js +1 -1
package/app-shell/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/application/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/class/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright Google
|
|
6
|
-
*
|
|
7
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
-
* found in the LICENSE file at https://angular.io/license
|
|
9
|
-
*/
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*/
|
|
10
10
|
const core_1 = require("@angular-devkit/core");
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
const lint_fix_1 = require("../utility/lint-fix");
|
package/component/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/directive/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright Google
|
|
6
|
-
*
|
|
7
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
-
* found in the LICENSE file at https://angular.io/license
|
|
9
|
-
*/
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*/
|
|
10
10
|
const core_1 = require("@angular-devkit/core");
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
const ts = require("../third_party/github.com/Microsoft/TypeScript/lib/typescript");
|
package/e2e/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/enum/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright Google
|
|
6
|
-
*
|
|
7
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
-
* found in the LICENSE file at https://angular.io/license
|
|
9
|
-
*/
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*/
|
|
10
10
|
const core_1 = require("@angular-devkit/core");
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
const lint_fix_1 = require("../utility/lint-fix");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
|
-
import { <%= implementationImports %>
|
|
2
|
+
import { <%= implementationImports %> } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
@Injectable({
|
package/guard/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright Google
|
|
6
|
-
*
|
|
7
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
-
* found in the LICENSE file at https://angular.io/license
|
|
9
|
-
*/
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*/
|
|
10
10
|
const core_1 = require("@angular-devkit/core");
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
const lint_fix_1 = require("../utility/lint-fix");
|
|
@@ -24,11 +24,19 @@ function default_1(options) {
|
|
|
24
24
|
const implementations = options.implements
|
|
25
25
|
.map(implement => implement === 'CanDeactivate' ? 'CanDeactivate<unknown>' : implement)
|
|
26
26
|
.join(', ');
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
const commonRouterNameImports = ['ActivatedRouteSnapshot', 'RouterStateSnapshot'];
|
|
28
|
+
const routerNamedImports = [...options.implements, 'UrlTree'];
|
|
29
29
|
if (options.implements.includes(schema_1.Implement.CanLoad)) {
|
|
30
|
-
|
|
30
|
+
routerNamedImports.push('Route', 'UrlSegment');
|
|
31
|
+
if (options.implements.length > 1) {
|
|
32
|
+
routerNamedImports.push(...commonRouterNameImports);
|
|
33
|
+
}
|
|
31
34
|
}
|
|
35
|
+
else {
|
|
36
|
+
routerNamedImports.push(...commonRouterNameImports);
|
|
37
|
+
}
|
|
38
|
+
routerNamedImports.sort();
|
|
39
|
+
const implementationImports = routerNamedImports.join(', ');
|
|
32
40
|
const parsedPath = parse_name_1.parseName(options.path, options.name);
|
|
33
41
|
options.name = parsedPath.name;
|
|
34
42
|
options.path = parsedPath.path;
|
package/interceptor/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/interface/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/library/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.polyfillMetadataRule = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.typeScriptHelpersRule = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.updateES5Projects = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.dropES2015Polyfills = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.updateApplicationTsConfigs = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.forwardSlashPath = exports.isIvyEnabled = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/module/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright Google
|
|
6
|
-
*
|
|
7
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
-
* found in the LICENSE file at https://angular.io/license
|
|
9
|
-
*/
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*/
|
|
10
10
|
const core_1 = require("@angular-devkit/core");
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
const ts = require("../third_party/github.com/Microsoft/TypeScript/lib/typescript");
|
package/ng-new/index.d.ts
CHANGED
package/ng-new/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.14",
|
|
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.2.
|
|
18
|
-
"@angular-devkit/schematics": "11.2.
|
|
17
|
+
"@angular-devkit/core": "11.2.14",
|
|
18
|
+
"@angular-devkit/schematics": "11.2.14",
|
|
19
19
|
"jsonc-parser": "3.0.0"
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
package/pipe/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/resolver/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright Google
|
|
6
|
-
*
|
|
7
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
-
* found in the LICENSE file at https://angular.io/license
|
|
9
|
-
*/
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*/
|
|
10
10
|
const core_1 = require("@angular-devkit/core");
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
const parse_name_1 = require("../utility/parse-name");
|
package/service/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/service-worker/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/universal/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/ast-utils.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.addRouteDeclarationToModule = exports.getRouterModuleDeclaration = exports.getEnvironmentExportName = exports.isImported = exports.addEntryComponentToModule = exports.addBootstrapToModule = exports.addExportToModule = exports.addProviderToModule = exports.addImportToModule = exports.addDeclarationToModule = exports.addSymbolToNgModuleMetadata = exports.getMetadataField = exports.getDecoratorMetadata = exports.insertAfterLastOccurrence = exports.findNode = exports.getSourceNodes = exports.findNodes = exports.insertImport = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/change.d.ts
CHANGED
package/utility/find-module.d.ts
CHANGED
package/utility/find-module.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.buildRelativePath = exports.findModule = exports.findModuleFromOptions = exports.ROUTING_MODULE_EXT = exports.MODULE_EXT = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/json-file.d.ts
CHANGED
package/utility/json-file.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
|
-
* Copyright Google
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -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.2.
|
|
13
|
+
Angular: '~11.2.14',
|
|
14
14
|
RxJs: '~6.6.0',
|
|
15
15
|
ZoneJs: '~0.11.3',
|
|
16
16
|
TypeScript: '~4.1.5',
|
|
@@ -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.1102.
|
|
23
|
-
DevkitBuildNgPackagr: '~0.1102.
|
|
24
|
-
DevkitBuildWebpack: '~0.1102.
|
|
22
|
+
DevkitBuildAngular: '~0.1102.13',
|
|
23
|
+
DevkitBuildNgPackagr: '~0.1102.13',
|
|
24
|
+
DevkitBuildWebpack: '~0.1102.13',
|
|
25
25
|
ngPackagr: '^11.0.0',
|
|
26
26
|
};
|
package/utility/lint-fix.d.ts
CHANGED
package/utility/lint-fix.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.applyLintFix = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/ng-ast-utils.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAppModulePath = exports.findBootstrapModulePath = exports.findBootstrapModuleCall = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/parse-name.d.ts
CHANGED
package/utility/parse-name.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.parseName = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/paths.d.ts
CHANGED
package/utility/paths.js
CHANGED
package/utility/test/index.d.ts
CHANGED
package/utility/test/index.js
CHANGED
|
@@ -12,7 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
/**
|
|
14
14
|
* @license
|
|
15
|
-
* Copyright Google
|
|
15
|
+
* Copyright Google LLC All Rights Reserved.
|
|
16
16
|
*
|
|
17
17
|
* Use of this source code is governed by an MIT-style license that can be
|
|
18
18
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/validation.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.validateProjectName = exports.validateHtmlSelector = exports.htmlSelectorRe = exports.validateName = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Builders = exports.ProjectType = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/utility/workspace.d.ts
CHANGED
package/utility/workspace.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.allTargetOptions = exports.allWorkspaceTargets = exports.createDefaultPath = exports.buildDefaultPath = exports.getWorkspace = exports.updateWorkspace = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
|
-
* Copyright Google
|
|
6
|
+
* Copyright Google LLC All Rights Reserved.
|
|
7
7
|
*
|
|
8
8
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
9
|
* found in the LICENSE file at https://angular.io/license
|
package/web-worker/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"karma-chrome-launcher": "~3.1.0",
|
|
35
35
|
"karma-coverage": "~2.0.3",
|
|
36
36
|
"karma-jasmine": "~4.0.0",
|
|
37
|
-
"karma-jasmine-html-reporter": "
|
|
37
|
+
"karma-jasmine-html-reporter": "~1.5.0",
|
|
38
38
|
"protractor": "~7.0.0",
|
|
39
39
|
"ts-node": "~8.3.0",
|
|
40
40
|
"tslint": "~6.1.0",<% } %>
|
package/workspace/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
|
-
* Copyright Google
|
|
5
|
+
* Copyright Google LLC All Rights Reserved.
|
|
6
6
|
*
|
|
7
7
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8
8
|
* found in the LICENSE file at https://angular.io/license
|