Skip to content

Commit 00cf875

Browse files
authored
chore(deps): allow more recent whatwg-url dependency (#4)
1 parent 76aaf99 commit 00cf875

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
uses: actions/setup-node@v1
1818
with:
1919
node-version: ${{ matrix.node-version }}
20+
# Default Python (3.12) doesn't have support for distutils
21+
# https://github.com/nodejs/node-gyp/issues/2869
22+
- uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.11'
2025
- name: Install Dependencies
2126
run: |
2227
npm config set node_gyp "$PWD/node_modules/node-gyp/bin/node-gyp.js"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"typescript": "^4.0.3"
6262
},
6363
"dependencies": {
64-
"whatwg-url": "^11.0.0"
64+
"whatwg-url": "^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0"
6565
}
6666
}

0 commit comments

Comments
 (0)