@schematics/angular 20.3.15 → 20.3.17

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": "20.3.15",
3
+ "version": "20.3.17",
4
4
  "description": "Schematics specific to Angular",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "keywords": [
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "schematics": "./collection.json",
24
24
  "dependencies": {
25
- "@angular-devkit/core": "20.3.15",
26
- "@angular-devkit/schematics": "20.3.15",
25
+ "@angular-devkit/core": "20.3.17",
26
+ "@angular-devkit/schematics": "20.3.17",
27
27
  "jsonc-parser": "3.3.1"
28
28
  },
29
29
  "repository": {
@@ -15,7 +15,9 @@ export function app(): express.Express {
15
15
  ? join(distFolder, 'index.original.html')
16
16
  : join(distFolder, 'index.html');
17
17
 
18
- const commonEngine = new CommonEngine();
18
+ const commonEngine = new CommonEngine({
19
+ allowedHosts: [/* Configure your hosts here */]
20
+ });
19
21
 
20
22
  server.set('view engine', 'html');
21
23
  server.set('views', distFolder);
package/ssr/index.js CHANGED
@@ -141,6 +141,10 @@ function updateApplicationBuilderWorkspaceConfigRule(projectSourceRoot, options,
141
141
  }
142
142
  buildTarget.options = {
143
143
  ...buildTarget.options,
144
+ security: {
145
+ ...(buildTarget.options?.security ?? {}),
146
+ allowedHosts: [],
147
+ },
144
148
  outputPath,
145
149
  outputMode: 'server',
146
150
  ssr: {
@@ -16,7 +16,7 @@ exports.latestVersions = {
16
16
  // As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
17
17
  Angular: '^20.3.0',
18
18
  NgPackagr: '^20.3.0',
19
- DevkitBuildAngular: '^20.3.15',
20
- AngularBuild: '^20.3.15',
21
- AngularSSR: '^20.3.15',
19
+ DevkitBuildAngular: '^20.3.17',
20
+ AngularBuild: '^20.3.17',
21
+ AngularSSR: '^20.3.17',
22
22
  };