🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

a-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-toolbox - npm Package Compare versions

Comparing version

to
0.1.7

14

modules/fs.js

@@ -11,3 +11,3 @@ 'use strict'

*/
fs.exists = function (path) {
fs.existsAsync = function (path) {
return new Promise(function (resolve) {

@@ -27,2 +27,14 @@ nodeFs.stat(path, function (err, stats) {

fs.unlink = function (path, ignore) {
return new Promise(function (resolve, reject) {
nodeFs.unlink(path, function (err) {
if (err && !ignore) {
reject()
return
}
resolve()
})
})
}
module.exports = fs

2

package.json
{
"name": "a-toolbox",
"version": "0.1.6",
"version": "0.1.7",
"description": "javascript lightweight basic tools",

@@ -5,0 +5,0 @@ "main": "index.js",