@angular/cli 17.0.0-rc.3 → 17.0.0-rc.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.
package/bin/ng.js CHANGED
@@ -51,7 +51,7 @@ if (version[0] % 2 === 1) {
51
51
  process.version +
52
52
  ' detected.\n' +
53
53
  'Odd numbered Node.js versions will not enter LTS status and should not be used for production.' +
54
- ' For more information, please see https://nodejs.org/en/about/releases/.',
54
+ ' For more information, please see https://nodejs.org/en/about/previous-releases/.',
55
55
  );
56
56
 
57
57
  require('./bootstrap');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "17.0.0-rc.3",
3
+ "version": "17.0.0-rc.5",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.1700.0-rc.3",
29
- "@angular-devkit/core": "17.0.0-rc.3",
30
- "@angular-devkit/schematics": "17.0.0-rc.3",
31
- "@schematics/angular": "17.0.0-rc.3",
28
+ "@angular-devkit/architect": "0.1700.0-rc.5",
29
+ "@angular-devkit/core": "17.0.0-rc.5",
30
+ "@angular-devkit/schematics": "17.0.0-rc.5",
31
+ "@schematics/angular": "17.0.0-rc.5",
32
32
  "@yarnpkg/lockfile": "1.1.0",
33
33
  "ansi-colors": "4.1.3",
34
34
  "ini": "4.1.1",
@@ -47,13 +47,13 @@
47
47
  "ng-update": {
48
48
  "migrations": "@schematics/angular/migrations/migration-collection.json",
49
49
  "packageGroup": {
50
- "@angular/cli": "17.0.0-rc.3",
51
- "@angular/ssr": "17.0.0-rc.3",
52
- "@angular-devkit/architect": "0.1700.0-rc.3",
53
- "@angular-devkit/build-angular": "17.0.0-rc.3",
54
- "@angular-devkit/build-webpack": "0.1700.0-rc.3",
55
- "@angular-devkit/core": "17.0.0-rc.3",
56
- "@angular-devkit/schematics": "17.0.0-rc.3"
50
+ "@angular/cli": "17.0.0-rc.5",
51
+ "@angular/ssr": "17.0.0-rc.5",
52
+ "@angular-devkit/architect": "0.1700.0-rc.5",
53
+ "@angular-devkit/build-angular": "17.0.0-rc.5",
54
+ "@angular-devkit/build-webpack": "0.1700.0-rc.5",
55
+ "@angular-devkit/core": "17.0.0-rc.5",
56
+ "@angular-devkit/schematics": "17.0.0-rc.5"
57
57
  }
58
58
  },
59
59
  "engines": {
@@ -8,6 +8,10 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.loadEsmModule = void 0;
11
+ /**
12
+ * Lazily compiled dynamic import loader function.
13
+ */
14
+ let load;
11
15
  /**
12
16
  * This uses a dynamic import to load a module which may be ESM.
13
17
  * CommonJS code can load ESM code via a dynamic import. Unfortunately, TypeScript
@@ -21,6 +25,7 @@ exports.loadEsmModule = void 0;
21
25
  * @returns A Promise that resolves to the dynamically imported module.
22
26
  */
23
27
  function loadEsmModule(modulePath) {
24
- return new Function('modulePath', `return import(modulePath);`)(modulePath);
28
+ load ??= new Function('modulePath', `return import(modulePath);`);
29
+ return load(modulePath);
25
30
  }
26
31
  exports.loadEsmModule = loadEsmModule;
@@ -25,5 +25,5 @@ class Version {
25
25
  }
26
26
  }
27
27
  // TODO(bazel): Convert this to use build-time version stamping after flipping the build script to use bazel
28
- // export const VERSION = new Version('17.0.0-rc.3');
28
+ // export const VERSION = new Version('17.0.0-rc.5');
29
29
  exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version);