Update dev dependencies
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Sindre Sorhus · committed by Sindre Sorhus · parent 7e1fd0b · Browse files · 3 files·+17 added−16 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+17 added−16 removed
- tests:+2 added−2 removed
- other:+15 added−14 removed
Provenance
- Commit
019e10e- Tree
52ca95e- Author
Sindre Sorhus <sindresorhus@gmail.com>- Committer
Sindre Sorhus <sindresorhus@gmail.com>- Parent
7e1fd0b
3 files changed+17 added−16 removed
modified:.github/workflows/main.yml+4 added-3 removed
9 unmodified lines1011121314151617171818192021222324252627272829309 unmodified lines fail-fast: false matrix: node-version: - latest - 24 - 22 - 20 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - uses: actions/checkout@v5 - uses: actions/setup-node@v5 with: node-version: ${{ matrix.node-version }} - run: npm install - name: Install Playwright Browsers run: npx playwright install --with-deps - run: npm test # TODO: Enable again when https://github.com/istanbuljs/nyc/issues/1287 is fixed. # - uses: codecov/codecov-action@v1 # if: matrix.node-version == 14 # if: matrix.node-version == 24 # with: # fail_ci_if_error: truemodified:test/main.ts+2 added-2 removed
634 unmodified lines635 test('ky.extend() with function appends hooks', extendHooksMacro, {useFunction: false});636 637 test('ky.extend() with function overrides primitives in parent defaults', async t => {638 const server = await createHttpTestServer();639- server.get('*', (request, response) => {639+ server.use((request, response) => {640 response.end(request.url);641 });642 643 const api = ky.create({prefixUrl: `${server.url}/api`});16 unmodified lines660 });661 662 test('ky.extend() with function retains parent defaults when not specified', async t => {663 const server = await createHttpTestServer();664- server.get('*', (request, response) => {664+ server.use((request, response) => {665 response.end(request.url);666 });667 668 const api = ky.create({prefixUrl: `${server.url}/api`});270 unmodified linesmodified:package.json+11 added-11 removed
56 unmodified lines5758596061626162636464656666676869706869707172737475727374757677787937 unmodified lines56 unmodified lines "@sindresorhus/tsconfig": "^6.0.0", "@type-challenges/utils": "^0.1.1", "@types/body-parser": "^1.19.2", "@types/busboy": "^1.5.0", "@types/express": "^4.17.17", "@types/node": "^20.14.12", "@types/express": "^5.0.3", "@types/node": "^24.7.1", "ava": "^5.3.1", "body-parser": "^1.20.2", "body-parser": "^2.2.0", "busboy": "^1.6.0", "del-cli": "^5.1.0", "del-cli": "^7.0.0", "delay": "^6.0.0", "expect-type": "^0.19.0", "express": "^4.18.2", "jest-leak-detector": "^30.1.0", "expect-type": "^1.2.2", "express": "^5.1.0", "jest-leak-detector": "^30.2.0", "pify": "^6.1.0", "playwright": "^1.45.3", "raw-body": "^2.5.2", "tsx": "^4.16.2", "typescript": "^5.5.4", "playwright": "^1.56.0", "raw-body": "^3.0.1", "tsx": "^4.20.6", "typescript": "^5.9.3", "xo": "^0.58.0" }, "xo": { "envs": [37 unmodified lines