roxify 1.6.4 → 1.6.5

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
@@ -374,4 +374,4 @@ Contributions welcome! Please open an issue or PR on GitHub.
374
374
 
375
375
  ## CI / Multi-platform builds
376
376
 
377
- This project runs continuous integration on Linux, Windows and macOS via GitHub Actions. Native modules are built on each platform and attached to the workflow (and release) as artifacts. On releases we also publish platform artifacts to GitHub Releases. For npm publishing, set the `NPM_TOKEN` secret in your repository settings to allow automated publishes on release.
377
+ This project runs continuous integration on Linux and Windows via GitHub Actions. Native modules are built on each platform and attached to the workflow (and release) as artifacts. On releases we also publish platform artifacts to GitHub Releases. For npm publishing, set the `NPM_TOKEN` secret in your repository settings to allow automated publishes on release.
@@ -23,7 +23,6 @@ function getNativeModule() {
23
23
  function getNativePath() {
24
24
  const platformMap = {
25
25
  linux: 'x86_64-unknown-linux-gnu',
26
- darwin: arch() === 'arm64' ? 'aarch64-apple-darwin' : 'x86_64-apple-darwin',
27
26
  win32: 'x86_64-pc-windows-gnu',
28
27
  };
29
28
  const platformAltMap = {
@@ -31,7 +30,6 @@ function getNativeModule() {
31
30
  };
32
31
  const extMap = {
33
32
  linux: 'so',
34
- darwin: 'dylib',
35
33
  win32: 'node',
36
34
  };
37
35
  const currentPlatform = platform();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roxify",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "type": "module",
5
5
  "description": "Ultra-lightweight PNG steganography with native Rust acceleration. Encode binary data into PNG images with zstd compression.",
6
6
  "main": "dist/index.js",
@@ -25,8 +25,6 @@
25
25
  "prebuild:pkg": "node scripts/copy-cli-binary.js",
26
26
  "build:native": "cargo build --release --lib",
27
27
  "build:native:linux": "cargo build --release --lib --target x86_64-unknown-linux-gnu",
28
- "build:native:macos-x64": "cargo build --release --lib --target x86_64-apple-darwin",
29
- "build:native:macos-arm": "cargo build --release --lib --target aarch64-apple-darwin",
30
28
  "build:native:windows": "cargo build --release --lib --target x86_64-pc-windows-msvc",
31
29
  "build:cli": "cargo build --release --bin roxify_native && cp target/release/roxify_native dist/roxify-cli",
32
30
  "build:cli:windows": "cargo build --release --bin roxify_native --target x86_64-pc-windows-gnu && node scripts/copy-cli-binary.js",