ant-colony-optimization
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -8,4 +8,3 @@ 'use strict'; | ||
function create() { | ||
const x = state.parameters.initial.x; | ||
const y = state.parameters.initial.y; | ||
const { x, y } = state.parameters.initial; | ||
if (typeof x === 'number' && typeof y === 'number' && x >= 0 && y >= 0 && x < state.width && y < state.height) { | ||
@@ -12,0 +11,0 @@ state.ants.push({ |
{ | ||
"name": "ant-colony-optimization", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "ant colony optimization", | ||
@@ -16,3 +16,7 @@ "main": "src/index.js", | ||
}, | ||
"keywords": ["ant","colony","optimization"], | ||
"keywords": [ | ||
"ant", | ||
"colony", | ||
"optimization" | ||
], | ||
"author": "oprogramador", | ||
@@ -25,2 +29,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.3.3", | ||
"babel-cli": "^6.26.0", | ||
@@ -31,14 +36,14 @@ "babel-core": "^6.26.3", | ||
"babel-register": "^6.26.0", | ||
"chai": "^3.5.0", | ||
"chai-as-promised": "^6.0.0", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-subset": "^1.6.0", | ||
"dirty-chai": "^1.2.2", | ||
"eslint": "^3.19.0", | ||
"eslint-config-airbnb-improved": "^2.3.0", | ||
"eslint-import-resolver-babel-module": "^4.0.0", | ||
"mocha": "^3.5.3", | ||
"sinon": "^2.4.1", | ||
"dirty-chai": "^2.0.1", | ||
"eslint": "^5.14.1", | ||
"eslint-config-airbnb-improved": "^4.0.0", | ||
"eslint-import-resolver-babel-module": "^5.0.1", | ||
"mocha": "^6.0.0", | ||
"sinon": "^7.2.4", | ||
"sinon-as-promised": "^4.0.3", | ||
"sinon-chai": "^2.14.0" | ||
"sinon-chai": "^3.3.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4864
17
93