Skip to content

Commit

Permalink
fix: rollback file-type & long
Browse files Browse the repository at this point in the history
- file-type has an async API from v13 on, more changes would be necessary to update
- long can't be updated to v4 because bytebuffer depends on ~3 (protobufjs/bytebuffer.js#90)
  • Loading branch information
HoldYourWaffle authored and ci010 committed Mar 27, 2020
1 parent 0ee1126 commit f7f963b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 108 deletions.
23 changes: 8 additions & 15 deletions packages/client/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@xmcl/nbt": "file:../nbt",
"@xmcl/text-component": "file:../text-component",
"bytebuffer": "^5.0.1",
"long": "^4.0.0",
"long": "~3",
"uuid": "^7.0.2"
},
"scripts": {
Expand Down
96 changes: 6 additions & 90 deletions packages/nbt/package-lock.json

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

4 changes: 2 additions & 2 deletions packages/nbt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"license": "MIT",
"dependencies": {
"bytebuffer": "^5.0.1",
"file-type": "^14.1.4",
"long": "^4.0.0",
"file-type": "^12.4.2",
"long": "~3",
"pako": "^1.0.10"
},
"bugs": {
Expand Down

0 comments on commit f7f963b

Please sign in to comment.