@netlify/zip-it-and-ship-it 15.1.0 → 15.3.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.
package/README.md CHANGED
@@ -5,7 +5,8 @@
5
5
  [![Build](https://github.com/netlify/zip-it-and-ship-it/workflows/Build/badge.svg)](https://github.com/netlify/zip-it-and-ship-it/actions)
6
6
  [![Downloads](https://img.shields.io/npm/dm/@netlify/zip-it-and-ship-it.svg)](https://www.npmjs.com/package/@netlify/zip-it-and-ship-it)
7
7
 
8
- Creates Zip archives from Node.js, Go, and Rust programs. Those archives are ready to be uploaded to AWS Lambda.
8
+ Creates Zip archives from Netlify Functions written in Node.js, Go, or Rust. Those archives are ready to be uploaded to
9
+ AWS Lambda.
9
10
 
10
11
  This library is used under the hood by several Netlify features, including
11
12
  [production CI builds](https://github.com/netlify/build), [Netlify CLI](https://github.com/netlify/cli) and the
@@ -493,8 +494,3 @@ In Netlify, this is done by ensuring that the following Node.js versions are the
493
494
  Note that this problem might not apply for Node.js native modules using the [N-API](https://nodejs.org/api/n-api.html).
494
495
 
495
496
  More information in [this issue](https://github.com/netlify/zip-it-and-ship-it/issues/69).
496
-
497
- ## File Serving
498
-
499
- As of `v0.3.0` the `serveFunctions` capability has been extracted out to
500
- [Netlify Dev](https://github.com/netlify/netlify-dev-plugin/).
@@ -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;
@@ -7,6 +7,7 @@ const versionMap = {
7
7
  18: 'node18',
8
8
  20: 'node20',
9
9
  22: 'node22',
10
+ 24: 'node24',
10
11
  };
11
12
  const getBundlerTarget = (suppliedVersion) => {
12
13
  const version = parseVersion(suppliedVersion);
@@ -2,7 +2,7 @@ export interface NodeVersionSupport {
2
2
  esm: boolean;
3
3
  awsSDKV3: boolean;
4
4
  }
5
- export declare const DEFAULT_NODE_VERSION = 22;
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 = 22;
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.1.0",
3
+ "version": "15.3.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": "677f1bd6db4429d70ce3d207f00c7d603ae2d1bf"
105
+ "gitHead": "0a4aa4be3f9abbb49ebe00e82c64898148986715"
106
106
  }