New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

avo-assert-js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avo-assert-js - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

24

index.js

@@ -60,1 +60,25 @@ exports.assertString = function assertString(propName, str) {

};
exports.assertMax = function assertMax(propName, max, value) {
if (value > max) {
console.warn(
propName,
'has a maximum value of',
max,
'but you provided the value',
JSON.stringify(value)
);
}
};
exports.assertMin = function assertMin(propName, min, value) {
if (value < min) {
console.warn(
propName,
'has a minimum value of',
min,
'but you provided the value',
JSON.stringify(value)
);
}
};

2

package.json
{
"name": "avo-assert-js",
"version": "1.0.0",
"version": "1.1.0",
"main": "index.js",
"license": "MIT"
}
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