Skip to content

Commit

Permalink
Update Node support (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 13, 2025
1 parent f0d01b1 commit c2b75c3
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,7 +1,7 @@

{
"name": "@picovoice/eagle-node",
"version": "1.0.3",
"version": "1.0.4",
"description": "Picovoice Eagle Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -50,7 +50,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 @@ -15,7 +15,7 @@ Eagle is an on-device speaker recognition engine. Eagle is:

## Compatibility

- Node.js 12+
- 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/eagle-node-demo",
"version": "1.0.4",
"version": "1.0.5",
"description": "Picovoice Eagle Node.js file-based and microphone demos",
"scripts": {
"file": "node file.js",
Expand All @@ -24,8 +24,8 @@
"author": "Picovoice Inc.",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/eagle-node": "=1.0.3",
"@picovoice/pvrecorder-node": "^1.2.5",
"@picovoice/eagle-node": "=1.0.4",
"@picovoice/pvrecorder-node": "^1.2.6",
"commander": "^6.1.0",
"readline": "^1.3.0",
"wavefile": "^11.0.0"
Expand All @@ -38,7 +38,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/eagle-node@=1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@picovoice/eagle-node/-/eagle-node-1.0.3.tgz#9d1ef04191a845fe7e414bff47816492c5bd1d61"
integrity sha512-zMzDd8aqJaCIV45dY2bzbwTueN0nJUabkjfODeYc5vrRrY+gEvDf9lTUZ2z1LPaTGACMAVoCWUE7VbAduUhY5w==
"@picovoice/eagle-node@=1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@picovoice/eagle-node/-/eagle-node-1.0.4.tgz#8027e8c84615de9c76be039acae70f132ed3e4d9"
integrity sha512-Dct239o9E6vsUZkxa8yO4eCnGp8U270nTyIHmen266f9SzputVd2nmMeBM7oyvW0xt9vTL/Qi85NhdqARq/+KA==

"@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 c2b75c3

Please sign in to comment.