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

postcss-prefix

Package Overview
Dependencies
Maintainers
3
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 2.0.0 to 2.1.0

6

index.js

@@ -36,2 +36,8 @@ const postcss = require('postcss')

selector.replaceWith(replacement)
} else if (selector.type === 'pseudo' && selector.value === ':host-context') {
const prefixNode = getPrefixNode(prefix)
const replacement = Selector.selector()
const prevNodes = selector.clone().nodes
replacement.nodes = prevNodes.concat(' ', prefixNode, ', ', prefixNode, prevNodes)
selector.replaceWith(replacement)
}

@@ -38,0 +44,0 @@ })

2

package.json
{
"name": "postcss-prefix",
"version": "2.0.0",
"version": "2.1.0",
"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