Skip to content

Commit abc18e2

Browse files
committed
feat: support Node 14.x
1 parent 336886a commit abc18e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
strategy:
3737
matrix:
38-
nodejs: [16, 18, 20, 22]
38+
nodejs: [14, 16, 18, 20, 22]
3939
steps:
4040
- uses: actions/checkout@v4
4141
- uses: actions/setup-node@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"test": "uvu"
4242
},
4343
"engines": {
44-
"node": ">=16"
44+
"node": ">=14"
4545
},
4646
"devDependencies": {
4747
"uvu": "0.5"

src/package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function cache(
3535
name: string,
3636
options?: find.Options & { create?: boolean },
3737
): string | undefined {
38-
options ||= {};
38+
options = options || {};
3939

4040
let dir = env.CACHE_DIR;
4141

0 commit comments

Comments
 (0)