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.3.1 to 1.3.2

10

lib/index.js

@@ -25,3 +25,6 @@

if (buildTasks.constructor !== Array) buildTasks = [buildTasks]
// check if task is to be skipped
buildTasks = buildTasks.filter(task => task._attributes.action !== "skip")
return Promise.all(buildTasks.map(async task => {

@@ -31,3 +34,4 @@ let input = FS.path.join(appPath, task._attributes.source)

let destDir = FS.path.dirname(dest)
let _uglify = task._attributes.action === "uglify" || uglify
let ant_require = async function(baseDir, reqStr, exclude) {

@@ -74,3 +78,3 @@ let reqPath = FS.path.join(baseDir, reqStr.slice(13,-2))

await FS.writeFile(dest, uglify ? parsed.code : code)
await FS.writeFile(dest, _uglify ? parsed.code : code)
}))

@@ -77,0 +81,0 @@ }

{
"name": "ant-app-builder",
"version": "1.3.1",
"version": "1.3.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