@pdftron/pdfnet-node 11.10.0 → 11.11.0-2-beta

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/license.pdf CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdftron/pdfnet-node",
3
- "version": "11.10.0",
3
+ "version": "11.11.0-2-beta",
4
4
  "main": "./lib/pdfnet.js",
5
5
  "types": "./lib/types.d.ts",
6
6
  "scripts": {
@@ -4,7 +4,12 @@ const path = require('path');
4
4
  const pkg = require(path.join(__dirname, '../package.json'));
5
5
 
6
6
  const abi = process.versions.modules; // Node ABI
7
- const platform = process.platform; // linux, darwin, win32
7
+ let platform = process.platform; // linux, darwin, win32
8
+ const isAlpine = os.release().includes('alpine');
9
+ if (isAlpine) {
10
+ platform = "alpine"
11
+ }
12
+
8
13
  const arch = process.arch; // x64, arm64, etc.
9
14
  const version = pkg.version;
10
15
  const isElectron = !!process.versions.electron;