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.5.2 to 1.5.3

browser/buffer.js

2

fs-common.js

@@ -185,3 +185,3 @@

if (self.isAbsolute(path))
at.push(self.ROOT);
at.push(parts.shift());
return parts.reduce(function (parent, part) {

@@ -188,0 +188,0 @@ return Q.when(parent, function () {

{
"name": "q-io",
"version": "1.5.2",
"version": "1.5.3",
"description": "IO using Q promises",

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

@@ -157,6 +157,12 @@

Moves a file or directory from one path to another. If the target
exists and is a directory, moves the source into the target directory
with the same base name as the source.
Moves a file or directory from one path to another. Cannot move over a
target directory, even if it is empty. Otherwise, does nothing if the
source and target are the same entry in the file system.
Node's `rename` implementation, at least on Mac OS X, does not enforce
the rule that writing over an empty directory should fail. Since Q-IO
enforces this rule in software, it is not atomic and there is a chance
that an empty directory will be created over the target path between
when `move` checks for it and when it overwrites it.
### link(source, taget)

@@ -163,0 +169,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