Skip to content

Commit f5823d8

Browse files
committed
Require node18 in package.json and as babel target version
1 parent 6ed118a commit f5823d8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@babel/preset-env",
55
{
66
"targets": {
7-
"node": "14"
7+
"node": "18"
88
}
99
}
1010
]

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This repository implements a Node.js module for sending push notifications acros
1616

1717
## Developer Workflows
1818

19-
- **Install:** `npm install`
19+
- **Install:** `npm install` (requires Node.js 18+)
2020
- **Test:** Run all tests with `npm test`. Tests are in `test/` and cover basic flows and platform-specific cases.
2121
- **Debug:** Use the callback or Promise error/result from `push.send`. Each result object includes method, success/failure counts, and error details per device.
2222
- **Build:** No build step required for basic usage. ES6 is used, but compatible with ES5 via Babel if needed.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"sinon-chai": "3.5.0"
7979
},
8080
"engines": {
81-
"node": ">=14.x.x"
81+
"node": ">=18.x.x"
8282
},
8383
"eslintConfig": {
8484
"ecmaVersion": 6,

0 commit comments

Comments
 (0)