diff --git a/package.json b/package.json index 73d73a28..7c41238e 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "conventional-changelog-cli": "^2.2.2", "fetch-mock-jest": "^1.5.1", "jest": "^29.2.2", - "node-fetch": "^2.6.7", + "node-fetch": "^3.3.0", "pascalcase": "^1.0.0", "prettier": "^2.7.1", "rimraf": "^3.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 91493185..63079146 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ specifiers: conventional-changelog-cli: ^2.2.2 fetch-mock-jest: ^1.5.1 jest: ^29.2.2 - node-fetch: ^2.6.7 + node-fetch: ^3.3.0 pascalcase: ^1.0.0 prettier: ^2.7.1 rimraf: ^3.0.2 @@ -35,9 +35,9 @@ devDependencies: '@types/jest': 29.2.2 codecov: 3.8.3 conventional-changelog-cli: 2.2.2 - fetch-mock-jest: 1.5.1_node-fetch@2.6.7 + fetch-mock-jest: 1.5.1_node-fetch@3.3.0 jest: 29.2.2 - node-fetch: 2.6.7 + node-fetch: 3.3.0 pascalcase: 1.0.0 prettier: 2.7.1 rimraf: 3.0.2 @@ -1847,6 +1847,11 @@ packages: engines: {node: '>=8'} dev: true + /data-uri-to-buffer/4.0.0: + resolution: {integrity: sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==} + engines: {node: '>= 12'} + dev: true + /dateformat/3.0.3: resolution: {integrity: sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==} dev: true @@ -2239,7 +2244,15 @@ packages: bser: 2.1.1 dev: true - /fetch-mock-jest/1.5.1_node-fetch@2.6.7: + /fetch-blob/3.2.0: + resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} + engines: {node: ^12.20 || >= 14.13} + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 3.2.1 + dev: true + + /fetch-mock-jest/1.5.1_node-fetch@3.3.0: resolution: {integrity: sha512-+utwzP8C+Pax1GSka3nFXILWMY3Er2L+s090FOgqVNrNCPp0fDqgXnAHAJf12PLHi0z4PhcTaZNTz8e7K3fjqQ==} engines: {node: '>=8.0.0'} peerDependencies: @@ -2248,13 +2261,13 @@ packages: node-fetch: optional: true dependencies: - fetch-mock: 9.11.0_node-fetch@2.6.7 - node-fetch: 2.6.7 + fetch-mock: 9.11.0_node-fetch@3.3.0 + node-fetch: 3.3.0 transitivePeerDependencies: - supports-color dev: true - /fetch-mock/9.11.0_node-fetch@2.6.7: + /fetch-mock/9.11.0_node-fetch@3.3.0: resolution: {integrity: sha512-PG1XUv+x7iag5p/iNHD4/jdpxL9FtVSqRMUQhPab4hVDt80T1MH5ehzVrL2IdXO9Q2iBggArFvPqjUbHFuI58Q==} engines: {node: '>=4.0.0'} peerDependencies: @@ -2270,7 +2283,7 @@ packages: glob-to-regexp: 0.4.1 is-subset: 0.1.1 lodash.isequal: 4.5.0 - node-fetch: 2.6.7 + node-fetch: 3.3.0 path-to-regexp: 2.4.0 querystring: 0.2.1 whatwg-url: 6.5.0 @@ -2309,6 +2322,13 @@ packages: path-exists: 4.0.0 dev: true + /formdata-polyfill/4.0.10: + resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} + engines: {node: '>=12.20.0'} + dependencies: + fetch-blob: 3.2.0 + dev: true + /fs-extra/10.1.0: resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} engines: {node: '>=12'} @@ -3483,6 +3503,11 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true + /node-domexception/1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + dev: true + /node-fetch/2.6.7: resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} engines: {node: 4.x || >=6.0.0} @@ -3495,6 +3520,15 @@ packages: whatwg-url: 5.0.0 dev: true + /node-fetch/3.3.0: + resolution: {integrity: sha512-BKwRP/O0UvoMKp7GNdwPlObhYGB5DQqwhEDQlNKuoqwVYSxkSZCSbHjnFFmUEtwSKRPU4kNK8PbDYYitwaE3QA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + data-uri-to-buffer: 4.0.0 + fetch-blob: 3.2.0 + formdata-polyfill: 4.0.10 + dev: true + /node-int64/0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} dev: true @@ -4519,6 +4553,11 @@ packages: makeerror: 1.0.12 dev: true + /web-streams-polyfill/3.2.1: + resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} + engines: {node: '>= 8'} + dev: true + /webidl-conversions/3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} dev: true