Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@quoin/node-rc

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quoin/node-rc - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

debug.js

11

lib/index.js

@@ -1,5 +0,7 @@

const _ = require('lodash');
const debug = require('debug')('QI:rc');
const cloneDeep = require('lodash/cloneDeep');
const merge = require('lodash/merge');
const rc = require('rc');
const debug = require('./debug')('index');
module.exports = (name, baseConfig, postConfig) => {

@@ -10,6 +12,5 @@ if (name[0] === '@') {

}
debug(`name=${name}`);
const config = rc(name, _.cloneDeep(baseConfig));
const config = rc(name, cloneDeep(baseConfig));

@@ -22,5 +23,5 @@ // Remove extra properties added by `rc` module.

if (postConfig) {
return _.merge(config, postConfig);
return merge(config, postConfig);
}
return config;
};
{
"name": "@quoin/node-rc",
"version": "0.1.2",
"version": "0.1.3",
"description": "Wrapper for rc library.",
"main": "lib/index.js",
"engines": {
"node": ">=6.9.0"
"node": ">=8.12.0"
},
"scripts": {
"pretest": "npm run lint",
"prepack": "npm test",
"coverage": "nyc --report-dir=reports/coverage npm run -s test",

@@ -34,19 +36,20 @@ "lint:node": "eslint --fix --ignore-pattern='*.test.js' 'lib/*.js'",

"dependencies": {
"debug": "~4.1.0",
"lodash": "~4.17.11",
"debug": "~4.1.1",
"lodash": "~4.17.14",
"rc": "~1.2.8"
},
"devDependencies": {
"@quoin/eslint-config-quoin": "~0.3.0",
"@quoin/node-test-helpers": "~1.0.2",
"eslint": "~5.10.0",
"eslint-plugin-html": "~5.0.0",
"eslint-plugin-import": "~2.14.0",
"eslint-plugin-json": "~1.3.2",
"eslint-plugin-node": "~8.0.0",
"eslint-plugin-promise": "~4.0.1",
"@quoin/eslint-config-quoin": "~0.3.2",
"@quoin/node-test-helpers": "~1.0.3",
"eslint": "~6.0.1",
"eslint-config-standard": "~13.0.1",
"eslint-plugin-html": "~6.0.0",
"eslint-plugin-import": "~2.18.0",
"eslint-plugin-json": "~1.4.0",
"eslint-plugin-node": "~9.1.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-standard": "~4.0.0",
"mocha": "~5.2.0",
"nyc": "~13.1.0"
"mocha": "~6.1.4",
"nyc": "~14.1.1"
}
}
# Releases
## 0.1.3 - 2019-07-17
- lodash CVE-2019-10744
## 0.1.2 - 2018-12-12

@@ -4,0 +8,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc