@idearium/fetch
Advanced tools
Comparing version 2.0.4 to 3.0.0-beta.1
# @idearium/fetch | ||
## v3.0.0-beta.1 | ||
### Removed | ||
- Removed isomorphic-fetch. | ||
- Minimum Node.js version is now v18.0.0. | ||
## v2.0.4 | ||
@@ -40,3 +47,1 @@ | ||
- First version of the package. | ||
@idearium/fetch-v1.0.1-beta.1 |
'use strict'; | ||
const fetch = require('isomorphic-fetch'); | ||
const parseBody = (response) => { | ||
@@ -6,0 +4,0 @@ if ( |
{ | ||
"name": "@idearium/fetch", | ||
"version": "2.0.4", | ||
"version": "3.0.0-beta.1", | ||
"description": "A package to make fetching trivial.", | ||
@@ -15,8 +15,6 @@ "main": "index.js", | ||
}, | ||
"dependencies": { | ||
"isomorphic-fetch": "3.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"fetch-mock-jest": "^1.5.1" | ||
"fetch-mock-jest": "1.5.1" | ||
} | ||
} |
'use strict'; | ||
jest.mock('isomorphic-fetch', () => require('fetch-mock-jest').sandbox()); | ||
const fetchMock = require('isomorphic-fetch'); | ||
const fetchMock = require('fetch-mock-jest'); | ||
const fetchApi = require('../'); | ||
@@ -7,0 +5,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
5582
147
2
- Removedisomorphic-fetch@3.0.0
- Removedisomorphic-fetch@3.0.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
- Removedwhatwg-url@5.0.0(transitive)