@ng-doc/builder 21.0.6 → 21.1.0

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.
@@ -52,6 +52,14 @@
52
52
  "type": "object",
53
53
  "additionalProperties": false,
54
54
  "properties": {
55
+ "allowedHosts": {
56
+ "description": "A list of hostnames that are allowed to access the server-side application. For more information, see https://angular.dev/best-practices/security#preventing-server-side-request-forgery-ssrf.",
57
+ "type": "array",
58
+ "uniqueItems": true,
59
+ "items": {
60
+ "type": "string"
61
+ }
62
+ },
55
63
  "autoCsp": {
56
64
  "description": "Enables automatic generation of a hash-based Strict Content Security Policy (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will default to true once we are out of experimental/preview phases.",
57
65
  "default": false,
@@ -634,8 +642,8 @@
634
642
  "type": "string",
635
643
  "description": "The server entry-point that when executed will spawn the web server."
636
644
  },
637
- "experimentalPlatform": {
638
- "description": "Specifies the platform for which the server bundle is generated. This affects the APIs and modules available in the server-side code. \n\n- `node`: (Default) Generates a bundle optimized for Node.js environments. \n- `neutral`: Generates a platform-neutral bundle suitable for environments like edge workers, and other serverless platforms. This option avoids using Node.js-specific APIs, making the bundle more portable. \n\nPlease note that this feature does not provide polyfills for Node.js modules. Additionally, it is experimental, and the schematics may undergo changes in future versions.",
645
+ "platform": {
646
+ "description": "Specifies the platform for which the server bundle is generated. This affects the APIs and modules available in the server-side code. \n\n- `node`: (Default) Generates a bundle optimized for Node.js environments. \n- `neutral`: Generates a platform-neutral bundle suitable for environments like edge workers, and other serverless platforms. This option avoids using Node.js-specific APIs, making the bundle more portable. \n\nPlease note that this feature does not provide polyfills for Node.js modules.",
639
647
  "default": "node",
640
648
  "enum": [
641
649
  "node",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/builder",
3
- "version": "21.0.6",
3
+ "version": "21.1.0",
4
4
  "type": "commonjs",
5
5
  "builders": "./builders.json",
6
6
  "schematics": "./schematics/collection.json",
@@ -11,10 +11,10 @@
11
11
  ]
12
12
  },
13
13
  "dependencies": {
14
- "@ng-doc/core": "21.0.6",
15
- "@ng-doc/utils": "21.0.6",
16
- "@angular-devkit/architect": ">=0.2100.0 < 0.2200.0",
17
- "@angular-devkit/build-angular": ">=21.0.0 < 22.0.0",
14
+ "@ng-doc/core": "21.1.0",
15
+ "@ng-doc/utils": "21.1.0",
16
+ "@angular-devkit/architect": ">=0.2200.0 < 0.2300.0",
17
+ "@angular-devkit/build-angular": ">=22.0.0 < 23.0.0",
18
18
  "minimatch": "9.0.1",
19
19
  "rxjs": "^7.0.0",
20
20
  "ts-morph": "22.0.0",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "overrides": {
44
44
  "nunjucks": {
45
- "chokidar": "^4.0.0"
45
+ "chokidar": "^5.0.0"
46
46
  }
47
47
  },
48
48
  "types": "./index.d.ts",