Skip to content

Commit

Permalink
Support Buffer type for React Native (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
korya committed Oct 24, 2023
1 parent d3f0948 commit 366995f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 9 deletions.
40 changes: 31 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"*.d.ts"
],
"dependencies": {
"buffer": "^6.0.3",
"react-native-fs": "^2.20.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions tar-extractor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import RNFS from 'react-native-fs';
import { Buffer } from 'buffer';

export class TarExtractor {
blockSize = 512;
Expand Down

0 comments on commit 366995f

Please sign in to comment.