inkoxide 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +7 -7
package/index.js CHANGED
@@ -18,6 +18,8 @@ function isMusl() {
18
18
  }
19
19
  }
20
20
 
21
+ // The names of scripts/platforms.mjs, which the build and release scripts use; this copy stays
22
+ // here because the published loader cannot import them.
21
23
  function platformTriple() {
22
24
  const { platform, arch } = process;
23
25
  if (platform === 'linux') return `linux-${arch}-${isMusl() ? 'musl' : 'gnu'}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inkoxide",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Native PDF layout and rendering engine: declarative document tree in, PDF bytes out.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  "node": ">=22"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@inkoxide/linux-x64-gnu": "0.4.0",
30
- "@inkoxide/linux-x64-musl": "0.4.0",
31
- "@inkoxide/linux-arm64-gnu": "0.4.0",
32
- "@inkoxide/darwin-arm64": "0.4.0",
33
- "@inkoxide/darwin-x64": "0.4.0",
34
- "@inkoxide/win32-x64-msvc": "0.4.0"
29
+ "@inkoxide/linux-x64-gnu": "0.5.0",
30
+ "@inkoxide/linux-x64-musl": "0.5.0",
31
+ "@inkoxide/linux-arm64-gnu": "0.5.0",
32
+ "@inkoxide/darwin-arm64": "0.5.0",
33
+ "@inkoxide/darwin-x64": "0.5.0",
34
+ "@inkoxide/win32-x64-msvc": "0.5.0"
35
35
  }
36
36
  }