Skip to content

Commit

Permalink
Build fixes for npm 7
Browse files Browse the repository at this point in the history
  • Loading branch information
jefff committed Apr 24, 2021
1 parent 34d8eec commit bcafbf6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"fs-extra": "^4.0.1",
"jest": "^23.1.0",
"rimraf": "^2.6.2",
"ts-jest": "^20.0.14",
"ts-jest": "^23.0.4",
"ts-node": "^3.3.0",
"tslint": "^5.7.0",
"typescript": "^2.5.2",
Expand All @@ -47,6 +47,15 @@
],
"transform": {
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"globals": {
"ts-jest": {
"tsConfig": {
"noImplicitAny": false,
"lib": ["es2015"],
"types": ["jest", "node"]
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/decoder/decodeData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function decode(data: Uint8ClampedArray, version: number): DecodedQR {
text: "",
bytes: [],
chunks: [],
version: version,
version,
};

while (stream.available() >= 4) {
Expand Down

0 comments on commit bcafbf6

Please sign in to comment.