@netlify/zip-it-and-ship-it 14.1.0 → 14.1.1

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.
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import isBuiltinModule from 'is-builtin-module';
2
+ import { isBuiltin } from 'node:module';
3
3
  import precinct from 'precinct';
4
4
  import { tmpName } from 'tmp-promise';
5
5
  import { FunctionBundlingUserError } from '../../../../utils/error.js';
@@ -15,7 +15,7 @@ const getListImportsPlugin = ({ imports, path }) => ({
15
15
  setup(build) {
16
16
  build.onResolve({ filter: /.*/ }, (args) => {
17
17
  const isEntryPoint = args.path === path;
18
- const isImport = !isEntryPoint && !isBuiltinModule(args.path);
18
+ const isImport = !isEntryPoint && !isBuiltin(args.path);
19
19
  if (isImport) {
20
20
  imports.add(args.path);
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/zip-it-and-ship-it",
3
- "version": "14.1.0",
3
+ "version": "14.1.1",
4
4
  "description": "Zip it and ship it",
5
5
  "main": "./dist/main.js",
6
6
  "type": "module",
@@ -45,7 +45,7 @@
45
45
  "@babel/types": "7.28.1",
46
46
  "@netlify/binary-info": "^1.0.0",
47
47
  "@netlify/serverless-functions-api": "^2.1.3",
48
- "@vercel/nft": "0.29.4",
48
+ "@vercel/nft": "^0.30.0",
49
49
  "archiver": "^7.0.0",
50
50
  "common-path-prefix": "^3.0.0",
51
51
  "copy-file": "^11.0.0",
@@ -55,7 +55,6 @@
55
55
  "fast-glob": "^3.3.3",
56
56
  "filter-obj": "^6.0.0",
57
57
  "find-up": "^7.0.0",
58
- "is-builtin-module": "^3.1.0",
59
58
  "is-path-inside": "^4.0.0",
60
59
  "junk": "^4.0.0",
61
60
  "locate-path": "^7.0.0",
@@ -100,5 +99,5 @@
100
99
  "engines": {
101
100
  "node": ">=18.14.0"
102
101
  },
103
- "gitHead": "2a186393af7f577cc6bafa5d3962ea0833cd084c"
102
+ "gitHead": "2b427686f1d4cfc2d28b79d4ce18ad691f270d2e"
104
103
  }