stackexchange
Advanced tools
Comparing version 1.3.1 to 2.0.0
@@ -5,5 +5,6 @@ 'use strict' | ||
const parser = require('./parser') | ||
const fetch = require('node-fetch') | ||
const url = require('url') | ||
const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args)) | ||
/** | ||
@@ -10,0 +11,0 @@ * Post a query with supplied data. |
'use strict' | ||
const config = require('./config') | ||
const fetch = require('node-fetch') | ||
const url = require('url') | ||
const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args)) | ||
/** | ||
@@ -8,0 +9,0 @@ * Execute a query after checkign if criteria are available. |
{ | ||
"name": "stackexchange", | ||
"version": "1.3.1", | ||
"version": "2.0.0", | ||
"description": "Node.js implementation of the stackexchange/stackoverflow API", | ||
@@ -17,3 +17,3 @@ "main": "./lib/stackexchange", | ||
"dependencies": { | ||
"node-fetch": "^2.6.6" | ||
"node-fetch": "^3.1.1" | ||
}, | ||
@@ -23,7 +23,7 @@ "devDependencies": { | ||
"@semantic-release/git": "^10.0.1", | ||
"c8": "^7.10.0", | ||
"c8": "^7.11.0", | ||
"chai": "^4.3.4", | ||
"mocha": "^9.1.3", | ||
"nock": "^13.2.0", | ||
"semantic-release": "^18.0.0", | ||
"mocha": "^9.1.4", | ||
"nock": "^13.2.2", | ||
"semantic-release": "^19.0.2", | ||
"standard": "^16.0.4" | ||
@@ -30,0 +30,0 @@ }, |
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
18402
4
+ Addeddata-uri-to-buffer@4.0.1(transitive)
+ Addedfetch-blob@3.2.0(transitive)
+ Addedformdata-polyfill@4.0.10(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@3.3.2(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatednode-fetch@^3.1.1