File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1460,7 +1460,7 @@ var constants$2 = {
1460
1460
Z_DATA_ERROR : - 3 ,
1461
1461
Z_MEM_ERROR : - 4 ,
1462
1462
Z_BUF_ERROR : - 5 ,
1463
- // Z_VERSION_ERROR: -6,
1463
+ Z_VERSION_ERROR : - 6 ,
1464
1464
1465
1465
/* compression levels */
1466
1466
Z_NO_COMPRESSION : 0 ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export const codes = Object.freeze({
34
34
[ binding . Z_DATA_ERROR ] : "Z_DATA_ERROR" ,
35
35
[ binding . Z_MEM_ERROR ] : "Z_MEM_ERROR" ,
36
36
[ binding . Z_BUF_ERROR ] : "Z_BUF_ERROR" ,
37
- [ binding . Z_VERSION_ERRO ] : "Z_VERSION_ERROR" ,
37
+ [ binding . Z_VERSION_ERROR ] : "Z_VERSION_ERROR" ,
38
38
} ) ;
39
39
40
40
export const createDeflate = function ( o ) {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export const Z_STREAM_ERROR = constants.Z_STREAM_ERROR;
22
22
export const Z_DATA_ERROR = constants . Z_DATA_ERROR ;
23
23
export const Z_MEM_ERROR = constants . Z_MEM_ERROR ;
24
24
export const Z_BUF_ERROR = constants . Z_BUF_ERROR ;
25
+ export const Z_VERSION_ERROR = constants . Z_VERSION_ERROR ;
25
26
export const Z_NO_COMPRESSION = constants . Z_NO_COMPRESSION ;
26
27
export const Z_BEST_SPEED = constants . Z_BEST_SPEED ;
27
28
export const Z_BEST_COMPRESSION = constants . Z_BEST_COMPRESSION ;
You can’t perform that action at this time.
0 commit comments