Skip to content

Commit

Permalink
feat: drop Node.js v12 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js v12 is no longer supported.
  • Loading branch information
kenany committed Nov 22, 2022
1 parent d3d0db4 commit cd4b7b5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": ["local>kenany/renovate-config"]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>kenany/renovate-config"],
"assignees": ["kenany"],
"reviewers": ["kenany"]
}
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12, 14, 16]
node-version: [14, 16, 18]
os: [ubuntu-latest]
steps:
- name: Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* eslint-disable quote-props */

var ICAO_CODES = {
const ICAO_CODES = {
'AGAF': [-9.19138888889, 160.948333333],
'AGAR': [-9.85472222222, 161.979166667],
'AGAT': [-8.87333333333, 161.011388889],
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
"files": [
"index.js"
],
"engines": {
"node": "14 || 16 || >=18"
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run -s lint",
"test": "tape test/index.js"
},
"devDependencies": {
"@kenan/eslint-config": "^9.0.4",
"eslint": "^7.32.0",
"@kenan/eslint-config": "^10.0.1",
"eslint": "^8.28.0",
"lodash.isplainobject": "^4.0.6",
"tape": "^5.6.1"
}
Expand Down

0 comments on commit cd4b7b5

Please sign in to comment.