@vizejs/native 0.114.0 → 0.115.0

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/native-targets.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // @ts-nocheck
3
3
 
4
4
  const { readFileSync } = require("node:fs");
5
- const { execSync } = require("node:child_process");
5
+ const { execFileSync } = require("node:child_process");
6
6
 
7
7
  const binaryName = "vize-vitrine";
8
8
  const packageVersion = require("./package.json").version;
@@ -42,7 +42,7 @@ function isMuslFromReport() {
42
42
 
43
43
  function isMuslFromChildProcess() {
44
44
  try {
45
- return execSync("ldd --version", { encoding: "utf8" }).includes("musl");
45
+ return execFileSync("ldd", ["--version"], { encoding: "utf8" }).includes("musl");
46
46
  } catch {
47
47
  return false;
48
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.114.0",
3
+ "version": "0.115.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -35,14 +35,14 @@
35
35
  "@napi-rs/cli": "3.6.2"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@vizejs/native-darwin-arm64": "0.114.0",
39
- "@vizejs/native-darwin-x64": "0.114.0",
40
- "@vizejs/native-linux-arm64-gnu": "0.114.0",
41
- "@vizejs/native-linux-arm64-musl": "0.114.0",
42
- "@vizejs/native-linux-x64-gnu": "0.114.0",
43
- "@vizejs/native-linux-x64-musl": "0.114.0",
44
- "@vizejs/native-win32-arm64-msvc": "0.114.0",
45
- "@vizejs/native-win32-x64-msvc": "0.114.0"
38
+ "@vizejs/native-darwin-arm64": "0.115.0",
39
+ "@vizejs/native-darwin-x64": "0.115.0",
40
+ "@vizejs/native-linux-arm64-gnu": "0.115.0",
41
+ "@vizejs/native-linux-arm64-musl": "0.115.0",
42
+ "@vizejs/native-linux-x64-gnu": "0.115.0",
43
+ "@vizejs/native-linux-x64-musl": "0.115.0",
44
+ "@vizejs/native-win32-arm64-msvc": "0.115.0",
45
+ "@vizejs/native-win32-x64-msvc": "0.115.0"
46
46
  },
47
47
  "napi": {
48
48
  "binaryName": "vize-vitrine",