Socket
Socket
Sign inDemoInstall

stackexchange

Package Overview
Dependencies
6
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 2.0.0

3

lib/post.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc