Socket
Socket
Sign inDemoInstall

sander

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sander - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

4

CHANGELOG.md
# 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 @@

10

dist/sander.js

@@ -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

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