Skip to content

Commit 4094c44

Browse files
authoredJul 8, 2020
Resolve vulnerability by updating async to 3.2.0 version (#420)
* Resolve vulnerability by updating async to 3.2.0 version https://github.com/Siemienik/xlsx-renderer/issues/24 #419 exceljs/exceljs#1250 * Update lock file https://github.com/Siemienik/xlsx-renderer/issues/24 #419 exceljs/exceljs#1250
1 parent a9ca639 commit 4094c44

File tree

3 files changed

+331
-333
lines changed

3 files changed

+331
-333
lines changed
 

‎lib/core.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ var Archiver = function(format, options) {
5050
this._fsEntriesProcessedBytes = 0;
5151

5252
this._queue = async.queue(this._onQueueTask.bind(this), 1);
53-
this._queue.drain = this._onQueueDrain.bind(this);
53+
this._queue.drain(this._onQueueDrain.bind(this));
5454

5555
this._statQueue = async.queue(this._onStatQueueTask.bind(this), options.statConcurrency);
56-
this._statQueue.drain = this._onQueueDrain.bind(this);
56+
this._statQueue.drain(this._onQueueDrain.bind(this));
5757

5858
this._state = {
5959
aborted: false,

‎package-lock.json

+328-330
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"dependencies": {
3232
"archiver-utils": "^2.1.0",
33-
"async": "^2.6.3",
33+
"async": "^3.2.0",
3434
"buffer-crc32": "^0.2.1",
3535
"glob": "^7.1.6",
3636
"readable-stream": "^3.6.0",

0 commit comments

Comments
 (0)
Please sign in to comment.