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

consumed

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consumed - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

tasks/eslint.js

91

.eslint.json

@@ -10,11 +10,94 @@ {

"strict": "off",
"quotes": ["error", "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"quotes": ["error", "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
"no-undef": "error",
"no-unused-vars": ["error", {"args": "none"}],
"no-unused-vars": ["error", {
"args": "none"
}],
"no-trailing-spaces": "error",
"no-loop-func": "error",
"no-underscore-dangle": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-octal": "off"
"indent": ["error", 2, {
"SwitchCase": 1
}],
"no-octal": "off",
"no-multiple-empty-lines": ["error", {
"max": 1
}],
"no-debugger": "error",
"no-empty": ["error", {
"allowEmptyCatch": true
}],
"no-template-curly-in-string": "warn",
"no-unreachable": "error",
"valid-typeof": "error",
"dot-notation": ["error", {
"allowKeywords": false
}],
"eqeqeq": "error",
"no-extend-native": "error",
"no-loop-func": "error",
"no-magic-numbers": ["error", {
"ignore": [0,1],
"ignoreArrayIndexes": true,
"enforceConst": true,
"detectObjects": true
}],
"no-multi-spaces": "error",
"no-sequences": "error",
"wrap-iife": ["error", "inside"],
"yoda": ["error", "never"],
"no-path-concat": "error",
"array-bracket-spacing": ["error", "always", {
"singleValue": false,
"objectsInArrays": false,
"arraysInArrays": false
}],
"brace-style": ["error", "1tbs"],
"camelcase": ["error", {
"properties": "always"
}],
"comma-spacing": ["error", {
"before": false,
"after": true
}],
"comma-style": ["error", "last"],
"consistent-this": ["error", "self"],
"func-style": ["error", "expression", {
"allowArrowFunctions": true
}],
"key-spacing": ["error", {
"beforeColon": false,
"afterColon": true,
"mode": "strict"
}],
"keyword-spacing": ["error", {
"before": true,
"after": true
}],
"no-lonely-if": "error",
"no-tabs": "error",
"no-whitespace-before-property": "error",
"object-curly-newline": ["error", {
"minProperties": 1
}],
"object-curly-spacing": ["error", "always", {
"arraysInObjects": false,
"objectsInObjects": false
}],
"object-property-newline": "error",
"semi": ["error", "always", {
"omitLastInOneLineBlock": true
}],
"space-before-blocks": ["error", "always"],
"spaced-comment": ["error", "always"],
"arrow-spacing": ["error", {
"before": true,
"after": true
}],
"no-const-assign": "error",
"prefer-template": "error"
}
}

6

package.json
{
"name": "consumed",
"version": "1.0.4",
"version": "1.0.5",
"description": "Easy string consumption",

@@ -35,2 +35,3 @@ "main": "lib/consumed.js",

"coffee-script": "~1.12.2",
"eslint-codeframe-formatter": "^1.0.2",
"expect.js": "~0.3.1",

@@ -41,5 +42,5 @@ "grunt": "~1.0.1",

"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-jshint": "~1.1.0",
"grunt-contrib-uglify": "~2.0.0",
"grunt-contrib-watch": "~1.0.0",
"grunt-eslint": "^19.0.0",
"grunt-mocha-test": "~0.13.2",

@@ -52,3 +53,2 @@ "grunt-open": "~0.2.3",

"indeed": "~1.1.0",
"jshint-stylish": "~2.2.1",
"mocha": "~3.2.0",

@@ -55,0 +55,0 @@ "mocha-given": "~0.1.3",

module.exports = {
mocha: ['mochaTest:test'],
default: ['jshint:all', 'mocha', 'testem:ci:browser'],
default: ['eslint:lib', 'mocha', 'testem:ci:browser'],
coverage: ['istanbul:unit', 'open:coverage'],

@@ -5,0 +5,0 @@ ci: ['default', 'travisMatrix'],

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