Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

static-params

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

static-params - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

cjs/sql.js

6

package.json
{
"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",

2

README.md

@@ -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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc