Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var util = require('util');
var md = require('node-md-config');
var dsUtil = require('../lib/_utils.js');
var nodes = require('warframe-worldstate-data').solNodes;
var modifiers = require('warframe-worldstate-data').fissureModifiers;
/**
* Create a new void fissures list
*
* @constructor
* @param {object} data VoidFissure data
*/
var VoidFissures = function(data) {
this.voidFissures = [];
for (var index = 0; index < data.length; index++){
this.voidFissures.push(new VoidFissure(data[index]));
}
if(this.voidFissures.length > 0){
this.voidFissures.sort(function(a, b){
if(a.tierNum > b.tierNum)
return 1;