New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sherpa-onnx-node

Package Overview
Dependencies
Maintainers
1
Versions
64
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.8 to 1.0.9

5

addon.js

@@ -13,3 +13,2 @@ const os = require('os');

try {
console.log(p);
module.exports = require(p);

@@ -27,3 +26,3 @@ found = true;

`Could not find sherpa-onnx. Tried\n\n ${possible_paths.join('\n ')}\n`
if (os.platform() == 'darwin' &&
if (os.platform() == 'darwin' && process.env.DYLD_LIBRARY_PATH &&
!process.env.DYLD_LIBRARY_PATH.includes(

@@ -40,3 +39,3 @@ `node_modules/sherpa-onnx-${platform_arch}`)) {

if (os.platform() == 'linux' &&
if (os.platform() == 'linux' && process.env.LD_LIBRARY_PATH &&
!process.env.LD_LIBRARY_PATH.includes(

@@ -43,0 +42,0 @@ `node_modules/sherpa-onnx-${platform_arch}`)) {

8

package.json
{
"name": "sherpa-onnx-node",
"version": "1.0.8",
"version": "1.0.9",
"description": "Speech-to-text and text-to-speech using Next-gen Kaldi without internet connection",

@@ -48,6 +48,6 @@ "main": "sherpa-onnx.js",

"optionalDependencies": {
"sherpa-onnx-darwin-arm64": "^1.0.8",
"sherpa-onnx-darwin-x64": "^1.0.8",
"sherpa-onnx-linux-x64": "^1.0.8"
"sherpa-onnx-darwin-arm64": "^1.0.9",
"sherpa-onnx-darwin-x64": "^1.0.9",
"sherpa-onnx-linux-x64": "^1.0.9"
}
}

@@ -6,1 +6,7 @@ # Introduction

for usages.
||Method|Support multiple threads|
|---|---|---|
|this package| https://github.com/nodejs/node-addon-api | Yes |
|https://www.npmjs.com/package/sherpa-onnx| WebAssembly | No |
const addon = require('./addon.js');
console.log(addon)

@@ -4,0 +3,0 @@ class OnlineStream {

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