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

postcss-prefix

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-prefix - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

index.js

@@ -10,6 +10,9 @@ const postcss = require('postcss')

root.walkRules(function (rule) {
if (rule.selector === ':root') return
rule.selector = prefix + rule.selector
rule.selectors = rule.selectors.map(function (selector) {
if (rule.selector.indexOf(':root') === 0) return selector
return prefix + selector
})
rule.selector = rule.selectors.join(', ')
})
}
}
{
"name": "postcss-prefix",
"version": "1.0.0",
"version": "1.0.1",
"dependencies": {

@@ -5,0 +5,0 @@ "postcss": "^5.0.8"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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