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

automaton

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

automaton - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

CHANGELOG.md
# Changelog
## 0.1.2 - 2013-01-20
- More windows fixes, all tests now pass
## 0.1.1 - 2013-01-19

@@ -4,0 +8,0 @@

2

package.json
{
"name": "automaton",
"version": "0.1.1",
"version": "0.1.2",
"description": "Task automation tool",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -94,3 +94,3 @@ 'use strict';

} else {
dstType = utils.string.endsWith(dst, '/') ? 'dir' : srcType;
dstType = /[\/\\]$/.test(dst) ? 'dir' : srcType;
}

@@ -110,3 +110,3 @@

// inside it
if (stat || utils.string.endsWith(dst, '/')) {
if (stat || /[\/\\]$/.test(dst)) {
dst = path.join(dst, path.basename(src));

@@ -213,3 +213,4 @@ }

var stream = fstream.Reader({
path: src
path: src,
follow: true
}).pipe(

@@ -262,3 +263,3 @@ fstream.Writer({

matches.forEach(function (match) {
var isFile = !utils.string.endsWith(match, '/');
var isFile = !/[\/\\]$/.test(match);

@@ -265,0 +266,0 @@ if (isFile) {

@@ -93,3 +93,3 @@ 'use strict';

} else {
dstType = utils.string.endsWith(dst, '/') ? 'dir' : srcType;
dstType = /[\/\\]$/.test(dst) ? 'dir' : srcType;
}

@@ -109,3 +109,3 @@

// inside it
if (stat || utils.string.endsWith(dst, '/')) {
if (stat || /[\/\\]$/.test(dst)) {
dst = path.join(dst, path.basename(src));

@@ -212,3 +212,3 @@ }

matches.forEach(function (match) {
var isFile = !utils.string.endsWith(match, '/');
var isFile = !/[\/\\]$/.test(match);

@@ -215,0 +215,0 @@ if (isFile) {

@@ -66,3 +66,3 @@ 'use strict';

var files = matches.filter(function (match) {
return !utils.string.endsWith(match, '/');
return !/[\/\\]$/.test(match);
});

@@ -69,0 +69,0 @@

@@ -55,3 +55,3 @@ 'use strict';

var files = matches.filter(function (match) {
return !utils.string.endsWith(match, '/');
return !/[\/\\]$/.test(match);
});

@@ -58,0 +58,0 @@

@@ -66,3 +66,3 @@ 'use strict';

var files = matches.filter(function (match) {
return !utils.string.endsWith(match, '/');
return !/[\/\\]$/.test(match);
});

@@ -69,0 +69,0 @@

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