bestzip 3.0.1 → 3.0.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.
Files changed (2) hide show
  1. package/lib/bestzip.js +1 -1
  2. package/package.json +1 -1
package/lib/bestzip.js CHANGED
@@ -63,7 +63,7 @@ const nativeZip = async (options) => {
63
63
  const command = "zip";
64
64
  const sources = await expandSources(cwd, options.source);
65
65
 
66
- const args = ["--quiet", "--recurse-paths", options.destination].concat(
66
+ const args = ["--quiet", "--recurse-paths", options.destination, "--"].concat(
67
67
  sources
68
68
  );
69
69
  if (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bestzip",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Uses OS zip command if available (for better performance and speed) or node.js version if there is no system command available. Can be called via node or command line.",
5
5
  "type": "module",
6
6
  "exports": "./lib/bestzip.js",