Socket
Socket
Sign inDemoInstall

stackexchange

Package Overview
Dependencies
7
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

16

lib/config.js
'use strict'
const nconf = require('nconf')
// Default configuration.
nconf.use('memory').defaults({
api: 'api.stackexchange.com',
protocol: 'https:',
site: 'stackoverflow',
version: 2.2
})
const config = new Map([
['api', 'api.stackexchange.com'],
['protocol', 'https:'],
['site', 'stackoverflow'],
['version', '2.2']
])
// Expose config
module.exports = nconf
module.exports = config
{
"name": "stackexchange",
"version": "1.3.0",
"version": "1.3.1",
"description": "Node.js implementation of the stackexchange/stackoverflow API",

@@ -17,11 +17,13 @@ "main": "./lib/stackexchange",

"dependencies": {
"nconf": "0.8.x",
"node-fetch": "^2.6.1"
"node-fetch": "^2.6.6"
},
"devDependencies": {
"c8": "^7.3.5",
"chai": "^4.1.2",
"mocha": "^8.2.0",
"nock": "^13.0.11",
"standard": "^16.0.3"
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"c8": "^7.10.0",
"chai": "^4.3.4",
"mocha": "^9.1.3",
"nock": "^13.2.0",
"semantic-release": "^18.0.0",
"standard": "^16.0.4"
},

@@ -37,3 +39,26 @@ "keywords": [

"license": "MIT",
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"readmeFilename": "README.md"
}
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