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

imagine-node

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagine-node - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

index.js

@@ -234,7 +234,8 @@ const { PI } = Math;

const roots = new Array(n);
return roots.map((item, index) => new Complex(
norm * Math.cos(theta + Pi2 * index / n),
norm * Math.sin(theta + Pi2 * index / n)
));
return new Array(n)
.fill(0)
.map((item, index) => new Complex(
norm * Math.cos(theta + Pi2 * index / n),
norm * Math.sin(theta + Pi2 * index / n)
));
}

@@ -241,0 +242,0 @@

{
"name": "imagine-node",
"version": "1.0.0",
"version": "1.0.1",
"description": "node module to work with complex numbers",

@@ -5,0 +5,0 @@ "main": "index.js",

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