Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit061e18b

Browse files
authored
Merge branch 'main' into perf/conditional-blob-get
2 parents4f2575b +e536181 commit061e18b

File tree

4 files changed

+348
-344
lines changed

4 files changed

+348
-344
lines changed

‎e2e-report/package-lock.json‎

Lines changed: 32 additions & 33 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎edge-runtime/shim/node.js‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
// NOTE: This is a fragment of a JavaScript program that will be inlined with
22
// a Webpack bundle. You should not import this file from anywhere in the
33
// application.
4-
import{AsyncLocalStorage}from'node:async_hooks'
5-
64
import{createRequire}from'node:module'// used in dynamically generated part
7-
importprocessfrom'node:process'
85

96
import{registerCJSModules}from'../edge-runtime/lib/cjs.ts'// used in dynamically generated part
107

11-
globalThis.process=process
8+
if(typeofprocess==='undefined'){
9+
globalThis.process=(awaitimport('node:process')).default
10+
}
11+
12+
if(typeofAsyncLocalStorage==='undefined'){
13+
globalThis.AsyncLocalStorage=(awaitimport('node:async_hooks')).AsyncLocalStorage
14+
}
1215

13-
globalThis.AsyncLocalStorage=AsyncLocalStorage
16+
if(typeofBuffer==='undefined'){
17+
globalThis.Buffer=(awaitimport('node:buffer')).Buffer
18+
}
1419

1520
// needed for path.relative and path.resolve to work
1621
Deno.cwd=()=>''

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp