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

five

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

five - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

test.js

15

index.js

@@ -1,3 +0,14 @@

module.exports = function() {
return 5;
var five = function() { return 5; };
module.exports = five;
five.upHigh = function() { return '⁵'; };
five.downLow = function() { return '₅'; };
five.tooSlow = function() {
var returnIn = new Date(new Date().valueOf() + 555);
do {} while(new Date() < returnIn);
return five();
};

4

package.json
{
"name": "five",
"version": "0.0.1",
"version": "0.1.0",
"description": "Gives you five",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "node test && echo ✔"
},

@@ -9,0 +9,0 @@ "repository": {

@@ -31,2 +31,7 @@ # five.js

##### Different sorts of 5
five.upHigh() // ⁵
five.downLow() // ₅
five.tooSlow() // 5, with a ~500 millisecond delay
### Development

@@ -40,9 +45,4 @@ ##### The code

##### Tests
The tests are written with `mocha` and can be run with
```
mocha
```
or
```
npm test
```
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