Skip to content

Commit

Permalink
Update Node support (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 13, 2025
1 parent b6fe57a commit ec6dc9b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions binding/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/cheetah-node",
"version": "2.1.1",
"version": "2.1.2",
"description": "Picovoice Cheetah Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -54,7 +54,7 @@
"wavefile": "^11.0.0"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"cpu": [
"!ia32",
Expand Down
2 changes: 1 addition & 1 deletion demo/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Cheetah is an on-device streaming speech-to-text engine. Cheetah is:

## Compatibility

- Node.js 16+
- Node.js 18+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).

## Installation
Expand Down
8 changes: 4 additions & 4 deletions demo/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/cheetah-node-demo",
"version": "2.1.1",
"version": "2.1.2",
"description": "Picovoice Cheetah Node.js file-based and microphone demos",
"scripts": {
"file": "node file.js",
Expand All @@ -16,8 +16,8 @@
"author": "Picovoice Inc.",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/cheetah-node": "~2.1.1",
"@picovoice/pvrecorder-node": "^1.2.5",
"@picovoice/cheetah-node": "~2.1.2",
"@picovoice/pvrecorder-node": "^1.2.6",
"commander": "^6.1.0",
"readline": "^1.3.0",
"wavefile": "^11.0.0"
Expand All @@ -30,7 +30,7 @@
"directory": "demo/nodejs"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"cpu": [
"!ia32",
Expand Down
16 changes: 8 additions & 8 deletions demo/nodejs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# yarn lockfile v1


"@picovoice/cheetah-node@~2.1.1":
version "2.1.1"
resolved "https://registry.yarnpkg.com/@picovoice/cheetah-node/-/cheetah-node-2.1.1.tgz#ecc1762c56b090670853b52def624574d4cca015"
integrity sha512-nP+VTZYVqHF3BNz8BIuP5MAFCFJVVX6HWAQq5DStZ5c26yCUQwXs+orIlXeEpNZqlZOEvhkxbwACqFwORC3Ktw==
"@picovoice/cheetah-node@~2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@picovoice/cheetah-node/-/cheetah-node-2.1.2.tgz#d7b56e5a58b3216fb017209eddbd313f4597e295"
integrity sha512-rlxylRLC9tTLOJ0yelXwQfl3XhsqNMP5k9D/q4QcKOw1szvmnU5zEFLEMRDzT0nOlKKVLYh42ewIwpK+JwvmAA==

"@picovoice/pvrecorder-node@^1.2.5":
version "1.2.5"
resolved "https://registry.yarnpkg.com/@picovoice/pvrecorder-node/-/pvrecorder-node-1.2.5.tgz#a47e11d347979ef0f1b083657ff69dd9bd2efe5c"
integrity sha512-bnid5oInf22JRdrZ75z8ooewOza0whYI9w/oSQSZbkDvddylPPrY6x+1L1qIyf5Tb8ZtzKQL+aQ9m8SazgRHFg==
"@picovoice/pvrecorder-node@^1.2.6":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@picovoice/pvrecorder-node/-/pvrecorder-node-1.2.6.tgz#6b6ea8b38892b916c9e3682342fa144c710e1aa0"
integrity sha512-AC8vqo+GWSGquMyyv0rhP68fjCxVe0kCo9QEq5mgBv7qHV2qVH5rm6ONPQQ6rmYD0SfppFaRP0yZKhPs1FhADQ==

commander@^6.1.0:
version "6.2.1"
Expand Down

0 comments on commit ec6dc9b

Please sign in to comment.