@netlify/zip-it-and-ship-it 15.1.0 → 15.2.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.
|
@@ -6,6 +6,7 @@ declare const versionMap: {
|
|
|
6
6
|
readonly 18: "node18";
|
|
7
7
|
readonly 20: "node20";
|
|
8
8
|
readonly 22: "node22";
|
|
9
|
+
readonly 24: "node24";
|
|
9
10
|
};
|
|
10
11
|
type VersionValues = (typeof versionMap)[keyof typeof versionMap];
|
|
11
12
|
declare const getBundlerTarget: (suppliedVersion?: string) => VersionValues;
|
|
@@ -2,7 +2,7 @@ export interface NodeVersionSupport {
|
|
|
2
2
|
esm: boolean;
|
|
3
3
|
awsSDKV3: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const DEFAULT_NODE_VERSION =
|
|
5
|
+
export declare const DEFAULT_NODE_VERSION = 24;
|
|
6
6
|
export declare const getNodeVersion: (configVersion?: string) => number;
|
|
7
7
|
export declare const getNodeSupportMatrix: (configVersion?: string) => NodeVersionSupport;
|
|
8
8
|
export declare const parseVersion: (input: string | undefined) => number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import semver from 'semver';
|
|
2
2
|
// Must match the default version used in Bitballoon.
|
|
3
|
-
export const DEFAULT_NODE_VERSION =
|
|
3
|
+
export const DEFAULT_NODE_VERSION = 24;
|
|
4
4
|
export const getNodeVersion = (configVersion) => parseVersion(configVersion) ?? DEFAULT_NODE_VERSION;
|
|
5
5
|
export const getNodeSupportMatrix = (configVersion) => {
|
|
6
6
|
const versionNumber = getNodeVersion(configVersion);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/zip-it-and-ship-it",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.2.0",
|
|
4
4
|
"description": "Zip it and ship it",
|
|
5
5
|
"main": "./dist/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"engines": {
|
|
103
103
|
"node": ">=22.12.0"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "ae090fc6a272b9aac8eb6f55d4c24b2d8bef0a86"
|
|
106
106
|
}
|