@emmetio/css-abbreviation
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -16,10 +16,3 @@ 'use strict'; | ||
while (!scanner.eof()) { | ||
token = field(scanner) | ||
|| numberValue(scanner) | ||
|| colorValue(scanner) | ||
|| stringValue(scanner) | ||
|| bracket(scanner) | ||
|| operator(scanner) | ||
|| whiteSpace(scanner) | ||
|| literal(scanner, brackets === 0 && !isValue); | ||
token = getToken(scanner, brackets === 0 && !isValue); | ||
if (!token) { | ||
@@ -598,2 +591,3 @@ throw scanner.error('Unexpected character'); | ||
exports.getToken = getToken; | ||
exports.parser = parser; | ||
exports.tokenize = tokenize; |
@@ -9,10 +9,3 @@ import Scanner, { isNumber, isAlpha, isAlphaWord, isQuote, isSpace, isAlphaNumericWord, ScannerError } from '@emmetio/scanner'; | ||
while (!scanner.eof()) { | ||
token = field(scanner) | ||
|| numberValue(scanner) | ||
|| colorValue(scanner) | ||
|| stringValue(scanner) | ||
|| bracket(scanner) | ||
|| operator(scanner) | ||
|| whiteSpace(scanner) | ||
|| literal(scanner, brackets === 0 && !isValue); | ||
token = getToken(scanner, brackets === 0 && !isValue); | ||
if (!token) { | ||
@@ -590,2 +583,2 @@ throw scanner.error('Unexpected character'); | ||
export default parse; | ||
export { getToken, tokenize }; | ||
export { getToken, parser, tokenize }; |
import tokenize, { getToken, AllTokens } from './tokenizer'; | ||
import { CSSProperty, ParseOptions } from './parser'; | ||
export { tokenize, getToken }; | ||
import parser, { CSSProperty, ParseOptions } from './parser'; | ||
export { tokenize, getToken, parser }; | ||
export * from './tokenizer/tokens'; | ||
@@ -5,0 +5,0 @@ export { CSSProperty, CSSValue, ParseOptions, FunctionCall, Value } from './parser'; |
{ | ||
"name": "@emmetio/css-abbreviation", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Parses Emmet CSS abbreviation into AST tree", | ||
@@ -46,3 +46,3 @@ "main": "./dist/css-abbreviation.cjs.js", | ||
}, | ||
"gitHead": "bbdc99c112f8aa245d18d802497ef030ceba68b6" | ||
"gitHead": "b930c88a1c90af11f42fc9622d0712efc10bc454" | ||
} |
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
43314
1309