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

ample

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

ample - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

global.js

@@ -5,4 +5,9 @@ function floor(scope, args){

function random(scope, args){
return Math.random();
}
module.exports = {
floor: floor
floor: floor,
random: random
};

2

package.json
{
"name": "ample",
"version": "1.0.3",
"version": "1.0.4",
"main": "ample.js",

@@ -5,0 +5,0 @@ "directories": {

@@ -54,2 +54,6 @@ var test = require('grape'),

});
test("random()", function (t) {
t.plan(1);
t.ok(!isNaN(ample.evaluate(t.name)));
});
test("var a = 5; floor(a / 2)", function (t) {

@@ -56,0 +60,0 @@ t.plan(1);

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