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.3 to 1.3.4

11

lib/index.js

@@ -253,2 +253,3 @@

let filePath = iconFile ? FS.path.join(appPath, iconFile) : ""
let dirPath = FS.path.dirname(filePath)

@@ -258,2 +259,12 @@ if (iconFile && await FS.fileExists(filePath)) {

data = data.toString().replace(/\t|\n/g, "")
let regexp = /@import ['"](.+?)['"]/mg
let imports = data.match(regexp) || []
await Promise.all(imports.map(async item => {
let importPath = FS.path.join(dirPath, item.slice(9,-1))
let importFile = await FS.readFile(importPath)
let rx = new RegExp(item, "im")
data = data.replace(rx, importFile)
}))
return data

@@ -260,0 +271,0 @@ }

2

package.json
{
"name": "ant-app-builder",
"version": "1.3.3",
"version": "1.3.4",
"description": "",

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

@@ -5,3 +5,3 @@

let srcDir = path.join(__dirname, "temp/")
let srcDir = path.join(__dirname, "temp/preferences")
let destDir = path.join(__dirname, "temp/_build")

@@ -8,0 +8,0 @@ let uglify = false

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