Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sherpa-onnx-node

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sherpa-onnx-node - npm Package Compare versions

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|
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc