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

azl

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azl - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

6

index.js

@@ -40,9 +40,5 @@ function HelloWorld() {

function validate(n) {
return Number.isInteger(n)
}
function randomNumber(n) {
if(!n) callback(new Error("The input doesn't have number!"));
if(!validate(n)) callback(new Error("The input is not a number!"));
if(!Number.isInteger(n)) callback(new Error("The input is not a number!"));

@@ -49,0 +45,0 @@ var number = Math.floor(Math.random() * n) + 1;

2

package.json
{
"name": "azl",
"version": "2.1.0",
"version": "2.2.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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