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

postcss-value-parser

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-value-parser - npm Package Compare versions

Comparing version 1.4.2 to 2.0.0

0

lib/parser.js

@@ -0,0 +0,0 @@ var tokenize = require('./tokenize');

32

lib/tokenize.js

@@ -46,6 +46,6 @@ 'use strict';

} while (code === space ||
code === newline ||
code === tab ||
code === cr ||
code === feed);
code === newline ||
code === tab ||
code === cr ||
code === feed);
if (last && last.type === 'div') {

@@ -117,25 +117,2 @@ last.after = value.slice(pos, next);

case backslash:
next = pos;
escape = true;
while (value.charCodeAt(next + 1) === backslash) {
next += 1;
escape = !escape;
}
code = value.charCodeAt(next + 1);
if (escape && code !== slash &&
code !== space &&
code !== newline &&
code !== tab &&
code !== cr &&
code !== feed) {
next += 1;
}
tokens.push({
type: 'word',
value: value.slice(pos, next + 1)
});
pos = next;
break;
default:

@@ -151,3 +128,2 @@ next = pos;

code !== doubleQuote &&
code !== backslash &&
code !== slash &&

@@ -154,0 +130,0 @@ code !== newline &&

@@ -0,0 +0,0 @@ module.exports = function (nodes) {

2

package.json
{
"name": "postcss-value-parser",
"version": "1.4.2",
"version": "2.0.0",
"description": "Transforms css values and at-rule params into the tree",

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

@@ -0,0 +0,0 @@ [![Travis CI](https://travis-ci.org/TrySound/postcss-value-parser.svg)](https://travis-ci.org/TrySound/postcss-value-parser)

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