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

clamp.js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clamp.js - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

lib/index.js

6

package.json
{
"name": "clamp.js",
"version": "0.2.1",
"version": "0.2.2",
"description": "Returns a function that clamps input values to range [min <= x <= max].",
"main": "index.js",
"browser": "index.js",
"main": "lib/index.js",
"scripts": {

@@ -12,2 +11,3 @@ "test": "node test/test.main.js | tap-spec",

"major": "npm version major && npm publish",
"prepublish": "babel index.js --out-file lib/index.js",
"postpublish": "git push origin master --follow-tags"

@@ -14,0 +14,0 @@ },

Sorry, the diff of this file is not supported yet

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