Skip to content

Commit

Permalink
fix: added textencoding polyfill (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesog authored Nov 29, 2022
1 parent a009c5f commit e2edea6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"dependencies": {
"axios": "^1.1.3",
"fast-text-encoding": "^1.0.6",
"qrcode": "^1.5.1"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/crc.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'fast-text-encoding';
import numToHex from './utils/numToHex';

const crcTable = [
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2124,6 +2124,11 @@ fast-levenshtein@^2.0.6:
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=

fast-text-encoding@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz#0aa25f7f638222e3396d72bf936afcf1d42d6867"
integrity sha512-VhXlQgj9ioXCqGstD37E/HBeqEGV/qOD/kmbVG8h5xKBYvM1L3lR1Zn4555cQ8GkYbJa8aJSipLPndE1k6zK2w==

fastest-levenshtein@^1.0.12:
version "1.0.12"
resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2"
Expand Down

0 comments on commit e2edea6

Please sign in to comment.