Comparing version 0.3.5 to 0.3.6
# changelog | ||
## 0.3.6 | ||
* In Node.js 4, buffers are created in JavaScript – replace `!== '[object Buffer]'` check with `=== '[object Object]'` | ||
## 0.3.5 | ||
@@ -4,0 +8,0 @@ |
@@ -37,2 +37,3 @@ 'use strict'; | ||
} | ||
function standardMethod__asyncMethod(methodName) { | ||
@@ -268,2 +269,3 @@ return function () { | ||
} | ||
function open() { | ||
@@ -386,3 +388,3 @@ var _normaliseArguments = specialMethods_open__normaliseArguments(arguments); | ||
if (typeof args[args.length - 1] === 'object' && Object.prototype.toString.call(args[args.length - 1]) !== '[object Buffer]') { | ||
if (typeof args[args.length - 1] === 'object' && Object.prototype.toString.call(args[args.length - 1]) === '[object Object]') { | ||
opts = args.pop(); | ||
@@ -708,2 +710,3 @@ } | ||
var isWindows = process.platform === 'win32'; | ||
function symlinkOrCopy() { | ||
@@ -713,6 +716,5 @@ var _arguments = arguments; | ||
if (isWindows) { | ||
var _resolvePathAndOptions; | ||
var _ret = (function () { | ||
var _resolvePathAndOptions = utils_resolvePathAndOptions(_arguments); | ||
var _ret = (function () { | ||
_resolvePathAndOptions = utils_resolvePathAndOptions(_arguments); | ||
var src = _resolvePathAndOptions.resolvedPath; | ||
@@ -719,0 +721,0 @@ var readOptions = _resolvePathAndOptions.options; |
@@ -5,3 +5,3 @@ { | ||
"author": "Rich Harris", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "repository": "https://github.com/rich-harris/sander", |
@@ -16,3 +16,3 @@ import * as fs from 'graceful-fs'; | ||
if ( typeof args[ args.length - 1 ] === 'object' && Object.prototype.toString.call( args[ args.length - 1 ] ) !== '[object Buffer]' ) { | ||
if ( typeof args[ args.length - 1 ] === 'object' && Object.prototype.toString.call( args[ args.length - 1 ] ) === '[object Object]' ) { | ||
opts = args.pop(); | ||
@@ -19,0 +19,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85432
1310