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

average-rating

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

average-rating - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

5

package.json
{
"version": "1.1.7",
"version": "1.1.8",
"name": "average-rating",

@@ -23,4 +23,3 @@ "description": "Calculate average score and rating based on Wilson Score Equation",

"coveralls": "^3.0.2",
"eslint": "^5.6.0",
"eslint-config-goes": "^1.0.0",
"eslint-config-goes": "^1.1.3",
"tap": "^12.0.1"

@@ -27,0 +26,0 @@ },

8

test/specs/rate/rate.js

@@ -27,4 +27,4 @@ /**

{
input: [3, 4, 2, 6, 12, 46, 134, 213, 116, 91, 45, 15, 58, 96, 1654],
expect: 0.85,
input: [3, 4, 2, 6, 12, 46, 134, 213, 116, 91, 45, 15, 58, 96, 1654],
expect: 0.85,
},

@@ -44,4 +44,4 @@ {

{
input: [125, 166, 17, 290, 400, 310, 1800],
expect: 0.79,
input: [125, 166, 17, 290, 400, 310, 1800],
expect: 0.79,
},

@@ -48,0 +48,0 @@ ];

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