feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
18
api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/fetch.js
generated
vendored
Normal file
18
api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/fetch.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports._fetchInternals = void 0;
|
||||
exports.fetch = fetch;
|
||||
/**
|
||||
* A simple method for requesting data via standard `fetch`. Should work
|
||||
* across multiple runtimes.
|
||||
*/
|
||||
function fetch(url) {
|
||||
return exports._fetchInternals.stubThis(url);
|
||||
}
|
||||
/**
|
||||
* Make it possible to stub the return value during testing
|
||||
* @ignore Don't include this in docs output
|
||||
*/
|
||||
exports._fetchInternals = {
|
||||
stubThis: (url) => globalThis.fetch(url),
|
||||
};
|
||||
Reference in New Issue
Block a user