restrict-imports-loader
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -25,5 +25,6 @@ "use strict"; | ||
const maxClimbs = maxLength / UP_ONE_LEVEL_LENGTH; | ||
const s = maxClimbs === 1 ? "" : "s"; | ||
return Promise.resolve({ | ||
restricted: maxClimbs > levels, | ||
info: `(consecutive "../"s: ${maxClimbs})`, | ||
info: `(contains ${maxClimbs} consecutive occurrence${s} of "../"; max ${levels} allowed)`, | ||
}); | ||
@@ -30,0 +31,0 @@ }; |
{ | ||
"name": "restrict-imports-loader", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "A Webpack loader to restrict imports in ES and TypeScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
43088
588