Skip to content

Commit

Permalink
Update Node support (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 13, 2025
1 parent 9f86f64 commit c4b7a64
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]
include:
- os: ubuntu-latest
install-dep: sudo apt install libasound2-dev -y
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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/orca-node",
"version": "1.0.1",
"version": "1.0.2",
"description": "Picovoice Orca Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -49,7 +49,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 @@ -16,7 +16,7 @@ voice assistants. Orca 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/orca-node-demo",
"version": "1.0.2",
"version": "1.0.3",
"description": "Picovoice Orca Node.js file-based and streaming demos",
"scripts": {
"file": "node file.js",
Expand All @@ -21,8 +21,8 @@
"author": "Picovoice Inc.",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/orca-node": "=1.0.1",
"@picovoice/pvspeaker-node": "^1.0.2",
"@picovoice/orca-node": "=1.0.2",
"@picovoice/pvspeaker-node": "^1.0.3",
"commander": "^6.1.0",
"prettier": "^2.6.2",
"readline": "^1.3.0",
Expand All @@ -37,7 +37,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/orca-node@=1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@picovoice/orca-node/-/orca-node-1.0.1.tgz#455132dfc5f95c0a651e47a512d4018860b7286d"
integrity sha512-IOinMTVrqsTXhwDvqPFnoi/phgr2w6tj5XJ/DFTp+jSuzbZQaMEAOIeKptSKERuGWYkbzXdXDPZb4WRLanFYtQ==

"@picovoice/pvspeaker-node@^1.0.2":
"@picovoice/orca-node@=1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@picovoice/pvspeaker-node/-/pvspeaker-node-1.0.2.tgz#5603864038ba7f2a8ce7f82507f68f4e3f1568b8"
integrity sha512-x7MTp6pdon7Dce1lp0yiM8wQcKkYt9jyLqiK2hjUuq85vGlILBpUfKCspuEUVZnyG/5tMic6VsGfXgET7n+O7A==
resolved "https://registry.yarnpkg.com/@picovoice/orca-node/-/orca-node-1.0.2.tgz#9d2f5ee7b578b048037a4012469748d32e79bce2"
integrity sha512-6qOgJmgrfNi/AuJcCPXJHuWtG/3cAlJXayQfK+lmpJ3jXeOtxdHWfgYnUscyE7kYCYVFGX60wadiukuiwm3O7g==

"@picovoice/pvspeaker-node@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@picovoice/pvspeaker-node/-/pvspeaker-node-1.0.3.tgz#4ba734a6dfad7de8b9eec12697043ae9f8c0334f"
integrity sha512-N26hrnuZVCr3CB6yTsVavdv8zgF6qna/JD3jtMb17JRHXIqrEItNd+ZkfxOWYGHPqla/nJc6yeVfM1495Yd7Aw==

commander@^6.1.0:
version "6.2.1"
Expand Down

0 comments on commit c4b7a64

Please sign in to comment.