New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qiao-file

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qiao-file - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

5

__tests__/mkdir.js

@@ -6,7 +6,8 @@ 'use strict';

var test = function(){
var folder = './test1/test2/test3/test.js';
var folder = '/Users/vincent/Data/projects/qiao/qiao-monorepo/packages/qiao-file/2/3/4/';
q.mkdir(folder);
var res = q.mkdir(folder);
console.log(res);
};
test();

8

index.js

@@ -209,4 +209,10 @@ 'use strict';

try{
// check
if(!dir || !dir.endsWith('/')) return false;
// is exists
if(isExists(dir)) return true;
// check dir
var dirs = [];
var dirs = [dir];
checkDir(dir, dirs);

@@ -213,0 +219,0 @@

{
"name": "qiao-file",
"version": "0.2.4",
"version": "0.2.5",
"description": "nodejs file tool",

@@ -24,3 +24,3 @@ "author": "uikoo9 <uikoo9@qq.com>",

},
"gitHead": "c4c9f755e701d298bb3a9bc397f4178984f6af98"
"gitHead": "78284f3cf042afa4b7b164612a4b04d2f46c3a44"
}

@@ -6,2 +6,5 @@ 'use strict';

// is
import { isExists } from './is.js';
// util

@@ -48,4 +51,10 @@ import {

try{
// check
if(!dir || !dir.endsWith('/')) return false;
// is exists
if(isExists(dir)) return true;
// check dir
var dirs = [];
var dirs = [dir];
checkDir(dir, dirs);

@@ -52,0 +61,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