madden-franchise 2.5.2 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/FranchiseFile.js +2 -2
  2. package/package.json +1 -1
package/FranchiseFile.js CHANGED
@@ -339,11 +339,11 @@ function unpackFile (data, type) {
339
339
  function _packFile (data, options) {
340
340
  return new Promise((resolve, reject) => {
341
341
  if (options && options.sync) {
342
- const data = zlib.deflateSync(data, {
342
+ const newData = zlib.deflateSync(data, {
343
343
  windowBits: 15
344
344
  });
345
345
 
346
- resolve(data);
346
+ resolve(newData);
347
347
  }
348
348
  else {
349
349
  zlib.deflate(data, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "madden-franchise",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "Tools to read a madden franchise file and get data from it",
5
5
  "main": "FranchiseFile.js",
6
6
  "scripts": {