Socket
Socket
Sign inDemoInstall

curated-linter

Package Overview
Dependencies
206
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

12

lib/get-merged-config.js

@@ -1,9 +0,9 @@

const getPkgConf = require('pkg-conf')
const deepAssign = require('deep-assign')
const getPkgConfig = require('pkg-conf')
const merge = require('lodash.merge')
const getMergedOpts = function (config = {}) {
const pkgOpts = this.config.packageJson ? getPkgConf(this.config.name) : Promise.resolve({})
return pkgOpts.then(pkgOpts => deepAssign(this.config, pkgOpts, config))
const getMergedConfig = function (config = {}) {
const pkgConfig = this.config.packageJson ? getPkgConfig(this.config.name) : Promise.resolve({})
return pkgConfig.then(pkgConfig => merge(this.config, pkgConfig, config))
}
module.exports = getMergedOpts
module.exports = getMergedConfig
{
"name": "curated-linter",
"version": "1.1.1",
"version": "1.1.2",
"description": "Creates curated linters, like standard",

@@ -49,6 +49,6 @@ "main": "lib/index.js",

"clone": "^2.1.0",
"deep-assign": "^2.0.0",
"deglob": "^2.1.0",
"lint-files": "^1.0.0",
"lint-text": "^1.0.1",
"lodash.merge": "^4.6.0",
"meow": "^3.7.0",

@@ -55,0 +55,0 @@ "pify": "https://api.github.com/repos/mightyiam/pify/tarball/multiargs-error",

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