Socket
Socket
Sign inDemoInstall

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.6.9 to 1.7.0

7

lib/index.js

@@ -173,3 +173,3 @@

names = names.map(i => i.trim())
out = out.replace(/@keyframes (\w[a-z-_]+) \{/ig, `@keyframes ${id}-$1 {`)
out = out.replace(/@keyframes (\w[a-z-_]+) \{/ig, `@keyframes $1-${id} {`)

@@ -181,6 +181,7 @@ // replace all mixed animation-names

let rx = new RegExp(key, "g")
str = str.replace(rx, `${id}-${key}`)
str = str.replace(rx, `${key}-${id}`)
})
return str
})
// replace all animation-names

@@ -191,3 +192,3 @@ out = out.replace(/animation-name:[a-z \d\D-,]*?;/mig, (all, mmatch) => {

let rx = new RegExp(key, "g")
str = str.replace(rx, `${id}-${key}`)
str = str.replace(rx, `${key}-${id}`)
})

@@ -194,0 +195,0 @@ return str

{
"name": "defiant-builder",
"version": "1.6.9",
"version": "1.7.0",
"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