Skip to content

Commit edbd43c

Browse files
authored
Update dependencies and drop Node.js < 18 support (#173)
1 parent 154808f commit edbd43c

File tree

8 files changed

+2168
-8095
lines changed

8 files changed

+2168
-8095
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- "**"
7-
- "!dependabot/**"
6+
- "main"
87
pull_request:
98
workflow_dispatch:
109

@@ -23,7 +22,7 @@ jobs:
2322
fail-fast: false
2423
matrix:
2524
os: [ubuntu-latest, windows-latest]
26-
node: [14, 16, 18, 20]
25+
node: [18, 20]
2726

2827
steps:
2928
- name: Clone repository

.github/workflows/codeql.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ on:
44
push:
55
branches:
66
- main
7-
- "!dependabot/**"
87
pull_request:
98
branches:
109
- main
11-
- "!dependabot/**"
1210
schedule:
1311
- cron: "0 0 * * 0"
1412
workflow_dispatch:

.github/workflows/lint.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name: Lint
33
on:
44
push:
55
branches:
6-
- "**"
7-
- "!dependabot/**"
6+
- "main"
87
pull_request:
98
workflow_dispatch:
109

1110
env:
1211
FORCE_COLOR: 2
13-
NODE: 18
12+
NODE: 20
1413

1514
permissions:
1615
contents: read

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
'use strict';
44

5-
const program = require('commander');
5+
const { program } = require('commander');
66
const dependencyTree = require('../index.js');
77
const { name, description, version } = require('../package.json');
88

0 commit comments

Comments
 (0)