Socket
Socket
Sign inDemoInstall

css-tree

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-tree - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

dist/version.js

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

export const version = "2.0.2";
export const version = "2.0.3";

@@ -31,4 +31,5 @@ import { tokenize } from '../tokenizer/index.js';

fork: function(extension) {
fork(extension) {
const base = mix({}, config); // copy of config
return createSyntax(

@@ -35,0 +36,0 @@ typeof extension === 'function'

@@ -1,2 +0,2 @@

import { Hash } from '../../tokenizer/index.js';
import { Hash, Delim } from '../../tokenizer/index.js';

@@ -22,3 +22,6 @@ export const name = 'IdSelector';

export function generate(node) {
this.token(Hash, '#' + node.name);
// Using Delim instead of Hash is a hack to avoid for a whitespace between ident and id-selector
// in safe mode (e.g. "a#id"), because IE11 doesn't allow a sequence <ident-token> <hash-token>
// without a whitespace in values (e.g. "1px solid#000")
this.token(Delim, '#' + node.name);
}
{
"name": "css-tree",
"version": "2.0.2",
"version": "2.0.3",
"description": "A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations",

@@ -5,0 +5,0 @@ "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc