@angular/cli 13.3.2 → 13.3.5

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.
@@ -151,7 +151,9 @@ function wrap(schematicFile, schematicDirectory, moduleCache, exportName) {
151
151
  const schematicCode = (0, fs_1.readFileSync)(schematicFile, 'utf8');
152
152
  // `module` is required due to @angular/localize ng-add being in UMD format
153
153
  const headerCode = '(function() {\nvar exports = {};\nvar module = { exports };\n';
154
- const footerCode = exportName ? `\nreturn exports['${exportName}'];});` : '\nreturn exports;});';
154
+ const footerCode = exportName
155
+ ? `\nreturn module.exports['${exportName}'];});`
156
+ : '\nreturn module.exports;});';
155
157
  const script = new vm_1.Script(headerCode + schematicCode + footerCode, {
156
158
  filename: schematicFile,
157
159
  lineOffset: 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "13.3.2",
3
+ "version": "13.3.5",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "homepage": "https://github.com/angular/angular-cli",
30
30
  "dependencies": {
31
- "@angular-devkit/architect": "0.1303.2",
32
- "@angular-devkit/core": "13.3.2",
33
- "@angular-devkit/schematics": "13.3.2",
34
- "@schematics/angular": "13.3.2",
31
+ "@angular-devkit/architect": "0.1303.5",
32
+ "@angular-devkit/core": "13.3.5",
33
+ "@angular-devkit/schematics": "13.3.5",
34
+ "@schematics/angular": "13.3.5",
35
35
  "@yarnpkg/lockfile": "1.1.0",
36
36
  "ansi-colors": "4.1.1",
37
37
  "debug": "4.3.3",
@@ -51,12 +51,12 @@
51
51
  "ng-update": {
52
52
  "migrations": "@schematics/angular/migrations/migration-collection.json",
53
53
  "packageGroup": {
54
- "@angular/cli": "13.3.2",
55
- "@angular-devkit/architect": "0.1303.2",
56
- "@angular-devkit/build-angular": "13.3.2",
57
- "@angular-devkit/build-webpack": "0.1303.2",
58
- "@angular-devkit/core": "13.3.2",
59
- "@angular-devkit/schematics": "13.3.2"
54
+ "@angular/cli": "13.3.5",
55
+ "@angular-devkit/architect": "0.1303.5",
56
+ "@angular-devkit/build-angular": "13.3.5",
57
+ "@angular-devkit/build-webpack": "0.1303.5",
58
+ "@angular-devkit/core": "13.3.5",
59
+ "@angular-devkit/schematics": "13.3.5"
60
60
  }
61
61
  },
62
62
  "engines": {