This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into fix-broken-navrow
- Loading branch information
Showing
4 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,8 @@ | |
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js | ||
index 3af95cb2dbf1e9fa93d261b030b0b090df507ff7..376e6979c13264d80d96e045ddbba5258d219373 100644 | ||
--- a/lib/_stream_readable.js | ||
+++ b/lib/_stream_readable.js | ||
@@ -169,7 +169,7 @@ function ReadableState(options, stream) { | ||
this.decoder = null; | ||
this.encoding = null; | ||
if (options.encoding) { | ||
- if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; | ||
+ if (!StringDecoder) StringDecoder = require('string_decoder').StringDecoder; | ||
this.decoder = new StringDecoder(options.encoding); | ||
this.encoding = options.encoding; | ||
} | ||
@@ -325,7 +325,7 @@ Readable.prototype.isPaused = function () { | ||
|
||
// backwards compatibility. | ||
Readable.prototype.setEncoding = function (enc) { | ||
- if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; | ||
+ if (!StringDecoder) StringDecoder = require('string_decoder').StringDecoder; | ||
this._readableState.decoder = new StringDecoder(enc); | ||
this._readableState.encoding = enc; | ||
return this; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.