Socket
Socket
Sign inDemoInstall

standard

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

7

index.js

@@ -13,6 +13,11 @@ var cp = require('child_process')

if (/^win/.test(process.platform)) {
JSHINT += '.cmd'
JSCS += '.cmd'
}
module.exports = function (dir) {
find.file(/\.js$/, dir || process.cwd(), function (files) {
files = files.filter(function (file) {
return !/\/node_modules\/|\/.git\/|\.min.js$|\/bundle.js$/.test(file)
return !/[\/\\]node_modules[\/\\]|[\/\\].git[\/\\]|\.min.js$|\/bundle.js$/.test(file)
})

@@ -19,0 +24,0 @@

4

package.json
{
"name": "standard",
"description": "JavaScript Standard Style",
"version": "1.0.2",
"version": "1.1.0",
"author": {

@@ -48,4 +48,4 @@ "name": "Feross Aboukhadijeh",

"scripts": {
"test": "./bin/cmd.js"
"test": "node ./bin/cmd.js"
}
}
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