Comparing version 10.3.0 to 10.4.0
@@ -27,2 +27,4 @@ import { generateCSSRule, generateCSSSupportRule, getRuleScore } from 'fela-utils'; | ||
// This heavily optimises the amount of rule iterations we need | ||
// due to most rules having a score=0 anyways | ||
if (score === 0) { | ||
@@ -36,3 +38,3 @@ if (renderer.scoreIndex[nodeReference] === undefined) { | ||
// we start iterating from the last score=0 entry | ||
// to corretly inject pseudo classes etc. | ||
// to correctly inject pseudo classes etc. | ||
var startIndex = renderer.scoreIndex[nodeReference] || 0; | ||
@@ -39,0 +41,0 @@ |
@@ -38,2 +38,4 @@ 'use strict'; | ||
// This heavily optimises the amount of rule iterations we need | ||
// due to most rules having a score=0 anyways | ||
if (score === 0) { | ||
@@ -47,3 +49,3 @@ if (renderer.scoreIndex[nodeReference] === undefined) { | ||
// we start iterating from the last score=0 entry | ||
// to corretly inject pseudo classes etc. | ||
// to correctly inject pseudo classes etc. | ||
var startIndex = renderer.scoreIndex[nodeReference] || 0; | ||
@@ -50,0 +52,0 @@ |
{ | ||
"name": "fela-dom", | ||
"version": "10.3.0", | ||
"version": "10.4.0", | ||
"description": "Fela package for working with the DOM", | ||
@@ -29,10 +29,10 @@ "main": "lib/index.js", | ||
"fast-loops": "^1.0.1", | ||
"fela-utils": "^10.3.0" | ||
"fela-utils": "^10.4.0" | ||
}, | ||
"devDependencies": { | ||
"fela": "^10.3.0", | ||
"fela-preset-web": "^10.3.0", | ||
"fela-tools": "^10.3.0" | ||
"fela": "^10.4.0", | ||
"fela-preset-web": "^10.4.0", | ||
"fela-tools": "^10.4.0" | ||
}, | ||
"gitHead": "da2a0fc432df47617f017bac488bdb40ecddd2a1" | ||
"gitHead": "a064f897f41a6f60934265b686c53756f4ee71b8" | ||
} |
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
52565
1113
Updatedfela-utils@^10.4.0