@vercel/static-build 2.5.41 → 2.5.42
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 +19 -18
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -9560,7 +9560,6 @@ var require_frameworks = __commonJS({
|
|
|
9560
9560
|
{
|
|
9561
9561
|
name: "Saber",
|
|
9562
9562
|
slug: "saber",
|
|
9563
|
-
demo: "https://saber-template.vercel.app",
|
|
9564
9563
|
logo: "https://api-frameworks.vercel.sh/framework-logos/saber.svg",
|
|
9565
9564
|
tagline: "Saber is a framework for building static sites in Vue.js that supports data from any source.",
|
|
9566
9565
|
description: "A Saber site, created with npm init.",
|
|
@@ -10006,6 +10005,7 @@ var require_frameworks = __commonJS({
|
|
|
10006
10005
|
tagline: "Vite is a new breed of frontend build tool that significantly improves the frontend development experience.",
|
|
10007
10006
|
description: "A Vue.js app, created with Vite.",
|
|
10008
10007
|
website: "https://vitejs.dev",
|
|
10008
|
+
supersedes: ["ionic-react"],
|
|
10009
10009
|
envPrefix: "VITE_",
|
|
10010
10010
|
detectors: {
|
|
10011
10011
|
every: [
|
|
@@ -19275,23 +19275,24 @@ var require_local_file_system_detector = __commonJS({
|
|
|
19275
19275
|
}
|
|
19276
19276
|
async _readdir(dir) {
|
|
19277
19277
|
const dirPath = this.getFilePath(dir);
|
|
19278
|
-
const
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19284
|
-
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
-
})
|
|
19294
|
-
|
|
19278
|
+
const entries = await import_promises.default.readdir(dirPath, { withFileTypes: true });
|
|
19279
|
+
const result = [];
|
|
19280
|
+
for (const entry of entries) {
|
|
19281
|
+
let type;
|
|
19282
|
+
if (entry.isFile()) {
|
|
19283
|
+
type = "file";
|
|
19284
|
+
} else if (entry.isDirectory()) {
|
|
19285
|
+
type = "dir";
|
|
19286
|
+
} else {
|
|
19287
|
+
continue;
|
|
19288
|
+
}
|
|
19289
|
+
result.push({
|
|
19290
|
+
name: entry.name,
|
|
19291
|
+
path: (0, import_path7.join)(this.getRelativeFilePath(dir), entry.name),
|
|
19292
|
+
type
|
|
19293
|
+
});
|
|
19294
|
+
}
|
|
19295
|
+
return result;
|
|
19295
19296
|
}
|
|
19296
19297
|
_chdir(name) {
|
|
19297
19298
|
return new _LocalFileSystemDetector(this.getFilePath(name));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.42",
|
|
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.64",
|
|
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": "9.0
|
|
31
|
+
"@vercel/build-utils": "9.1.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
|
-
"@vercel/frameworks": "3.
|
|
34
|
-
"@vercel/fs-detectors": "5.3.
|
|
33
|
+
"@vercel/frameworks": "3.5.0",
|
|
34
|
+
"@vercel/fs-detectors": "5.3.3",
|
|
35
35
|
"@vercel/routing-utils": "5.0.0",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|