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

standard-engine

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard-engine - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # standard-engine Change Log

## 1.10.0 2015-07-06
* Fix bug in custom parser option to make it work.
* Merged from standard: New "globals" option can be set in package.json to define an array of global variables.
## 1.9.0 2015-06-29

@@ -7,0 +11,0 @@ * merge from latest standard 4.4.1 including:

18

index.js

@@ -166,6 +166,14 @@ module.exports.cli = require('./bin/cmd')

if (packageOpts) {
// Use ignore patterns from package.json
// Use ignore patterns from package.json ("standard.ignore" property)
if (packageOpts.ignore) addIgnorePattern(packageOpts.ignore)
// Use custom js parser from package.json
// Use globals from package.json ("standard.global" property)
var globals = packageOpts.globals || packageOpts.global
if (globals) {
self.eslintConfig.globals = Array.isArray(globals)
? globals
: [ globals ]
}
// Use custom js parser from package.json ("standard.parser" property)
if (!opts.parser && packageOpts.parser) useCustomParser(packageOpts.parser)

@@ -187,5 +195,5 @@ }

fs.writeFileSync(tmpFilename, JSON.stringify(configFile))
opts._config = opts._config || {} // default _config property if not present
opts._config.configFile = tmpFilename
console.log(tmpFilename)
self.eslintConfig = self.eslintConfig || {} // default _config property if not present
self.eslintConfig.configFile = tmpFilename
}

@@ -192,0 +200,0 @@

{
"name": "standard-engine",
"description": "Wrap your standards in a tortilla and cover it in special sauce.",
"version": "1.9.0",
"version": "1.10.0",
"author": "Dan Flettre <flettre@gmail.com> (http://twitter.com/flettre/)",

@@ -6,0 +6,0 @@ "bugs": {

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