Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate nodejs 16, update workflows #419

Merged
merged 2 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-demos.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
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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/leopard-node",
"version": "2.0.5",
"version": "2.0.6",
"description": "Picovoice Leopard Node.js binding",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -53,7 +53,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 @@ Leopard is an on-device speech-to-text engine. Leopard 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/leopard-node-demo",
"version": "2.0.5",
"version": "2.0.6",
"description": "Picovoice Leopard 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/leopard-node": "=2.0.5",
"@picovoice/pvrecorder-node": "=1.2.5",
"@picovoice/leopard-node": "=2.0.6",
"@picovoice/pvrecorder-node": "=1.2.6",
"commander": "^6.1.0",
"readline": "^1.3.0",
"wavefile": "^11.0.0",
Expand All @@ -31,7 +31,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/leopard-node@=2.0.5":
version "2.0.5"
resolved "https://registry.yarnpkg.com/@picovoice/leopard-node/-/leopard-node-2.0.5.tgz#c613aa5577b330a407b83d5178a4dc2d9d26c724"
integrity sha512-ndBkrEmJ/1JntKJZKwhHBr9OJhiPYE3f4hrWWBQBJyxYMKF+J9mkOI8fS/MWu5I6MfYfUfYYYZEwnuozhA5TXQ==
"@picovoice/leopard-node@=2.0.6":
version "2.0.6"
resolved "https://registry.yarnpkg.com/@picovoice/leopard-node/-/leopard-node-2.0.6.tgz#36f54fece5bdadf4a45adae22ca9a8fb54e2675b"
integrity sha512-jrcKGTaGugwo4l8rJu291irexFNZ3aiRkAX5+jEDgrh7y3OWllL5WTwHmNL/QDs6wPTbnilg0agNeM25d5y3cg==

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