@vercel/static-build 2.4.0 → 2.4.2
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/dist/index.js +13 -6
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -8462,11 +8462,14 @@ var require_frameworks = __commonJS({
|
|
|
8462
8462
|
description: "A new Remix app \u2014 the result of running `npx create-remix`.",
|
|
8463
8463
|
website: "https://remix.run",
|
|
8464
8464
|
sort: 6,
|
|
8465
|
-
supersedes: "hydrogen",
|
|
8465
|
+
supersedes: ["hydrogen", "vite"],
|
|
8466
8466
|
useRuntime: { src: "package.json", use: "@vercel/remix-builder" },
|
|
8467
8467
|
ignoreRuntimes: ["@vercel/node"],
|
|
8468
8468
|
detectors: {
|
|
8469
8469
|
some: [
|
|
8470
|
+
{
|
|
8471
|
+
matchPackage: "@remix-run/dev"
|
|
8472
|
+
},
|
|
8470
8473
|
{
|
|
8471
8474
|
path: "remix.config.js"
|
|
8472
8475
|
},
|
|
@@ -9922,7 +9925,7 @@ var require_frameworks = __commonJS({
|
|
|
9922
9925
|
tagline: "React framework for headless commerce",
|
|
9923
9926
|
description: "React framework for headless commerce",
|
|
9924
9927
|
website: "https://hydrogen.shopify.dev",
|
|
9925
|
-
supersedes: "vite",
|
|
9928
|
+
supersedes: ["vite"],
|
|
9926
9929
|
useRuntime: { src: "package.json", use: "@vercel/hydrogen" },
|
|
9927
9930
|
envPrefix: "PUBLIC_",
|
|
9928
9931
|
detectors: {
|
|
@@ -18129,10 +18132,10 @@ var require_detect_builders = __commonJS({
|
|
|
18129
18132
|
message: "Functions must have a duration between 1 and 900."
|
|
18130
18133
|
};
|
|
18131
18134
|
}
|
|
18132
|
-
if (func.memory !== void 0 && (func.memory < 128 || func.memory >
|
|
18135
|
+
if (func.memory !== void 0 && (func.memory < 128 || func.memory > 3009)) {
|
|
18133
18136
|
return {
|
|
18134
18137
|
code: "invalid_function_memory",
|
|
18135
|
-
message: "Functions must have a memory value between 128 and
|
|
18138
|
+
message: "Functions must have a memory value between 128 and 3009"
|
|
18136
18139
|
};
|
|
18137
18140
|
}
|
|
18138
18141
|
if (path6.startsWith("/")) {
|
|
@@ -18788,7 +18791,9 @@ var require_detect_framework = __commonJS({
|
|
|
18788
18791
|
const framework = matches2[index];
|
|
18789
18792
|
if (framework) {
|
|
18790
18793
|
if (framework.supersedes) {
|
|
18791
|
-
|
|
18794
|
+
for (const slug2 of framework.supersedes) {
|
|
18795
|
+
removeSupersededFramework(matches2, slug2);
|
|
18796
|
+
}
|
|
18792
18797
|
}
|
|
18793
18798
|
matches2.splice(index, 1);
|
|
18794
18799
|
}
|
|
@@ -18796,7 +18801,9 @@ var require_detect_framework = __commonJS({
|
|
|
18796
18801
|
function removeSupersededFrameworks(matches2) {
|
|
18797
18802
|
for (const match of matches2.slice()) {
|
|
18798
18803
|
if (match?.supersedes) {
|
|
18799
|
-
|
|
18804
|
+
for (const slug of match.supersedes) {
|
|
18805
|
+
removeSupersededFramework(matches2, slug);
|
|
18806
|
+
}
|
|
18800
18807
|
}
|
|
18801
18808
|
}
|
|
18802
18809
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.0.
|
|
17
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.0.20",
|
|
18
18
|
"@vercel/static-config": "3.0.0",
|
|
19
19
|
"ts-morph": "12.0.0"
|
|
20
20
|
},
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@types/node-fetch": "2.5.4",
|
|
29
29
|
"@types/promise-timeout": "1.3.0",
|
|
30
30
|
"@types/semver": "7.3.13",
|
|
31
|
-
"@vercel/build-utils": "7.
|
|
31
|
+
"@vercel/build-utils": "7.8.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.2",
|
|
33
|
-
"@vercel/frameworks": "
|
|
34
|
-
"@vercel/fs-detectors": "5.1
|
|
33
|
+
"@vercel/frameworks": "3.0.0",
|
|
34
|
+
"@vercel/fs-detectors": "5.2.1",
|
|
35
35
|
"@vercel/routing-utils": "3.1.0",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|