Skip to content

Commit c2b75c3

Browse files
authored
Update Node support (#92)
1 parent f0d01b1 commit c2b75c3

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/nodejs-demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
matrix:
3131
os: [ubuntu-latest, windows-latest, macos-latest]
32-
node-version: [16.x, 18.x, 20.x]
32+
node-version: [18.x, 20.x, 22.x]
3333

3434
steps:
3535
- uses: actions/checkout@v3

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
matrix:
3131
os: [ubuntu-latest, windows-latest, macos-latest]
32-
node-version: [16.x, 18.x, 20.x]
32+
node-version: [18.x, 20.x, 22.x]
3333

3434
steps:
3535
- uses: actions/checkout@v3

binding/nodejs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{
33
"name": "@picovoice/eagle-node",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "Picovoice Eagle Node.js binding",
66
"main": "dist/index.js",
77
"types": "dist/types/index.d.ts",
@@ -50,7 +50,7 @@
5050
"wavefile": "^11.0.0"
5151
},
5252
"engines": {
53-
"node": ">=16.0.0"
53+
"node": ">=18.0.0"
5454
},
5555
"cpu": [
5656
"!ia32",

demo/nodejs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Eagle is an on-device speaker recognition engine. Eagle is:
1515

1616
## Compatibility
1717

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

2121
## Installation

demo/nodejs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@picovoice/eagle-node-demo",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Picovoice Eagle Node.js file-based and microphone demos",
55
"scripts": {
66
"file": "node file.js",
@@ -24,8 +24,8 @@
2424
"author": "Picovoice Inc.",
2525
"license": "Apache-2.0",
2626
"dependencies": {
27-
"@picovoice/eagle-node": "=1.0.3",
28-
"@picovoice/pvrecorder-node": "^1.2.5",
27+
"@picovoice/eagle-node": "=1.0.4",
28+
"@picovoice/pvrecorder-node": "^1.2.6",
2929
"commander": "^6.1.0",
3030
"readline": "^1.3.0",
3131
"wavefile": "^11.0.0"
@@ -38,7 +38,7 @@
3838
"directory": "demo/nodejs"
3939
},
4040
"engines": {
41-
"node": ">=16.0.0"
41+
"node": ">=18.0.0"
4242
},
4343
"cpu": [
4444
"!ia32",

demo/nodejs/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# yarn lockfile v1
33

44

5-
"@picovoice/eagle-node@=1.0.3":
6-
version "1.0.3"
7-
resolved "https://registry.yarnpkg.com/@picovoice/eagle-node/-/eagle-node-1.0.3.tgz#9d1ef04191a845fe7e414bff47816492c5bd1d61"
8-
integrity sha512-zMzDd8aqJaCIV45dY2bzbwTueN0nJUabkjfODeYc5vrRrY+gEvDf9lTUZ2z1LPaTGACMAVoCWUE7VbAduUhY5w==
5+
"@picovoice/eagle-node@=1.0.4":
6+
version "1.0.4"
7+
resolved "https://registry.yarnpkg.com/@picovoice/eagle-node/-/eagle-node-1.0.4.tgz#8027e8c84615de9c76be039acae70f132ed3e4d9"
8+
integrity sha512-Dct239o9E6vsUZkxa8yO4eCnGp8U270nTyIHmen266f9SzputVd2nmMeBM7oyvW0xt9vTL/Qi85NhdqARq/+KA==
99

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

1515
commander@^6.1.0:
1616
version "6.2.1"

0 commit comments

Comments
 (0)