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

eslint-config-adjunct

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-adjunct - npm Package Compare versions

Comparing version 4.5.1 to 4.5.2

1

lib/loaded.js

@@ -10,2 +10,3 @@ module.exports = function showLoaded(rules, extraInstallPackage) {

// eslint-disable-next-line no-console
console.log(`

@@ -12,0 +13,0 @@ EsLint-config-adjunct loaded the following packages:

9

lib/missing.js

@@ -0,1 +1,3 @@

const { equals, indexOf, pipe, when } = require('ramda')
const isModuleAvailable = require('./is-module-available')

@@ -6,2 +8,4 @@

const atLatest = when(pipe(indexOf('@'), equals(-1)), (pkg) => `${pkg}@latest`)
module.exports = function checkMissing(rules, extraInstallPackage) {

@@ -22,2 +26,3 @@ const notInstalled = rules

// eslint-disable-next-line no-console
console.log(`

@@ -32,7 +37,7 @@ Oops! Something went wrong! :(

npm install ${notInstalled.join(' ')} --save-dev
npm install ${notInstalled.map(atLatest).join(' ')} --save-dev
or
yarn add ${notInstalled.join(' ')} --dev
yarn add ${notInstalled.map(atLatest).join(' ')} --dev

@@ -39,0 +44,0 @@ `)

@@ -34,2 +34,10 @@ // From kcd-scripts

function environmentIsSet(name) {
return (
process.env.hasOwnProperty(name) && // eslint-disable-line no-prototype-builtins
process.env[name] &&
process.env[name] !== 'undefined'
)
}
function parseEnvironment(name, def) {

@@ -46,10 +54,2 @@ if (environmentIsSet(name)) {

function environmentIsSet(name) {
return (
process.env.hasOwnProperty(name) && // eslint-disable-line no-prototype-builtins
process.env[name] &&
process.env[name] !== 'undefined'
)
}
function uniq(array) {

@@ -56,0 +56,0 @@ return [...new Set(array)]

{
"name": "eslint-config-adjunct",
"version": "4.5.1",
"version": "4.5.2",
"author": "David J. Bradshaw",

@@ -31,4 +31,7 @@ "license": "MIT",

"cosmiconfig": "^6.0.0",
"lodash.has": "^4.5.2",
"read-pkg-up": "^7.0.1"
"lodash": "^4.17.15",
"mkdirp": "^1.0.4",
"ramda": "^0.27.0",
"read-pkg-up": "^7.0.1",
"rimraf": "^3.0.2"
},

@@ -42,2 +45,3 @@ "devDependencies": {

"eslint": "^7.1.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-babel": "^9.0.0",

@@ -59,2 +63,3 @@ "eslint-config-prettier": "^6.11.0",

"eslint-plugin-html": "^6.0.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jasmine": "^4.1.1",

@@ -64,2 +69,3 @@ "eslint-plugin-jest": "^23.13.2",

"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-lodash": "^7.1.0",

@@ -95,3 +101,2 @@ "eslint-plugin-lodash-fp": "^2.2.0-a1",

"lint-staged": "^10.2.7",
"lodash": "^4.17.15",
"lodash-fp": "^0.10.4",

@@ -102,3 +107,2 @@ "mocha": "^7.2.0",

"qunit": "^2.10.0",
"ramda": "^0.27.0",
"react": "^16.13.1",

@@ -105,0 +109,0 @@ "react-redux": "^7.2.0",

@@ -36,4 +36,2 @@ # eslint-config-adjunct

## Install Dependencies

@@ -150,2 +148,3 @@

- lodash-fp/use-fp
- unicorn/no-fn-reference-in-iterator
- unicorn/no-reduce

@@ -152,0 +151,0 @@ - unicorn/no-null

module.exports = {
env: {
['cypress/globals']: true,
'cypress/globals': true,
},

@@ -5,0 +5,0 @@ extends: ['plugin:cypress/recommended'],

@@ -24,2 +24,3 @@ const { hasAnyDep } = require('../lib/utils')

// eslint-disable-next-line no-console
console.log(configs.map((config) => ` eslint-config-${config}\n`).join(''))

@@ -26,0 +27,0 @@

@@ -0,1 +1,2 @@

// eslint-disable-next-line no-console
console.log(' ')

@@ -2,0 +3,0 @@

@@ -14,2 +14,3 @@ module.exports = {

'unicorn/regex-shorthand': 0,
'unicorn/no-fn-reference-in-iterator': 0,
'unicorn/no-reduce': 0,

@@ -16,0 +17,0 @@ 'unicorn/no-null': 0,

Sorry, the diff of this file is not supported yet

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