Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ant-app-builder

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ant-app-builder - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

24

lib/common.js

@@ -7,3 +7,3 @@

const copyRecursive = async (src, dest) => {
const copyDir = async (src, dest) => {
let list = await FS.readDir(src)

@@ -20,3 +20,3 @@

if (!exists) await FS.mkdir(fDest)
await copyRecursive(fSrc, fDest)
await copyDir(fSrc, fDest)
} else {

@@ -28,2 +28,19 @@ await FS.copyFile(fSrc, fDest)

const deleteDir = async (dir) => {
let list = await FS.readDir(dir)
await Promise.all(list.map(async file => {
let fPath = FS.path.join(dir, file)
let stat = await FS.fileStat(fPath)
if (stat.isDirectory()) {
await deleteDir(fPath)
} else {
await FS.unlink(fPath)
}
}))
await FS.rmdir(dir)
}
const FS = {

@@ -39,3 +56,4 @@ org: fs,

copyFile: util.promisify(fs.copyFile),
copyRecursive,
copyDir,
deleteDir,
}

@@ -42,0 +60,0 @@

2

package.json
{
"name": "ant-app-builder",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib",

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