@netlify/zip-it-and-ship-it 8.4.0 → 8.4.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.
- package/README.md +1 -1
- package/dist/utils/matching.d.ts +2 -2
- package/dist/utils/matching.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ The following properties are accepted:
|
|
|
111
111
|
- _Type_: `string`
|
|
112
112
|
- _Default value_: `zisi`
|
|
113
113
|
|
|
114
|
-
The bundler to use when processing JavaScript functions. Possible values: `zisi`, `esbuild`, `esbuild_zisi`.
|
|
114
|
+
The bundler to use when processing JavaScript functions. Possible values: `zisi`, `esbuild`, `esbuild_zisi` or `nft`.
|
|
115
115
|
|
|
116
116
|
When the value is `esbuild_zisi`, `esbuild` will be used with a fallback to `zisi` in case of an error.
|
|
117
117
|
|
package/dist/utils/matching.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import globFunction from 'glob';
|
|
2
|
-
import
|
|
2
|
+
import { MinimatchOptions } from 'minimatch';
|
|
3
3
|
/**
|
|
4
4
|
* Both glob and minimatch only support unix style slashes in patterns
|
|
5
5
|
* For this reason we wrap them and ensure all patters are always unixified
|
|
6
6
|
* We use `normalize-path` here instead of `unixify` because we do not want to remove drive letters
|
|
7
7
|
*/
|
|
8
8
|
export declare const glob: (pattern: string, options: globFunction.IOptions) => Promise<string[]>;
|
|
9
|
-
export declare const minimatch: (target: string, pattern: string, options?:
|
|
9
|
+
export declare const minimatch: (target: string, pattern: string, options?: MinimatchOptions) => boolean;
|
package/dist/utils/matching.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { promisify } from 'util';
|
|
2
2
|
import globFunction from 'glob';
|
|
3
|
-
import minimatchFunction from 'minimatch';
|
|
3
|
+
import { minimatch as minimatchFunction } from 'minimatch';
|
|
4
4
|
import normalizePath from 'normalize-path';
|
|
5
5
|
const pGlob = promisify(globFunction);
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/zip-it-and-ship-it",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.2",
|
|
4
4
|
"description": "Zip it and ship it",
|
|
5
5
|
"main": "./dist/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"junk": "^4.0.0",
|
|
74
74
|
"locate-path": "^7.0.0",
|
|
75
75
|
"merge-options": "^3.0.4",
|
|
76
|
-
"minimatch": "^
|
|
76
|
+
"minimatch": "^6.0.0",
|
|
77
77
|
"normalize-path": "^3.0.0",
|
|
78
78
|
"p-map": "^5.0.0",
|
|
79
79
|
"path-exists": "^5.0.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@types/tmp": "^0.2.3",
|
|
99
99
|
"@types/unixify": "^1.0.0",
|
|
100
100
|
"@types/yargs": "^17.0.4",
|
|
101
|
-
"@vitest/coverage-c8": "^0.
|
|
101
|
+
"@vitest/coverage-c8": "^0.28.0",
|
|
102
102
|
"cpy": "^9.0.0",
|
|
103
103
|
"deepmerge": "^4.2.2",
|
|
104
104
|
"get-stream": "^6.0.0",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"throat": "^6.0.1",
|
|
110
110
|
"typescript": "^4.8.4",
|
|
111
111
|
"vite": "^4.0.0",
|
|
112
|
-
"vitest": "^0.
|
|
112
|
+
"vitest": "^0.28.0"
|
|
113
113
|
},
|
|
114
114
|
"engines": {
|
|
115
115
|
"node": "^14.16.0 || >=16.0.0"
|