Socket
Socket
Sign inDemoInstall

standard

Package Overview
Dependencies
Maintainers
11
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 7.1.0 to 7.1.1

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## 7.1.1 - 2016-05-26
- Add back full node 0.10, 0.12 support
## 7.1.0 - 2016-05-16

@@ -8,0 +12,0 @@

4

package.json
{
"name": "standard",
"description": "JavaScript Standard Style",
"version": "7.1.0",
"version": "7.1.1",
"author": {

@@ -25,3 +25,3 @@ "email": "feross@feross.org",

"babel-eslint": "^6.0.0",
"cross-spawn-async": "^2.1.8",
"cross-spawn": "^3.0.1",
"minimist": "^1.2.0",

@@ -28,0 +28,0 @@ "mkdirp": "^0.5.1",

@@ -11,3 +11,3 @@ #!/usr/bin/env node

var crossSpawnAsync = require('cross-spawn-async')
var crossSpawn = require('cross-spawn')
var fs = require('fs')

@@ -72,3 +72,3 @@ var minimist = require('minimist')

return function (cb) {
fs.access(path.join(TMP, name), fs.R_OK | fs.W_OK, function (err) {
access(path.join(TMP, name), fs.R_OK | fs.W_OK, function (err) {
if (argv.offline) {

@@ -127,3 +127,3 @@ if (err) {

var child = crossSpawnAsync(command, args, opts)
var child = crossSpawn(command, args, opts)
child.on('error', cb)

@@ -136,1 +136,14 @@ child.on('close', function (code) {

}
function access (path, mode, callback) {
if (typeof mode === 'function') {
return access(path, null, callback)
}
// Node v0.10 lacks `fs.access`, which is faster, so fallback to `fs.stat`
if (typeof fs.access === 'function') {
fs.access(path, mode, callback)
} else {
fs.stat(path, callback)
}
}
var path = require('path')
var test = require('tape')
var crossSpawnAsync = require('cross-spawn-async')
var crossSpawn = require('cross-spawn')

@@ -10,3 +10,3 @@ var CMD_PATH = path.join(__dirname, '..', 'bin', 'cmd.js')

var child = crossSpawnAsync(CMD_PATH, ['--help'])
var child = crossSpawn(CMD_PATH, ['--help'])
child.on('error', function (err) {

@@ -13,0 +13,0 @@ t.fail(err)

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