mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 20:48:29 +02:00
chore: base
This commit is contained in:
parent
b04d87b14c
commit
e187173d21
425 changed files with 1080881 additions and 5 deletions
13
node_modules/undici/index-fetch.js
generated
vendored
Normal file
13
node_modules/undici/index-fetch.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict'
|
||||
|
||||
const { getGlobalDispatcher } = require('./lib/global')
|
||||
const fetchImpl = require('./lib/fetch')
|
||||
|
||||
module.exports.fetch = async function fetch (resource) {
|
||||
const dispatcher = (arguments[1] && arguments[1].dispatcher) || getGlobalDispatcher()
|
||||
return fetchImpl.apply(dispatcher, arguments)
|
||||
}
|
||||
module.exports.FormData = require('./lib/fetch/formdata').FormData
|
||||
module.exports.Headers = require('./lib/fetch/headers').Headers
|
||||
module.exports.Response = require('./lib/fetch/response').Response
|
||||
module.exports.Request = require('./lib/fetch/request').Request
|
Loading…
Add table
Add a link
Reference in a new issue