diff --git a/app/Xnb/Readers/Texture2DReader.js b/app/Xnb/Readers/Texture2DReader.js
index 1756318..988189b 100644
--- a/app/Xnb/Readers/Texture2DReader.js
+++ b/app/Xnb/Readers/Texture2DReader.js
@@ -2,7 +2,7 @@ const BaseReader = require('./BaseReader');
const BufferReader = require('../../BufferReader');
const Int32Reader = require('./Int32Reader');
const UInt32Reader = require('./UInt32Reader');
-const dxt = require('dxt');
+const dxt = require('dxt-js');
const Log = require('../../Log');
const XnbError = require('../../XnbError');
diff --git a/package-lock.json b/package-lock.json
index 3d32054..c8705a9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "xnbcli",
- "version": "1.0.3",
+ "version": "1.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -27,6 +27,20 @@
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
},
+ "base64-js": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
+ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
+ },
+ "buffer": {
+ "version": "5.4.3",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.4.3.tgz",
+ "integrity": "sha512-zvj65TkFeIt3i6aj5bIvJDzjjQQGs4o/sNoezg1F1kYap9Nu2jcUdpwzRSJTHMMzG0H7bZkn4rNQpImhuxWX2A==",
+ "requires": {
+ "base64-js": "^1.0.2",
+ "ieee754": "^1.1.4"
+ }
+ },
"cacheable-request": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.0.0.tgz",
@@ -94,13 +108,10 @@
"resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
"integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
},
- "dxt": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/dxt/-/dxt-1.0.1.tgz",
- "integrity": "sha512-8X5KFe+ErroNXnMu6+a90nZlt+cmOQZpJGZ9Ca4ThaEooLscvw+72Ez3L4Itf9v1rq3tUPS1YP/Ybpb5kBtCYA==",
- "requires": {
- "nan": "^2.8.0"
- }
+ "dxt-js": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/dxt-js/-/dxt-js-0.0.3.tgz",
+ "integrity": "sha512-qNBx0i5/ICyNFO7rs5ZothChgfFD408dg/ZBBfWFXDy0xeDQ86t91QUZxj5WqeUzZQ/+PPtjTUC0w3mS+198jg=="
},
"end-of-stream": {
"version": "1.4.1",
@@ -159,6 +170,11 @@
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz",
"integrity": "sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew=="
},
+ "ieee754": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
+ "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
+ },
"json-buffer": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
@@ -178,13 +194,14 @@
"integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
},
"lz4": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/lz4/-/lz4-0.6.0.tgz",
- "integrity": "sha512-J2ZqNFyNfW7f0kPRRmuXmn3toy0ZLmLJFxVyVDUGaNNvUqI3J+eiAVRmN4tAX/xUASFg3voCPNCCVK27HxtEkw==",
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/lz4/-/lz4-0.6.3.tgz",
+ "integrity": "sha512-NEs7p58fnU69P6mGl1slL5I+FVhYIUXXfZRXNBIFvmTkEsHh+TMpO1BPcQREwFpThHNC5wa61d7vQdZ0zz9aUg==",
"requires": {
- "cuint": "^0.2.0",
- "nan": "^2.0.9",
- "xxhashjs": "^0.1.1"
+ "buffer": "^5.2.1",
+ "cuint": "^0.2.2",
+ "nan": "^2.13.2",
+ "xxhashjs": "^0.2.2"
}
},
"mimic-response": {
@@ -206,9 +223,9 @@
}
},
"nan": {
- "version": "2.8.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz",
- "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo="
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
},
"normalize-url": {
"version": "3.3.0",
@@ -295,18 +312,11 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xxhashjs": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.1.1.tgz",
- "integrity": "sha1-oDzhvjopRqHTH+zgwYly+L0uRk8=",
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz",
+ "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==",
"requires": {
"cuint": "^0.2.2"
- },
- "dependencies": {
- "cuint": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz",
- "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs="
- }
}
}
}
diff --git a/package.json b/package.json
index f95cc4d..32a436f 100644
--- a/package.json
+++ b/package.json
@@ -15,9 +15,9 @@
"chalk": "^1.1.3",
"commander": "^2.19.0",
"compare-versions": "^3.4.0",
- "dxt": "^1.0.0",
+ "dxt-js": "^0.0.3",
"got": "^9.6.0",
- "lz4": "^0.6.0",
+ "lz4": "^0.6.3",
"mkdirp": "^0.5.1",
"pngjs": "^2.2.0",
"walk": "^2.3.14"