@angular/ssr 22.1.0-next.0 → 22.1.0-next.1
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/fesm2022/_validation-chunk.mjs +124 -5
- package/fesm2022/_validation-chunk.mjs.map +1 -1
- package/fesm2022/node.mjs +12 -8
- package/fesm2022/node.mjs.map +1 -1
- package/fesm2022/ssr.mjs.map +1 -1
- package/package.json +7 -7
- package/third_party/beasties/index.js +0 -10
- package/third_party/beasties/index.js.map +1 -1
- package/types/_app-engine-chunk.d.ts +2 -2
- package/types/node.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/ssr",
|
|
3
|
-
"version": "22.1.0-next.
|
|
3
|
+
"version": "22.1.0-next.1",
|
|
4
4
|
"description": "Angular server side rendering utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@angular-devkit/schematics": "workspace:*",
|
|
40
|
-
"@angular/common": "22.1.0-next.
|
|
41
|
-
"@angular/compiler": "22.1.0-next.
|
|
42
|
-
"@angular/core": "22.1.0-next.
|
|
43
|
-
"@angular/platform-browser": "22.1.0-next.
|
|
44
|
-
"@angular/platform-server": "22.1.0-next.
|
|
45
|
-
"@angular/router": "22.1.0-next.
|
|
40
|
+
"@angular/common": "22.1.0-next.1",
|
|
41
|
+
"@angular/compiler": "22.1.0-next.1",
|
|
42
|
+
"@angular/core": "22.1.0-next.1",
|
|
43
|
+
"@angular/platform-browser": "22.1.0-next.1",
|
|
44
|
+
"@angular/platform-server": "22.1.0-next.1",
|
|
45
|
+
"@angular/router": "22.1.0-next.1",
|
|
46
46
|
"@schematics/angular": "workspace:*",
|
|
47
47
|
"beasties": "0.4.2"
|
|
48
48
|
},
|
|
@@ -2052,22 +2052,14 @@ var hasRequiredNonSecure;
|
|
|
2052
2052
|
function requireNonSecure () {
|
|
2053
2053
|
if (hasRequiredNonSecure) return nonSecure;
|
|
2054
2054
|
hasRequiredNonSecure = 1;
|
|
2055
|
-
// This alphabet uses `A-Za-z0-9_-` symbols.
|
|
2056
|
-
// The order of characters is optimized for better gzip and brotli compression.
|
|
2057
|
-
// References to the same file (works both for gzip and brotli):
|
|
2058
|
-
// `'use`, `andom`, and `rict'`
|
|
2059
|
-
// References to the brotli default dictionary:
|
|
2060
|
-
// `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf`
|
|
2061
2055
|
let urlAlphabet =
|
|
2062
2056
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
2063
2057
|
|
|
2064
2058
|
let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
2065
2059
|
return (size = defaultSize) => {
|
|
2066
2060
|
let id = '';
|
|
2067
|
-
// A compact alternative for `for (var i = 0; i < step; i++)`.
|
|
2068
2061
|
let i = size | 0;
|
|
2069
2062
|
while (i--) {
|
|
2070
|
-
// `| 0` is more compact and faster than `Math.floor()`.
|
|
2071
2063
|
id += alphabet[(Math.random() * alphabet.length) | 0];
|
|
2072
2064
|
}
|
|
2073
2065
|
return id
|
|
@@ -2076,10 +2068,8 @@ function requireNonSecure () {
|
|
|
2076
2068
|
|
|
2077
2069
|
let nanoid = (size = 21) => {
|
|
2078
2070
|
let id = '';
|
|
2079
|
-
// A compact alternative for `for (var i = 0; i < step; i++)`.
|
|
2080
2071
|
let i = size | 0;
|
|
2081
2072
|
while (i--) {
|
|
2082
|
-
// `| 0` is more compact and faster than `Math.floor()`.
|
|
2083
2073
|
id += urlAlphabet[(Math.random() * 64) | 0];
|
|
2084
2074
|
}
|
|
2085
2075
|
return id
|