MCPcopy Index your code

hub / github.com/eser/fetchp / functions

Functions150 in github.com/eser/fetchp

↓ 18 callersMethodchangeState
(newState: State, skip: number)
src/shims/urlpattern/url-pattern-parser.ts:320
↓ 15 callersMethodtest
(input: string | URLPatternInit = {}, baseURL?: string)
src/shims/urlpattern/url-pattern.ts:495
↓ 14 callersMethodrequest
(method: string, uri: FetchpURI, init?: FetchpRequestInit)
src/fetchp.ts:443
↓ 14 callersFunctiontryConsume
(type: LexToken["type"])
src/shims/urlpattern/path-to-regex-modified.ts:206
↓ 11 callersMethodisNonSpecialPatternChar
(index: number, value: string)
src/shims/urlpattern/url-pattern-parser.ts:397
↓ 9 callersMethodcallHooksWithRequest
( hookType: FetchpHookType, request: Request | undefined, urlConverter: ((uri: FetchpURI) => URL)
src/hook-registry.ts:43
↓ 9 callersMethodmakeComponentString
()
src/shims/urlpattern/url-pattern-parser.ts:489
↓ 9 callersFunctionprocessBaseURLString
(input: string, isPattern: boolean)
src/shims/urlpattern/url-pattern.ts:77
↓ 8 callersMethodexec
(init?: FetchpRequestInit)
src/fetchp.ts:48
↓ 6 callersFunctionErrorOrInvalid
(msg: string)
src/shims/urlpattern/path-to-regex-modified.ts:42
↓ 6 callersMethodadd
( methods: string | string[], requestUrlPattern: string | RegExp | URLPattern, data: T, )
src/uris.ts:23
↓ 6 callersMethodclear
()
src/uris.ts:29
↓ 6 callersFunctionescapePatternString
(value: string)
src/shims/urlpattern/url-pattern.ts:179
↓ 6 callersFunctionescapeString
* Escape a regular expression string.
src/shims/urlpattern/path-to-regex-modified.ts:521
↓ 6 callersMethodisHashPrefix
()
src/shims/urlpattern/url-pattern-parser.ts:469
↓ 5 callersFunctionapplyInit
( o: URLPatternInit, init: URLPatternInit, isPattern: boolean, )
src/shims/urlpattern/url-pattern.ts:88
↓ 5 callersMethodisSearchPrefix
()
src/shims/urlpattern/url-pattern-parser.ts:430
↓ 4 callersMethodrewindAndSetState
(newState: State)
src/shims/urlpattern/url-pattern-parser.ts:381
↓ 3 callersMethodfilter
( method: string, uri: FetchpURI, urlConverter?: (uri: FetchpURI) => URL, )
src/uris.ts:31
↓ 3 callersFunctionflags
* Get the flags for a regexp from the options.
src/shims/urlpattern/path-to-regex-modified.ts:528
↓ 3 callersMethodinternalUrlConverter
( uri: FetchpURI, params?: Record<string, string | undefined>, )
src/fetchp.ts:137
↓ 3 callersMethodisIdentityTerminator
()
src/shims/urlpattern/url-pattern-parser.ts:414
↓ 3 callersMethodisPathnameStart
()
src/shims/urlpattern/url-pattern-parser.ts:426
↓ 3 callersFunctionparse
(str: string, options: ParseOptions = {})
src/shims/urlpattern/path-to-regex-modified.ts:194
↓ 3 callersFunctionpathToRegexp
( path: Path, keys?: Key[], options?: TokensToRegexpOptions & ParseOptions, )
src/shims/urlpattern/path-to-regex-modified.ts:717
↓ 3 callersMethodsafeToken
(index: number)
src/shims/urlpattern/url-pattern-parser.ts:386
↓ 3 callersMethodsetBaseUri
(uri: string | undefined)
src/fetchp.ts:92
↓ 2 callersMethodadd
(hookType: FetchpHookType, func: FetchpHookFn)
src/hook-registry.ts:29
↓ 2 callersMethodcallGlobalHooks
( hookType: FetchpHookType, // deno-lint-ignore no-explicit-any ...params: any[] )
src/hook-registry.ts:38
↓ 2 callersFunctionconsumeText
()
src/shims/urlpattern/path-to-regex-modified.ts:225
↓ 2 callersFunctiondefaultPortForProtocol
(protocol: string | undefined)
src/shims/urlpattern/url-utils.ts:228
↓ 2 callersFunctiondoRequest
()
src/__specs__/fetchp.test.ts:183
↓ 2 callersFunctionextractValues
(url: string, baseURL?: string)
src/shims/urlpattern/url-pattern.ts:60
↓ 2 callersMethodfilterByRequest
( request: Request, urlConverter?: (uri: FetchpURI) => URL, )
src/uris.ts:37
↓ 2 callersMethodinternalEnsureHookItemExists
(hookType: FetchpHookType)
src/hook-registry.ts:59
↓ 2 callersMethodisProtocolSuffix
()
src/shims/urlpattern/url-pattern-parser.ts:405
↓ 2 callersFunctionisSpecialScheme
(protocol_regexp: any)
src/shims/urlpattern/url-utils.ts:116
↓ 2 callersFunctionlexer
(str: string, lenient: boolean = false)
src/shims/urlpattern/path-to-regex-modified.ts:35
↓ 2 callersFunctionmaybeStripPrefix
(value: string, prefix: string)
src/shims/urlpattern/url-utils.ts:74
↓ 2 callersFunctionmustConsume
(type: LexToken["type"])
src/shims/urlpattern/path-to-regex-modified.ts:218
↓ 2 callersMethodrewind
()
src/shims/urlpattern/url-pattern-parser.ts:376
↓ 2 callersFunctiontokensToRegexp
( tokens: Token[], keys?: Key[], options: TokensToRegexpOptions = {}, )
src/shims/urlpattern/path-to-regex-modified.ts:630
↓ 2 callersFunctiontreatAsIPv6Hostname
(value: string | undefined)
src/shims/urlpattern/url-utils.ts:88
↓ 2 callersFunctiontryConsumeModifier
()
src/shims/urlpattern/path-to-regex-modified.ts:210
↓ 2 callersFunctionuseFetchpBuilder
( fetchpInstance: FetchpInterface, )
src/use-fetchp.ts:11
↓ 1 callersMethodadd
( methods: string | string[], requestUrlPattern: string | RegExp | URLPattern, response: Response
src/mock-registry.ts:14
↓ 1 callersMethodaddForUrl
( hookType: FetchpHookType, methods: string | string[], requestUrlPattern: string | RegExp | URLPa
src/hook-registry.ts:30
↓ 1 callersFunctionarrayToRegexp
* Transform an array into a regexp.
src/shims/urlpattern/path-to-regex-modified.ts:576
↓ 1 callersFunctioncanonicalizeHash
(hash: string, isPattern: boolean)
src/shims/urlpattern/url-utils.ts:128
↓ 1 callersFunctioncanonicalizeHostname
(hostname: string, isPattern: boolean)
src/shims/urlpattern/url-utils.ts:148
↓ 1 callersFunctioncanonicalizePassword
(password: string, isPattern: boolean)
src/shims/urlpattern/url-utils.ts:159
↓ 1 callersFunctioncanonicalizePathname
( pathname: string, protocol: string | undefined, isPattern: boolean, )
src/shims/urlpattern/url-utils.ts:177
↓ 1 callersFunctioncanonicalizePort
( port: string, protocol: string | undefined, isPattern: boolean, )
src/shims/urlpattern/url-utils.ts:202
↓ 1 callersFunctioncanonicalizeProtocol
(protocol: string, isPattern: boolean)
src/shims/urlpattern/url-utils.ts:218
↓ 1 callersFunctioncanonicalizeSearch
(search: string, isPattern: boolean)
src/shims/urlpattern/url-utils.ts:138
↓ 1 callersFunctioncanonicalizeUsername
(username: string, isPattern: boolean)
src/shims/urlpattern/url-utils.ts:168
↓ 1 callersMethodchangeStateWithoutSettingComponent
( newState: State, skip: number, )
src/shims/urlpattern/url-pattern-parser.ts:360
↓ 1 callersMethodclear
()
src/cache-registry.ts:9
↓ 1 callersMethodclear
()
src/mock-registry.ts:19
↓ 1 callersMethodcomputeShouldTreatAsStandardURL
()
src/shims/urlpattern/url-pattern-parser.ts:495
↓ 1 callersMethoddata
()
src/fetchp.ts:567
↓ 1 callersMethoderror
()
src/fetchp.ts:563
↓ 1 callersFunctionescapeRegexpString
(value: string)
src/shims/urlpattern/url-pattern.ts:183
↓ 1 callersFunctionfetchData
()
src/use-fetchp.ts:39
↓ 1 callersMethodfilter
( method: string, uri: FetchpURI, urlConverter?: (uri: FetchpURI) => URL, )
src/uris.ts:76
↓ 1 callersMethodfind
( request: Request, urlConverter?: (uri: FetchpURI) => URL, )
src/mock-registry.ts:21
↓ 1 callersFunctionhostnameEncodeCallback
(input: string)
src/shims/urlpattern/url-utils.ts:271
↓ 1 callersMethodinternalAwaiterGenerator
()
src/fetchp.ts:146
↓ 1 callersMethodinternalCacheChecker
(request: Request)
src/fetchp.ts:105
↓ 1 callersMethodinternalDataDeserializer
( response: Response, cacheMode: boolean, )
src/fetchp.ts:118
↓ 1 callersMethodinternalFetcher
(request: Request)
src/fetchp.ts:114
↓ 1 callersMethodinternalLoadStep1CheckState
( status: FetchpStatus, request: Request | undefined, response: Response | undefined, // deno-
src/fetchp.ts:312
↓ 1 callersMethodinternalLoadStep2Deserialization
( status: FetchpStatus, request: Request | undefined, response: Response | undefined, // deno-
src/fetchp.ts:391
↓ 1 callersMethodinternalMockChecker
(request: Request)
src/fetchp.ts:96
↓ 1 callersMethodinternalRequestOnError
( request: Request | undefined, // deno-lint-ignore no-explicit-any error: any, // deno-lint-i
src/fetchp.ts:296
↓ 1 callersMethodinternalRequestStep1InitHeaders
( headers: Headers, init: FetchpRequestInit | undefined, callback: (status: FetchpStatus) => void,
src/fetchp.ts:156
↓ 1 callersMethodinternalRequestStep2InitRequest
( method: string, url: URL, headers: Headers, init: FetchpRequestInit | undefined, abortCo
src/fetchp.ts:176
↓ 1 callersMethodinternalRequestStep3CheckForMocks
( request: Request | undefined, abortController: AbortController, _callback: (status: FetchpStatus
src/fetchp.ts:208
↓ 1 callersMethodinternalRequestStep4CheckForCache
( request: Request | undefined, mockedResponse: Response | undefined, abortController: AbortContro
src/fetchp.ts:227
↓ 1 callersMethodinternalRequestStep5ExecuteRequest
( request: Request | undefined, mockedOrCachedResponse: Response | undefined, init: FetchpRequestI
src/fetchp.ts:248
↓ 1 callersFunctionipv6HostnameEncodeCallback
(input: string)
src/shims/urlpattern/url-utils.ts:283
↓ 1 callersFunctionisASCII
(str: string, extended: boolean)
src/shims/urlpattern/path-to-regex-modified.ts:28
↓ 1 callersFunctionisAbsolutePathname
( pathname: string, isPattern: boolean, )
src/shims/urlpattern/url-utils.ts:41
↓ 1 callersMethodisGroupClose
()
src/shims/urlpattern/url-pattern-parser.ts:477
↓ 1 callersMethodisGroupOpen
()
src/shims/urlpattern/url-pattern-parser.ts:473
↓ 1 callersMethodisIPv6Close
()
src/shims/urlpattern/url-pattern-parser.ts:485
↓ 1 callersMethodisIPv6Open
()
src/shims/urlpattern/url-pattern-parser.ts:481
↓ 1 callersMethodisPasswordPrefix
()
src/shims/urlpattern/url-pattern-parser.ts:418
↓ 1 callersMethodisPortPrefix
()
src/shims/urlpattern/url-pattern-parser.ts:422
↓ 1 callersFunctionmaybeStripSuffix
(value: string, suffix: string)
src/shims/urlpattern/url-utils.ts:81
↓ 1 callersMethodnextIsAuthoritySlashes
()
src/shims/urlpattern/url-pattern-parser.ts:409
↓ 1 callersMethodparse
()
src/shims/urlpattern/url-pattern-parser.ts:94
↓ 1 callersFunctionparseShorthand
(str: string)
src/shims/urlpattern/parseShorthand.ts:1
↓ 1 callersFunctionportEncodeCallback
(input: string)
src/shims/urlpattern/url-utils.ts:293
↓ 1 callersFunctionprotocolEncodeCallback
(input: string)
src/shims/urlpattern/url-utils.ts:243
↓ 1 callersFunctionregexpToFunction
( re: RegExp, keys: Key[], options: RegexpToFunctionOptions = {}, )
src/shims/urlpattern/path-to-regex-modified.ts:485
↓ 1 callersFunctionregexpToRegexp
* Pull out keys from a regexp.
src/shims/urlpattern/path-to-regex-modified.ts:551
↓ 1 callersFunctionstringToRegexp
* Create a path regexp from string input.
src/shims/urlpattern/path-to-regex-modified.ts:588
↓ 1 callersFunctiontokensToFunction
( tokens: Token[], options: TokensToFunctionOptions = {}, )
src/shims/urlpattern/path-to-regex-modified.ts:362
↓ 1 callersFunctiontokensToPattern
( tokens: Token[], options: TokensToRegexpOptions & ParseOptions, )
src/shims/urlpattern/url-pattern.ts:190
next →1–100 of 150, ranked by callers