static-params
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "static-params", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "A general purpose utility to allow interpolation values as static parts of a template literal tag", | ||
@@ -41,2 +41,6 @@ "main": "./cjs/index.js", | ||
}, | ||
"./sql": { | ||
"import": "./esm/sql.js", | ||
"default": "./cjs/sql.js" | ||
}, | ||
"./strict": { | ||
@@ -43,0 +47,0 @@ "import": "./esm/strict.js", |
@@ -88,3 +88,3 @@ # static-params | ||
If none of the static parts of a template are ever going to change, the `static-params/strict` export is identical in behavior, but it's much faster thanks to its 1:1 relation with the template, so that dynamic values are mapped once and never gain per same template content. | ||
If none of the static parts of a template are ever going to change, the `static-params/strict` export is identical in behavior, but it's much faster thanks to its 1:1 relation with the template, so that dynamic values are mapped once, and never again, per same template content. | ||
@@ -91,0 +91,0 @@ That is: default behavior loops over template and interpolation every single time, the `strict` variant does that only once. |
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
14252
13
204