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

just-random-integer

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

just-random-integer - npm Package Compare versions

Comparing version 1.0.0 to 2.1.0

index.esm.js

2

index.d.ts
declare function random(lower?: number, upper?: number): number;
export = random;
export default random;

@@ -1,2 +0,2 @@

import random = require('./index');
import random from './index'

@@ -3,0 +3,0 @@ // OK

{
"name": "just-random-integer",
"version": "1.0.0",
"version": "2.1.0",
"description": "Produces an integer between two values",
"type": "commonjs",
"main": "index.js",
"module": "index.esm.js",
"exports": {
".": {
"require": "./index.js",
"default": "./index.esm.js"
}
},
"types": "index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rollup -c"
},

@@ -10,0 +19,0 @@ "repository": "https://github.com/angus-c/just",

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