Socket
Socket
Sign inDemoInstall

postcss-selector-parser

Package Overview
Dependencies
3
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.2.1
* Fixes a crash when the parser encountered a trailing combinator.
# 1.2.0

@@ -2,0 +6,0 @@

4

dist/parser.js

@@ -163,4 +163,4 @@ 'use strict';

});
while (this.position < this.tokens.length && this.currToken[0] === 'space' || this.currToken[0] === 'combinator') {
if (this.nextToken[0] === 'combinator') {
while (this.position < this.tokens.length && this.currToken && (this.currToken[0] === 'space' || this.currToken[0] === 'combinator')) {
if (this.nextToken && this.nextToken[0] === 'combinator') {
combinator.spaces.before = this.currToken[1];

@@ -167,0 +167,0 @@ combinator.source.start.line = this.nextToken[2];

{
"name": "postcss-selector-parser",
"version": "1.2.0",
"version": "1.2.1",
"devDependencies": {

@@ -5,0 +5,0 @@ "babel": "^5.4.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc