@hyperfixi/core 2.2.0 → 2.2.1

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.
@@ -1,2 +1,2 @@
1
- export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,b as detectFeatures,e as evalHyperScript,c as evalHyperScriptAsync,f as evalHyperScriptSmart,g as getLoadedFeatures,i as hyperscript,j as isFeatureLoaded,l as loadRequiredFeatures,p as preloadDocumentFeatures,k as preloadFeatures,s as styleBatcher,t as tailwindExtension,m as tokenize}from"./chunks/browser-modular-BA3JFmkq.js";import"./chunks/feature-sockets-ClOH7vk7.js";
1
+ export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,b as detectFeatures,e as evalHyperScript,c as evalHyperScriptAsync,f as evalHyperScriptSmart,g as getLoadedFeatures,i as hyperscript,j as isFeatureLoaded,l as loadRequiredFeatures,p as preloadDocumentFeatures,k as preloadFeatures,s as styleBatcher,t as tailwindExtension,m as tokenize}from"./chunks/browser-modular-B7Bb-ABs.js";import"./chunks/feature-sockets-ClOH7vk7.js";
2
2
  //# sourceMappingURL=hyperfixi.mjs.map
package/dist/index.js CHANGED
@@ -455,7 +455,8 @@ function tokenize$1(input) {
455
455
  prevToken.value === '{' ||
456
456
  prevToken.value === ',' ||
457
457
  prevToken.value === ';';
458
- if (isCSSSelectorContext && isAlpha(peek(tokenizer))) {
458
+ const isAdjacentToPrev = prevToken && prevToken.end === tokenizer.position;
459
+ if (isCSSSelectorContext && !isAdjacentToPrev && isAlpha(peek(tokenizer))) {
459
460
  tokenizeCSSSelector(tokenizer);
460
461
  continue;
461
462
  }