Skip to content

Commit

Permalink
Make react-native-cli work. Fixes #162.
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Nov 9, 2021
1 parent 5edfd96 commit 24eeed9
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 34 deletions.
56 changes: 28 additions & 28 deletions docs/example/bundle-wp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cbor-bigdecimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"bignumber.js": "^9.0.1",
"webpack": "^5.62.1",
"webpack": "^5.62.2",
"webpack-cli": "^4.9.1"
}
}
2 changes: 1 addition & 1 deletion packages/cbor-rn-prereqs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function patchGlobal(g) {
fixes.push('nextTick')
}

if (g.TextEncoder === undefined) {
if (g.TextDecoder === undefined) {
const TextDecoder = require('@cto.af/textdecoder')
g.TextDecoder = TextDecoder
fixes.push('TextDecoder')
Expand Down
2 changes: 1 addition & 1 deletion packages/cbor-rn-prereqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"author": "Joe Hildebrand <joe-github@cursive.net>",
"license": "MIT",
"dependencies": {
"@cto.af/textdecoder": "^0.0.0",
"@cto.af/textdecoder": "^0.0.1",
"big-integer": "^1.6.50",
"buffer": "^6.0.3",
"events": "^3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cbor-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"stream-browserify": "^3.0.0",
"string_decoder": "^1.3.0",
"util-deprecate": "^1.0.2",
"webpack": "^5.62.1",
"webpack": "^5.62.2",
"webpack-cli": "^4.9.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"directory": "packages/webpack-demo"
},
"devDependencies": {
"@cto.af/textdecoder": "^0.0.0",
"@cto.af/textdecoder": "^0.0.1",
"base64-js": "^1.5.1",
"bignumber.js": "^9.0.1",
"buffer": "*",
Expand All @@ -37,7 +37,7 @@
"string_decoder": "^1.3.0",
"style-loader": "^3.3.1",
"util-deprecate": "^1.0.2",
"webpack": "^5.62.1",
"webpack": "^5.62.2",
"webpack-cli": "^4.9.1"
},
"engines": {
Expand Down

0 comments on commit 24eeed9

Please sign in to comment.