Skip to content

Commit 9f68abb

Browse files
authored
Update dependencies to ensure compatibility with Node 22 (#99)
* Update work flow for node 22 * Update package.json for Node 22 compatibility Update dependencies to ensure compatibility with Node 22 * Update README.md
1 parent f9fe958 commit 9f68abb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/test-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu-latest, macos-latest, windows-latest]
11-
node: [16, 18, 20]
11+
node: [16, 18, 20, 22]
1212
arch: [x86, x64]
1313
exclude:
1414
- { os: ubuntu-latest, arch: x86 }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Test and Release](https://github.com/mathiask88/node-snap7/actions/workflows/test-and-release.yml/badge.svg)](https://github.com/mathiask88/node-snap7/actions/workflows/test-and-release.yml)
66
[![npm](https://img.shields.io/npm/dm/node-snap7.svg?label=dl)](https://www.npmjs.com/package/node-snap7)
77

8-
**Current node-snap7 version:** 1.0.7\
8+
**Current node-snap7 version:** 1.0.8\
99
**Current snap7 version:** 1.4.2
1010

1111
**In my spare time I am working on a [node-addon-api](https://github.com/nodejs/node-addon-api) rewrite and want to switch from [prebuild-install](https://github.com/prebuild/prebuild-install) to [prebuildify](https://github.com/prebuild/prebuildify).\

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-snap7",
33
"main": "./lib/node-snap7.js",
4-
"version": "1.0.7",
4+
"version": "1.0.8",
55
"description": "Native node.js addon/wrapper for snap7",
66
"homepage": "https://github.com/mathiask88/node-snap7",
77
"repository": {
@@ -18,17 +18,17 @@
1818
"name": "Mathias Küsel"
1919
},
2020
"engines": {
21-
"node": ">=16"
21+
"node": "^16 || ^18 || ^20 || ^22"
2222
},
2323
"license": "MIT",
2424
"readmeFilename": "README.md",
2525
"dependencies": {
26-
"nan": "~2.18.0",
27-
"bindings": "~1.5.0",
28-
"prebuild-install": "^7.1.1"
26+
"nan": "^2.22.0",
27+
"bindings": "^1.5.0",
28+
"prebuild-install": "^7.1.2"
2929
},
3030
"devDependencies": {
31-
"prebuild": "^12.1.0",
31+
"prebuild": "^13.0.1",
3232
"prebuild-ci": "^4.0.0"
3333
},
3434
"scripts": {

0 commit comments

Comments
 (0)