jsshaker 0.1.0 → 0.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.
package/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const { parseArgs } = require("node:util");
4
- const { shakeSingleModule } = require("./index.js");
4
+ const { shakeMultiModule } = require("./index.js");
5
5
  const { writeFile, mkdir } = require("node:fs/promises");
6
6
  const { join, dirname } = require("node:path");
7
7
 
@@ -28,7 +28,7 @@ if (positionals.length !== 1) {
28
28
  throw new Error("Must provide exactly one entry js file path.");
29
29
  }
30
30
 
31
- const result = shakeSingleModule(
31
+ const result = shakeMultiModule(
32
32
  positionals[0],
33
33
  {
34
34
  preset: values.preset,
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsshaker",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "commonjs",
5
5
  "main": "index.js",
6
6
  "browser": "browser.js",
@@ -49,11 +49,11 @@
49
49
  "ohash": "^2.0.11"
50
50
  },
51
51
  "optionalDependencies": {
52
- "@jsshaker/binding-linux-x64-gnu": "0.1.0",
53
- "@jsshaker/binding-win32-x64-msvc": "0.1.0",
54
- "@jsshaker/binding-darwin-x64": "0.1.0",
55
- "@jsshaker/binding-darwin-arm64": "0.1.0",
56
- "@jsshaker/binding-wasm32-wasi": "0.1.0"
52
+ "@jsshaker/binding-linux-x64-gnu": "0.1.1",
53
+ "@jsshaker/binding-win32-x64-msvc": "0.1.1",
54
+ "@jsshaker/binding-darwin-x64": "0.1.1",
55
+ "@jsshaker/binding-darwin-arm64": "0.1.1",
56
+ "@jsshaker/binding-wasm32-wasi": "0.1.1"
57
57
  },
58
58
  "scripts": {
59
59
  "artifacts": "napi artifacts",