@roamhq/beamcoder
Advanced tools
Comparing version 0.8.2 to 0.8.3
try { | ||
// Use locally-built version if possible | ||
console.log(`using locally built version of @roamhq/beamcoder`); | ||
module.exports = require('./build/Release/beamcoder.node'); | ||
} catch(_) { | ||
} catch (_) { | ||
// Use a remote version if there is no local version | ||
const os = require('os'); | ||
console.log(`using prebuilt version of @roamhq/beamcoder`); | ||
module.exports = require(`@roamhq/beamcoder-${os.platform()}-${os.arch()}`); | ||
@@ -8,0 +10,0 @@ } |
{ | ||
"name": "@roamhq/beamcoder", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Node.js native bindings to FFmpeg.", | ||
@@ -49,4 +49,4 @@ "main": "index.js", | ||
"@roamhq/beamcoder-linux-x64": "0.8.0", | ||
"@roamhq/beamcoder-darwin-arm64": "0.8.1", | ||
"@roamhq/beamcoder-darwin-x64": "0.8.0" | ||
"@roamhq/beamcoder-darwin-arm64": "0.8.3", | ||
"@roamhq/beamcoder-darwin-x64": "0.8.3" | ||
}, | ||
@@ -53,0 +53,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239948
3338