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

postcss-styl

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-styl - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

10

lib/parser/locations.js

@@ -69,2 +69,12 @@ "use strict"

},
group(sourceCode, node) {
const index = sourceCode.getIndexFromStylusNode(node)
if (sourceCode.text[index] === "}") {
if (node.nodes[0]) {
return this.getStartIndex(sourceCode, node.nodes[0])
}
}
return index
},
selector(sourceCode, node) {

@@ -71,0 +81,0 @@ if (node.segments[0]) {

2

package.json
{
"name": "postcss-styl",
"version": "0.5.5",
"version": "0.5.6",
"description": "PostCSS parser plugin for converting Stylus syntax to PostCSS AST.",

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

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