stackexchange
Advanced tools
Comparing version 1.3.0 to 1.3.1
'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" | ||
} |
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
18286
1
8
12
530
- Removednconf@0.8.x
- Removedansi-regex@2.1.1(transitive)
- Removedasync@1.5.2(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcliui@3.2.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedini@1.3.8(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedlcid@1.0.0(transitive)
- Removednconf@0.8.5(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedsecure-keys@1.0.0(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedwindow-size@0.1.4(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyargs@3.32.0(transitive)
Updatednode-fetch@^2.6.6