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

defiant-builder

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

defiant-builder - npm Package Compare versions

Comparing version 1.8.5 to 1.8.6

6

lib/index.js

@@ -54,7 +54,7 @@

const importMapTask = async (appXmlDom, appPath, task) => {
let importmap = FS.path.join(appPath, task._attributes.importmap)
let importmap = FS.path.join(process.cwd(), appPath, task._attributes.importmap)
let importmapDir = importmap.slice(0, importmap.lastIndexOf("/"))
let iMap = require(importmap)
let folder = FS.path.join(appPath, task._attributes.folder)
let folder = FS.path.join(process.cwd(), appPath, task._attributes.folder)
let list = await FS.listDir(folder)

@@ -77,3 +77,3 @@ let matches = []

matches.push(file)
updated = text.replace(regexp, ` from '${relative}';`)
updated = text.replace(regexp, ` from '${relative.slice(3)}';`)
}

@@ -80,0 +80,0 @@ })

{
"name": "defiant-builder",
"version": "1.8.5",
"version": "1.8.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