Comparing version 5.0.3 to 5.0.4
@@ -1,2 +0,2 @@ | ||
const fetch = require('isomorphic-fetch'); | ||
const fetch = require('node-fetch'); | ||
@@ -6,2 +6,3 @@ const smoosh = (a, b) => a.concat(b); | ||
module.exports = function () { | ||
// @ts-ignore - node-fetch types are wrong | ||
return fetch('http://aftonbladet.se') | ||
@@ -8,0 +9,0 @@ .then(r => r.text()) |
{ | ||
"name": "just-nu", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Antal JUST NU på Aftonbladet", | ||
@@ -30,4 +30,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"isomorphic-fetch": "^2.2.1" | ||
"node-fetch": "^2.1.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60
3388
8
+ Addednode-fetch@^2.1.2
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removedisomorphic-fetch@^2.2.1
- Removedencoding@0.1.13(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)