Comparing version 2.2.0 to 2.2.1
@@ -1,1 +0,1 @@ | ||
export const version = "2.2.0"; | ||
export const version = "2.2.1"; |
@@ -285,3 +285,9 @@ import { SyntaxReferenceError, SyntaxMatchError } from './error.js'; | ||
return matchSyntax(this, this.getAtrule(atruleName).prelude, prelude || '', false); | ||
const atrule = this.getAtrule(atruleName); | ||
if (!atrule.prelude) { | ||
return buildMatchResult(null, null); | ||
} | ||
return matchSyntax(this, atrule.prelude, prelude || '', false); | ||
} | ||
@@ -288,0 +294,0 @@ matchAtruleDescriptor(atruleName, descriptorName, value) { |
{ | ||
"name": "css-tree", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1155242
22282