@netlify/zip-it-and-ship-it 14.3.0 → 14.3.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.
|
@@ -104,7 +104,7 @@ const createDirectory = async function ({ aliases = new Map(), basePath, cache,
|
|
|
104
104
|
const createZipArchive = async function ({ aliases = new Map(), basePath, branch, cache, destFolder, extension, featureFlags, filename, mainFile, moduleFormat, rewrites, runtimeAPIVersion, srcFiles, generator, }) {
|
|
105
105
|
const isPlay = useNetlifyPlay(featureFlags, mainFile);
|
|
106
106
|
const format = isPlay ? ARCHIVE_FORMAT.TAR : ARCHIVE_FORMAT.ZIP;
|
|
107
|
-
const archiveExtension = format === ARCHIVE_FORMAT.TAR ? '.
|
|
107
|
+
const archiveExtension = format === ARCHIVE_FORMAT.TAR ? '.tgz' : '.zip';
|
|
108
108
|
const destPath = join(destFolder, `${basename(filename, extension)}${archiveExtension}`);
|
|
109
109
|
const { archive, output } = format === ARCHIVE_FORMAT.TAR ? startTar(destPath) : startZip(destPath);
|
|
110
110
|
// There is a naming conflict with the entry file if one of the supporting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/zip-it-and-ship-it",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.2",
|
|
4
4
|
"description": "Zip it and ship it",
|
|
5
5
|
"main": "./dist/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/parser": "^7.22.5",
|
|
45
45
|
"@babel/types": "^7.28.5",
|
|
46
46
|
"@netlify/binary-info": "^1.0.0",
|
|
47
|
-
"@netlify/serverless-functions-api": "^2.
|
|
47
|
+
"@netlify/serverless-functions-api": "^2.9.0",
|
|
48
48
|
"@vercel/nft": "0.29.4",
|
|
49
49
|
"archiver": "^7.0.0",
|
|
50
50
|
"common-path-prefix": "^3.0.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/archiver": "6.0.4",
|
|
79
79
|
"@types/is-ci": "3.0.4",
|
|
80
|
-
"@types/node": "20.19.
|
|
80
|
+
"@types/node": "20.19.30",
|
|
81
81
|
"@types/normalize-path": "3.0.2",
|
|
82
82
|
"@types/resolve": "1.20.6",
|
|
83
83
|
"@types/semver": "7.7.1",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"engines": {
|
|
100
100
|
"node": ">=18.14.0"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "3916fb7641d4e6fa8c2bede1e72d35ac8b87d8d8"
|
|
103
103
|
}
|