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.4.5 to 1.4.6

12

lib/index.js

@@ -326,2 +326,10 @@

// replace references to files getting minified
files.map(fp => {
let p = FS.path.parse(fp),
rx = new RegExp("/"+ p.base)
file = file.toString()
.replace(rx, "/"+ p.name +".min"+ p.ext)
})
switch (parsed.ext) {

@@ -331,6 +339,6 @@ case ".js":

options = { compress: true, module: true }
minified = terser.minify(file.toString(), options)
minified = terser.minify(file, options)
break
case ".json":
minified = { code: jsonminify(file.toString()) }
minified = { code: jsonminify(file) }
break

@@ -337,0 +345,0 @@ }

2

package.json
{
"name": "ant-app-builder",
"version": "1.4.5",
"version": "1.4.6",
"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