Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 8ff0644

Browse files
Build(deps-dev): Bump node-fetch from 3.1.1 to 3.2.10 (#45)
* Build(deps-dev): Bump node-fetch from 3.1.1 to 3.2.10 Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.1.1 to 3.2.10. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Commits](node-fetch/node-fetch@v3.1.1...v3.2.10) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * test: added text encoder globally --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Perri <erik.perri@sourcetoad.com>
1 parent f9b026f commit 8ff0644

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

jest.setup.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
import {TextDecoder, TextEncoder} from 'node:util';
12
import fetch, {Request, Response} from 'node-fetch';
23
import {server} from './tests/mocks';
34

45
beforeAll(() => {
56
global.fetch = fetch;
67
global.Request = Request;
78
global.Response = Response;
9+
global.TextEncoder = TextEncoder;
10+
global.TextDecoder = TextDecoder;
811

912
// Establish API mocking before all tests.
1013
server.listen()

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,10 +2581,10 @@ fb-watchman@^2.0.0:
25812581
dependencies:
25822582
bser "2.1.1"
25832583

2584-
fetch-blob@^3.1.2, fetch-blob@^3.1.3:
2585-
version "3.1.4"
2586-
resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.1.4.tgz#e8c6567f80ad7fc22fd302e7dcb72bafde9c1717"
2587-
integrity sha512-Eq5Xv5+VlSrYWEqKrusxY1C3Hm/hjeAsCGVG3ft7pZahlUAChpGZT/Ms1WmSLnEAisEXszjzu/s+ce6HZB2VHA==
2584+
fetch-blob@^3.1.2, fetch-blob@^3.1.4:
2585+
version "3.2.0"
2586+
resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9"
2587+
integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==
25882588
dependencies:
25892589
node-domexception "^1.0.0"
25902590
web-streams-polyfill "^3.0.3"
@@ -3716,12 +3716,12 @@ node-fetch@^2.6.1:
37163716
whatwg-url "^5.0.0"
37173717

37183718
node-fetch@^3.0.0:
3719-
version "3.1.1"
3720-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.1.1.tgz#d0d9607e455b3087e3092b821b5b1f1ebf4c2147"
3721-
integrity sha512-SMk+vKgU77PYotRdWzqZGTZeuFKlsJ0hu4KPviQKkfY+N3vn2MIzr0rvpnYpR8MtB3IEuhlEcuOLbGvLRlA+yg==
3719+
version "3.2.10"
3720+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.2.10.tgz#e8347f94b54ae18b57c9c049ef641cef398a85c8"
3721+
integrity sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==
37223722
dependencies:
37233723
data-uri-to-buffer "^4.0.0"
3724-
fetch-blob "^3.1.3"
3724+
fetch-blob "^3.1.4"
37253725
formdata-polyfill "^4.0.10"
37263726

37273727
node-int64@^0.4.0:

0 commit comments

Comments
 (0)