Skip to content

Commit

Permalink
Convert http-range-fetcher to @gmod/http-range-fetcher for buffer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jun 21, 2024
1 parent 5f620ff commit 27c3028
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"dependencies": {
"@babel/runtime": "^7.17.9",
"@gmod/bgzf-filehandle": "^1.4.3",
"@gmod/http-range-fetcher": "^3.0.0",
"@mui/icons-material": "^5.0.1",
"@mui/x-data-grid": "^7.0.0",
"@types/clone": "^2.0.0",
Expand All @@ -47,7 +48,6 @@
"escape-html": "^1.0.3",
"fast-deep-equal": "^3.1.3",
"generic-filehandle": "^3.0.0",
"http-range-fetcher": "^2.0.0",
"is-object": "^1.0.1",
"jexl": "^2.3.0",
"librpc-web-mod": "^1.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/util/io/RemoteFileWithRangeCache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HttpRangeFetcher } from 'http-range-fetcher'
import { HttpRangeFetcher } from '@gmod/http-range-fetcher'
import { Buffer } from 'buffer'
import { RemoteFile, PolyfilledResponse } from 'generic-filehandle'

Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2251,6 +2251,14 @@
dependencies:
stream-browserify "^3.0.0"

"@gmod/http-range-fetcher@^3.0.0":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@gmod/http-range-fetcher/-/http-range-fetcher-3.0.3.tgz#eda1c9f5f2399ce95e947e05c464d8f8f910b6a2"
integrity sha512-VKFgGq+hBDNQzbyUgCLpNlzGJnHofUEUMyk9UX2dlNHpyif6mTXVAAAMs6cHI1z9L2bJTivZ23GyOvzaxEI8XQ==
dependencies:
abortcontroller-polyfill "^1.2.9"
quick-lru "^4.0.0"

"@gmod/indexedfasta@^2.0.2":
version "2.1.1"
resolved "https://registry.yarnpkg.com/@gmod/indexedfasta/-/indexedfasta-2.1.1.tgz#aa8eaf6be21f634f11da90dd8494f3df5ed7e50d"
Expand Down Expand Up @@ -10528,14 +10536,6 @@ http-proxy@^1.18.1:
follow-redirects "^1.0.0"
requires-port "^1.0.0"

http-range-fetcher@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/http-range-fetcher/-/http-range-fetcher-2.0.0.tgz#3d09e677531f86dd90ad58fdeb0cf3bc874490d2"
integrity sha512-uR82f/nXKwSMJkLlvQU5KTpSFGldq1Ilwc5mEDwSjpW1JAQQ2NlruSwwteUZTH2+WRbdrZS6iGCDXxaSTuE9OQ==
dependencies:
abortcontroller-polyfill "^1.2.9"
quick-lru "^4.0.0"

http2-wrapper@^1.0.0-beta.5.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d"
Expand Down

0 comments on commit 27c3028

Please sign in to comment.