sherpa-onnx-node
Advanced tools
Comparing version 1.0.24 to 1.0.25
14
addon.js
@@ -30,5 +30,6 @@ const os = require('os'); | ||
possible_paths.join('\n ')}\n` | ||
if (os.platform() == 'darwin' && process.env.DYLD_LIBRARY_PATH && | ||
!process.env.DYLD_LIBRARY_PATH.includes( | ||
`node_modules/sherpa-onnx-${platform_arch}`)) { | ||
if (os.platform() == 'darwin' && | ||
(!process.env.DYLD_LIBRARY_PATH || | ||
!process.env.DYLD_LIBRARY_PATH.includes( | ||
`node_modules/sherpa-onnx-${platform_arch}`))) { | ||
msg += | ||
@@ -43,5 +44,6 @@ 'Please remeber to set the following environment variable and try again:\n'; | ||
if (os.platform() == 'linux' && process.env.LD_LIBRARY_PATH && | ||
!process.env.LD_LIBRARY_PATH.includes( | ||
`node_modules/sherpa-onnx-${platform_arch}`)) { | ||
if (os.platform() == 'linux' && | ||
(!process.env.LD_LIBRARY_PATH || | ||
!process.env.LD_LIBRARY_PATH.includes( | ||
`node_modules/sherpa-onnx-${platform_arch}`))) { | ||
msg += | ||
@@ -48,0 +50,0 @@ 'Please remeber to set the following environment variable and try again:\n'; |
{ | ||
"name": "sherpa-onnx-node", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"description": "Speech-to-text and text-to-speech using Next-gen Kaldi without internet connection", | ||
@@ -48,8 +48,8 @@ "main": "sherpa-onnx.js", | ||
"optionalDependencies": { | ||
"sherpa-onnx-darwin-arm64": "^1.0.24", | ||
"sherpa-onnx-darwin-x64": "^1.0.24", | ||
"sherpa-onnx-linux-x64": "^1.0.24", | ||
"sherpa-onnx-linux-arm64": "^1.0.24", | ||
"sherpa-onnx-win-x64": "^1.0.24" | ||
"sherpa-onnx-darwin-arm64": "^1.0.25", | ||
"sherpa-onnx-darwin-x64": "^1.0.25", | ||
"sherpa-onnx-linux-x64": "^1.0.25", | ||
"sherpa-onnx-linux-arm64": "^1.0.25", | ||
"sherpa-onnx-win-x64": "^1.0.25" | ||
} | ||
} |
@@ -10,3 +10,3 @@ # Introduction | ||
|---|---|---|---| | ||
|this package| https://github.com/nodejs/node-addon-api | Yes | v10| | ||
|this package| https://github.com/nodejs/node-addon-api | Yes | v16| | ||
|https://www.npmjs.com/package/sherpa-onnx| WebAssembly | No | v18| |
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
13609
426