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.6.5 to 1.6.6

.coverage_data/coveragefile_87d9c0d35c6278030dead5efae3f522c

16

fs-root.js

@@ -57,3 +57,3 @@

inner.list = function (path) {
return Q.when(attenuate(path), function (path) {
return attenuate(path).then(function (path) {
return outer.list(path.outer);

@@ -66,3 +66,3 @@ }).then(null, function (reason) {

inner.open = function (path, flags, charset) {
return Q.when(attenuate(path), function (path) {
return attenuate(path).then(function (path) {
return outer.open(path.outer, flags, charset);

@@ -75,3 +75,3 @@ }).then(null, function (reason) {

inner.stat = function (path) {
return Q.when(attenuate(path), function (path) {
return attenuate(path).then(function (path) {
return outer.stat(path.outer);

@@ -84,3 +84,3 @@ }).then(null, function (reason) {

inner.canonical = function (path) {
return Q.when(attenuate(path), function (path) {
return attenuate(path).then(function (path) {
return path.inner;

@@ -92,2 +92,10 @@ }).then(null, function (reason) {

inner.makeDirectory = function (path) {
return attenuate(path).then(function (path) {
return outer.makeDirectory(path.outer);
}).catch(function (error) {
throw new Error("Can't make directory " + JSON.stringify(path));
});
};
return Q.when(outer.canonical(root), function (_root) {

@@ -94,0 +102,0 @@ root = _root;

{
"name": "q-io",
"version": "1.6.5",
"version": "1.6.6",
"description": "IO using Q promises",

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

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