@angular/cli 18.2.12 → 18.2.13

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.
@@ -3640,6 +3640,23 @@
3640
3640
  "type": "string",
3641
3641
  "description": "SSL certificate to use for serving HTTPS."
3642
3642
  },
3643
+ "allowedHosts": {
3644
+ "description": "The hosts that can access the development server. This option sets the Vite option of the same name. For further details: https://vite.dev/config/server-options.html#server-allowedhosts",
3645
+ "default": [],
3646
+ "oneOf": [
3647
+ {
3648
+ "type": "array",
3649
+ "description": "List of hosts that are allowed to access the development server.",
3650
+ "items": {
3651
+ "type": "string"
3652
+ }
3653
+ },
3654
+ {
3655
+ "type": "boolean",
3656
+ "description": "Indicates that all hosts are allowed. This is not recommended and a security risk."
3657
+ }
3658
+ ]
3659
+ },
3643
3660
  "headers": {
3644
3661
  "type": "object",
3645
3662
  "description": "Custom HTTP headers to be added to all responses.",
@@ -3795,7 +3812,7 @@
3795
3812
  },
3796
3813
  "allowedHosts": {
3797
3814
  "type": "array",
3798
- "description": "List of hosts that are allowed to access the dev server. This option has no effect when using the 'application' or other esbuild-based builders.",
3815
+ "description": "List of hosts that are allowed to access the dev server.",
3799
3816
  "default": [],
3800
3817
  "items": {
3801
3818
  "type": "string"
@@ -3807,7 +3824,7 @@
3807
3824
  },
3808
3825
  "disableHostCheck": {
3809
3826
  "type": "boolean",
3810
- "description": "Don't verify connected clients are part of allowed hosts. This option has no effect when using the 'application' or other esbuild-based builders.",
3827
+ "description": "Don't verify connected clients are part of allowed hosts.",
3811
3828
  "default": false
3812
3829
  },
3813
3830
  "hmr": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "18.2.12",
3
+ "version": "18.2.13",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -25,12 +25,12 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/architect": "0.1802.12",
29
- "@angular-devkit/core": "18.2.12",
30
- "@angular-devkit/schematics": "18.2.12",
28
+ "@angular-devkit/architect": "0.1802.13",
29
+ "@angular-devkit/core": "18.2.13",
30
+ "@angular-devkit/schematics": "18.2.13",
31
31
  "@inquirer/prompts": "5.3.8",
32
32
  "@listr2/prompt-adapter-inquirer": "2.0.15",
33
- "@schematics/angular": "18.2.12",
33
+ "@schematics/angular": "18.2.13",
34
34
  "@yarnpkg/lockfile": "1.1.0",
35
35
  "ini": "4.1.3",
36
36
  "jsonc-parser": "3.3.1",
@@ -46,14 +46,14 @@
46
46
  "ng-update": {
47
47
  "migrations": "@schematics/angular/migrations/migration-collection.json",
48
48
  "packageGroup": {
49
- "@angular/cli": "18.2.12",
50
- "@angular/build": "18.2.12",
51
- "@angular/ssr": "18.2.12",
52
- "@angular-devkit/architect": "0.1802.12",
53
- "@angular-devkit/build-angular": "18.2.12",
54
- "@angular-devkit/build-webpack": "0.1802.12",
55
- "@angular-devkit/core": "18.2.12",
56
- "@angular-devkit/schematics": "18.2.12"
49
+ "@angular/cli": "18.2.13",
50
+ "@angular/build": "18.2.13",
51
+ "@angular/ssr": "18.2.13",
52
+ "@angular-devkit/architect": "0.1802.13",
53
+ "@angular-devkit/build-angular": "18.2.13",
54
+ "@angular-devkit/build-webpack": "0.1802.13",
55
+ "@angular-devkit/core": "18.2.13",
56
+ "@angular-devkit/schematics": "18.2.13"
57
57
  }
58
58
  },
59
59
  "packageManager": "yarn@4.4.0",
@@ -200,6 +200,7 @@ class AddCommandModule extends schematics_command_module_1.SchematicsCommandModu
200
200
  }
201
201
  context.packageIdentifier = npm_package_arg_1.default.resolve(versionManifest.name, versionManifest.version);
202
202
  found = true;
203
+ break;
203
204
  }
204
205
  if (!found) {
205
206
  task.output = "Unable to find compatible package. Using 'latest' tag.";
@@ -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('18.2.12');
28
+ // export const VERSION = new Version('18.2.13');
29
29
  exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version);