Socket
Socket
Sign inDemoInstall

css-what

Package Overview
Dependencies
0
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 6.0.1

3

lib/commonjs/parse.js

@@ -398,3 +398,4 @@ "use strict";

}
if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */) {
if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */ &&
selector.charCodeAt(selectorIndex + 1) !== 124 /* Pipe */) {
namespace = name_3;

@@ -401,0 +402,0 @@ if (selector.charCodeAt(selectorIndex + 1) ===

@@ -393,3 +393,4 @@ import { SelectorType, AttributeAction, } from "./types";

}
if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */) {
if (selector.charCodeAt(selectorIndex) === 124 /* Pipe */ &&
selector.charCodeAt(selectorIndex + 1) !== 124 /* Pipe */) {
namespace = name;

@@ -396,0 +397,0 @@ if (selector.charCodeAt(selectorIndex + 1) ===

@@ -5,3 +5,3 @@ {

"description": "a CSS selector parser",
"version": "6.0.0",
"version": "6.0.1",
"funding": {

@@ -36,3 +36,3 @@ "url": "https://github.com/sponsors/fb55"

"@types/jest": "^27.0.3",
"@types/node": "^17.0.4",
"@types/node": "^17.0.5",
"@typescript-eslint/eslint-plugin": "^5.8.0",

@@ -39,0 +39,0 @@ "@typescript-eslint/parser": "^5.8.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc