Socket
Socket
Sign inDemoInstall

postcss

Package Overview
Dependencies
3
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.3 to 3.0.4

3

ChangeLog.md

@@ -0,1 +1,4 @@

## 3.0.4
* Fix Safe Mode on unknown word before declaration.
## 3.0.3

@@ -2,0 +5,0 @@ * Increase tokenizer speed (by Roman Dvornov).

8

lib/parser.js

@@ -182,8 +182,10 @@ "use strict";

token = tokens.shift();
node.between += token[1];
if (token[0] == ":") {
node.between += token[1];
break;
} else if (token[0] != "space" && token[0] != "comment") {
this.unknownWord(node, token);
this.unknownWord(node, token, tokens);
} else {
node.between += token[1];
}

@@ -325,3 +327,3 @@ }

node.before += node.prop + node.between;
node.prop = tokens.shift()[1];
node.prop = token[1];
node.between = "";

@@ -328,0 +330,0 @@ } else {

{
"name": "postcss",
"version": "3.0.3",
"version": "3.0.4",
"description": "Framework for CSS postprocessors with full source map support",

@@ -5,0 +5,0 @@ "keywords": [

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