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

evjs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evjs - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

6

dist/generation/generation.js

@@ -64,4 +64,6 @@ "use strict";

if (this.config.keepFittest) {
generation.individuals.push(individuals[0]);
generation.individuals.push(individuals[0].evolve());
const individual = Math.random() <= this.config.mutation
? individuals[0].evolve()
: individuals[0];
generation.individuals.push(individual);
}

@@ -68,0 +70,0 @@ const select = new utils_1.Select(this.config.optimize);

{
"name": "evjs",
"version": "0.2.5",
"version": "0.2.6",
"description": "Generic genetic/evolution algorithm in JS",

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

Sorry, the diff of this file is not supported yet

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