Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: disable
nodeIntegrationInWorker
for certain Worker types (#36010)
fix: disable nodeIntegrationInWorker for certain Worker types Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
- Loading branch information
1 parent
cc7822f
commit f232a31
Showing
6 changed files
with
51 additions
and
34 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
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
Empty file.
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,6 @@ | ||
self.clients.matchAll({ includeUncontrolled: true }).then((clients) => { | ||
if (!clients?.length) return; | ||
|
||
const msg = [typeof process, typeof setImmediate, typeof global, typeof Buffer].join(' '); | ||
clients[0].postMessage(msg); | ||
}); |
This file was deleted.
Oops, something went wrong.