Socket
Socket
Sign inDemoInstall

fs-jetpack

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-jetpack - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# 0.13.1 (2017-03-16)
- Added lacking promise rejection handler for `copyAsync()`.
# 0.13.0 (2017-03-15)

@@ -2,0 +5,0 @@ - **(breaking change)** Dropped support for node.js 0.10 and 0.12

9

lib/copy.js

@@ -155,3 +155,4 @@ 'use strict';

// Some parent directory doesn't exits. Create it and retry.
dir.createAsync(toDirPath).then(function () {
dir.createAsync(toDirPath)
.then(function () {
// Make retry attempt only once to prevent vicious infinite loop

@@ -161,5 +162,5 @@ // (when for some obscure reason I/O will keep returning ENOENT error).

copyFileAsync(from, to, mode, true)
.then(resolve)
.catch(reject);
});
.then(resolve, reject);
})
.catch(reject);
} else {

@@ -166,0 +167,0 @@ reject(err);

{
"name": "fs-jetpack",
"description": "Better file system API",
"version": "0.13.0",
"version": "0.13.1",
"author": "Jakub Szwacz <jakub@szwacz.com>",

@@ -6,0 +6,0 @@ "dependencies": {

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