diablo2-data
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -0,1 +1,4 @@ | ||
## 1.4.0 | ||
* Implement inventory extension enum (pod only) | ||
## 1.3.0 | ||
@@ -2,0 +5,0 @@ * Add item enums (move from diablo2-protocol) |
const diabloDataToNode = require('./lib/loader') | ||
const itemEnums = require('./lib/item') | ||
const fs = require('fs') | ||
@@ -23,2 +22,3 @@ | ||
module.exports = function (diabloVersion) { | ||
const itemEnums = require(`./data/${diabloVersion}/item`) | ||
const diabloData = { | ||
@@ -25,0 +25,0 @@ npcs: loadCsv(`${__dirname}/data/${diabloVersion}/monster_names.txt`, '\t', ['name']), |
{ | ||
"name": "diablo2-data", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Expose Diablo 2 data in NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2905983
731
2