Skip to content

Commit 514635d

Browse files
authored
Update node version (#1360)
1 parent 54f83d7 commit 514635d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
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
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
os: [ubuntu-latest, windows-latest, macos-latest]
45-
node-version: [16.x, 18.x, 20.x]
45+
node-version: [18.x, 20.x, 22.x]
4646

4747
steps:
4848
- uses: actions/checkout@v3

binding/nodejs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@picovoice/porcupine-node",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "Picovoice Porcupine Node.js binding",
55
"main": "dist/index.js",
66
"types": "dist/types/index.d.ts",
@@ -53,7 +53,7 @@
5353
"wavefile": "^11.0.0"
5454
},
5555
"engines": {
56-
"node": ">=16.0.0"
56+
"node": ">=18.0.0"
5757
},
5858
"cpu": [
5959
"!ia32",

demo/nodejs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To learn more about Porcupine, see the [product](https://picovoice.ai/products/p
1919

2020
## Compatibility
2121

22-
These demos run Porcupine on **Node.js 12+** on the following platforms:
22+
These demos run Porcupine on **Node.js 18+** on the following platforms:
2323

2424
- Windows (x86_64, arm64)
2525
- Linux (x86_64)

demo/nodejs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@picovoice/porcupine-node-demo",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "Picovoice Porcupine Node.js file-based and microphone demos",
55
"scripts": {
66
"file": "node file.js",
@@ -16,7 +16,7 @@
1616
"author": "Picovoice, Inc.",
1717
"license": "Apache-2.0",
1818
"dependencies": {
19-
"@picovoice/porcupine-node": "~3.0.5",
19+
"@picovoice/porcupine-node": "~3.0.6",
2020
"@picovoice/pvrecorder-node": "~1.2.5",
2121
"commander": "^6.1.0",
2222
"wavefile": "^11.0.0"
@@ -29,7 +29,7 @@
2929
"directory": "demo/nodejs"
3030
},
3131
"engines": {
32-
"node": ">=16.0.0"
32+
"node": ">=18.0.0"
3333
},
3434
"cpu": [
3535
"!ia32",

demo/nodejs/yarn.lock

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

44

5-
"@picovoice/porcupine-node@~3.0.5":
6-
version "3.0.5"
7-
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-node/-/porcupine-node-3.0.5.tgz#d23af28b5a9cccc87c4f8c1ad18f83a96cc679f5"
8-
integrity sha512-1N3Pf9eeLBP3XQcPgjNUDmUKxD7Wso65XtgpSnUiiCRvHhBD9GehfrJObx7nwFSazC6y/1uNWBnOJ32FKudPhQ==
5+
"@picovoice/porcupine-node@~3.0.6":
6+
version "3.0.6"
7+
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-node/-/porcupine-node-3.0.6.tgz#f97d54074d2d155d36b135c8ff522231dcd08a85"
8+
integrity sha512-vYlY0Hf9ovRB+Z9yyLReiVYZkLsm/kVPgDWTu2dgtqAooednohljfxSRzJUojapp8BFd7aW8P3H/4sm1zy49lw==
99

1010
"@picovoice/pvrecorder-node@~1.2.5":
1111
version "1.2.5"

0 commit comments

Comments
 (0)