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.6 to 1.3.7

18

lib/index.js

@@ -136,3 +136,3 @@

let isHeadless = getMetaValue(meta, "headless")
let cssFile = getMetaValue(meta, "style", "toolbar")
let cssFile = getMetaValue(meta, "toolbar-style")
let filePath = cssFile ? FS.path.join(appPath, cssFile) : ""

@@ -143,2 +143,3 @@ let options = { compress: true }

let statusbar_output = ""
let dialog_output = ""
let data = ""

@@ -154,3 +155,3 @@

cssFile = getMetaValue(meta, "style", "statusbar")
cssFile = getMetaValue(meta, "statusbar-style")
filePath = cssFile ? FS.path.join(appPath, cssFile) : ""

@@ -164,2 +165,13 @@ if (cssFile && await FS.fileExists(filePath)) {

}
cssFile = getMetaValue(meta, "dialog-style")
filePath = cssFile ? FS.path.join(appPath, cssFile) : ""
if (cssFile && await FS.fileExists(filePath)) {
data = await FS.readFile(filePath)
dialog_output = await less.render(`.ant-window_[data-id="${id}"] .dialog-body_ {${data.toString()}}`, options)
dialog_output = dialog_output.css
.replace(/(url\('?)\~/g, `$1/app/${namespace}/${id}`)
.replace(/\t|\n/g, "")
}
cssFile = getMetaValue(meta, "style")

@@ -176,3 +188,3 @@ filePath = cssFile ? FS.path.join(appPath, cssFile) : ""

}
return toolbar_output + winbody_output + statusbar_output
return toolbar_output + winbody_output + statusbar_output + dialog_output
}

@@ -179,0 +191,0 @@

2

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