single-file-core 1.5.54 → 1.5.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -415,7 +415,7 @@ function collectDeclarationItemsForElement(element, docContext) {
415
415
  const declarations = cssRule.block.children;
416
416
  for (let declaration = declarations.head; declaration; declaration = declaration.next) {
417
417
  const { type, value } = declaration.data;
418
- if (type === DECLARATION_TYPE && value && value.type !== RAW_TYPE) {
418
+ if (type === DECLARATION_TYPE && value) {
419
419
  const isRawValue = value.type === RAW_TYPE;
420
420
  const isVendorValue = value.type === VALUE_TYPE && hasChildNodes(value) && value.children.head.data.name && value.children.head.data.name.startsWith(VENDOR_PREFIX);
421
421
  const isInvalidValue = value.type === VALUE_TYPE && hasChildNodes(value) && value.children.head.data.name && INVALID_CSS_ESCAPE_TEST.test(value.children.head.data.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.54",
3
+ "version": "1.5.55",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",