Socket
Socket
Sign inDemoInstall

q-io

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

q-io - npm Package Compare versions

Comparing version 1.7.3 to 1.8.0

22

fs.js

@@ -107,17 +107,9 @@ /**

target = String(target);
return exports.exists(target)
.then(function (exists) {
if (exists) {
var error = new Error("Can't move over existing entry " + target);
error.code = "EEXISTS";
throw error;
}
return Q.ninvoke(FS, "rename", source, target)
.fail(function (error) {
error.message = (
"Can't move " + JSON.stringify(source) + " to " +
JSON.stringify(target) + " because " + error.message
);
throw error;
});
return Q.ninvoke(FS, "rename", source, target)
.fail(function (error) {
error.message = (
"Can't move " + JSON.stringify(source) + " to " +
JSON.stringify(target) + " because " + error.message
);
throw error;
});

@@ -124,0 +116,0 @@ };

{
"name": "q-io",
"version": "1.7.3",
"version": "1.8.0",
"description": "IO using Q promises",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/kriskowal/q-io/",

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