Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
hydrateCacheFromCssString(css, media) {
let decl;
// {
// 1: className,
// 2: pseudo,
// 3: block,
// }
while ((decl = DECL_REGEX.exec(css))) {
super.incrementVirtualCount();
StyletronCore.assignDecl(
this.cache,
{
block: decl[3],
pseudo: decl[2],
media,
},
decl[1]
);
}
}