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 0.3.0 to 0.3.1

2

package.json
{
"version": "0.3.0",
"version": "0.3.1",
"name": "average-rating",

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

@@ -28,3 +28,3 @@ /**

let s = rating.join(', ');
assert.deepEqual(actual, expect, `.average([${s}]) should be ${actual}`);
assert.deepEqual(actual, expect, `.average([${s}]) should be ${expect}`);
});

@@ -31,0 +31,0 @@

@@ -28,3 +28,3 @@ /**

let s = rating.join(', ');
assert.deepEqual(actual, expect, `.rage([${s}]) should be ${actual}`);
assert.deepEqual(actual, expect, `.rage([${s}]) should be ${expect}`);
});

@@ -31,0 +31,0 @@

@@ -92,3 +92,3 @@ /**

let actual = Number(AverageRating.score(sample.p, sample.n));
assert.deepEqual(actual, expect, `.score(${sample.p}, ${sample.n}) should be ${actual}`);
assert.deepEqual(actual, expect, `.score(${sample.p}, ${sample.n}) should be ${expect}`);
});

@@ -95,0 +95,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