MCPcopy Create free account

hub / github.com/baku89/pentool / functions

Functions109 in github.com/baku89/pentool

↓ 20 callersFunctiongetFriendlyURL
dev-dist/workbox-5357ef54.js:678
↓ 9 callersMethoditerateCallbacks
* Accepts a callback and returns an iterable of matching plugin callbacks, * where each callback is wrapped with the current handler state (i.e
dev-dist/workbox-5357ef54.js:2118
↓ 5 callersMethodmatch
({ url })
dev-dist/workbox-5357ef54.js:643
↓ 5 callersMethodwaitUntil
* Adds a promise to the * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}
dev-dist/workbox-5357ef54.js:2147
↓ 4 callersMethodhandle
* Perform a request strategy and returns a `Promise` that will resolve with * a `Response`, invoking all relevant plugin callbacks. *
dev-dist/workbox-5357ef54.js:2306
↓ 4 callersFunctionnormalizeHandler
dev-dist/workbox-5357ef54.js:518
↓ 4 callersMethodrunCallbacks
* Runs all plugin callbacks matching the given name, in order, passing the * given param object (merged ith the current plugin state) as the on
dev-dist/workbox-5357ef54.js:2102
↓ 4 callersFunctiontoRequest
(input)
dev-dist/workbox-5357ef54.js:1728
↓ 3 callersFunction_createCacheName
dev-dist/workbox-5357ef54.js:1217
↓ 3 callersMethodcachePut
* Puts a request/response pair in the cache (and invokes any applicable * plugin callback methods) using the `cacheName` and `plugins` defined
dev-dist/workbox-5357ef54.js:1972
↓ 3 callersFunctioncreateNewPath
()
examples/acidgraphics.js:24
↓ 3 callersMethodfetch
* Fetches a given request (and invokes any applicable plugin callback * methods) using the `fetchOptions` (for non-navigation requests) and
dev-dist/workbox-5357ef54.js:1831
↓ 3 callersMethodgetCacheKey
* Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and * executes any of those callbacks found in sequence. The final `Request
dev-dist/workbox-5357ef54.js:2053
↓ 3 callersMethodgetCacheKeyForURL
* Returns the cache key used for storing a given URL. If that URL is * unversioned, like `/index.html', then the cache key will be the original
dev-dist/workbox-5357ef54.js:2886
↓ 3 callersFunctiongetOrCreatePrecacheController
()
dev-dist/workbox-5357ef54.js:2962
↓ 2 callersFunction_nestedGroup
* @param {string} groupTitle * @param {Array<string>} urls * * @private
dev-dist/workbox-5357ef54.js:1466
↓ 2 callersMethod_useDefaultCacheabilityPluginIfNeeded
* This method is complex, as there a number of things to account for: * * The `plugins` array can be set at construction, and/or it migh
dev-dist/workbox-5357ef54.js:2616
↓ 2 callersFunctiongetT
(a, b, m)
examples/acidgraphics.js:11
↓ 2 callersMethodhandleAll
* Similar to {@link workbox-strategies.Strategy~handle}, but * instead of just returning a `Promise` that resolves to a `Response` it *
dev-dist/workbox-5357ef54.js:2332
↓ 2 callersMethodhandleRequest
* Apply the routing rules to a FetchEvent object to get a Response from an * appropriate Route's handler. * * @param {Object} opt
dev-dist/workbox-5357ef54.js:812
↓ 2 callersMethodhasCallback
* Returns true if the strategy has at least one plugin with the given * callback. * * @param {string} name The name of the callba
dev-dist/workbox-5357ef54.js:2078
↓ 2 callersFunctionstripParams
(fullURL, ignoreParams)
dev-dist/workbox-5357ef54.js:1591
↓ 2 callersFunctionwaitUntil
* A utility method that makes it easier to use `event.waitUntil` with * async functions and return the result. * * @param {ExtendableEv
dev-dist/workbox-5357ef54.js:1265
↓ 1 callersMethod_awaitComplete
(responseDone, handler, request, event)
dev-dist/workbox-5357ef54.js:2397
↓ 1 callersMethod_ensureResponseSafeToCache
* This method will call cacheWillUpdate on the available plugins (or use * status === 200) to determine if the Response is safe and valid to ca
dev-dist/workbox-5357ef54.js:2184
↓ 1 callersMethod_getResponse
(handler, request, event)
dev-dist/workbox-5357ef54.js:2353
↓ 1 callersMethod_handle
* @private * @param {Request|string} request A request to run this strategy for. * @param {workbox-strategies.StrategyHandler} handler T
dev-dist/workbox-5357ef54.js:2503
↓ 1 callersMethod_handleFetch
(request, handler)
dev-dist/workbox-5357ef54.js:2517
↓ 1 callersMethod_handleInstall
(request, handler)
dev-dist/workbox-5357ef54.js:2573
↓ 1 callersMethod_match
* Routes match handler. * * @param {Object} options * @param {URL} options.url * @param {Request} options.request *
dev-dist/workbox-5357ef54.js:3329
↓ 1 callersMethodaddCacheListener
* Adds a message event listener for URLs to cache from the window. * This is useful to cache resources loaded on the page prior to when the
dev-dist/workbox-5357ef54.js:766
↓ 1 callersMethodaddFetchListener
* Adds a fetch event listener to respond to events when a route matches * the event's request.
dev-dist/workbox-5357ef54.js:729
↓ 1 callersFunctionaddRoute
* Add a `fetch` listener to the service worker that will * respond to * [network requests]{@link https://developer.mozilla.org/en-US/docs/We
dev-dist/workbox-5357ef54.js:3125
↓ 1 callersMethodaddToCacheList
* This method will add items to the precache list, removing duplicates * and ensuring the information is valid. * * @param {Array
dev-dist/workbox-5357ef54.js:2734
↓ 1 callersMethodcacheMatch
* Matches a request from the cache (and invokes any applicable plugin * callback methods) using the `cacheName`, `matchOptions`, and `plugins`
dev-dist/workbox-5357ef54.js:1927
↓ 1 callersFunctioncacheMatchIgnoreParams
* Matches an item in the cache, ignoring specific URL params. This is similar * to the `ignoreSearch` option, but it allows you to ignore just sp
dev-dist/workbox-5357ef54.js:1610
↓ 1 callersFunctioncanConstructResponseFromBodyStream
* A utility function that determines whether the current browser supports * constructing a new `Response` from a `response.body` stream. *
dev-dist/workbox-5357ef54.js:1515
↓ 1 callersFunctionclamp
(v, a, b)
examples/acidgraphics.js:7
↓ 1 callersFunctioncopyResponse
* Allows developers to copy a response and modify its `headers`, `status`, * or `statusText` values (the values settable via a * [`ResponseI
dev-dist/workbox-5357ef54.js:1557
↓ 1 callersFunctioncreateCacheKey
* Converts a manifest entry into a versioned URL suitable for precaching. * * @param {Object|string} entry * @return {string} A URL wit
dev-dist/workbox-5357ef54.js:1294
↓ 1 callersMethodcreateHandlerBoundToURL
* Returns a function that looks up `url` in the precache (taking into * account revision information), and returns the corresponding `Response`
dev-dist/workbox-5357ef54.js:2933
↓ 1 callersFunctiondeleteOutdatedCaches
(currentPrecacheName, substringToFind = SUBSTRING_TO_FIND)
dev-dist/workbox-5357ef54.js:3214
↓ 1 callersMethoddestroy
* Stops running the strategy and immediately resolves any pending * `waitUntil()` promises.
dev-dist/workbox-5357ef54.js:2171
↓ 1 callersMethoddoneWaiting
* Returns a promise that resolves once all promises passed to * {@link workbox-strategies.StrategyHandler~waitUntil} * have settled.
dev-dist/workbox-5357ef54.js:2161
↓ 1 callersFunctiondrawArc
(name, start, end, color)
examples/pie-graph.js:23
↓ 1 callersFunctioneachCacheNameDetail
dev-dist/workbox-5357ef54.js:1220
↓ 1 callersFunctionexecuteQuotaErrorCallbacks
* Runs all of the callback functions, one at a time sequentially, in the order * in which they were registered. * * @memberof workbox-c
dev-dist/workbox-5357ef54.js:1683
↓ 1 callersMethodfindMatchingRoute
* Checks a request and URL (and optionally an event) against the list of * registered routes, and if there's a match, returns the corresponding
dev-dist/workbox-5357ef54.js:956
↓ 1 callersFunctiongenerateURLVariations
* Generator function that yields possible variations on the original URL to * check, one at a time. * * @param {string} url * @par
dev-dist/workbox-5357ef54.js:3016
↓ 1 callersMethodgetIntegrityForCacheKey
* @param {string} url A cache key whose SRI you want to look up. * @return {string} The subresource integrity associated with the cache key,
dev-dist/workbox-5357ef54.js:2895
↓ 1 callersFunctiongetOrCreateDefaultRouter
()
dev-dist/workbox-5357ef54.js:1115
↓ 1 callersMethodgetURLsToCacheKeys
* Returns a mapping of a precached URL to the corresponding cache key, taking * into account the revision information for the URL. *
dev-dist/workbox-5357ef54.js:2865
↓ 1 callersFunctionlogGroup
(groupTitle, deletedURLs)
dev-dist/workbox-5357ef54.js:1431
↓ 1 callersFunctionprecache
* Adds items to the precache list, removing any duplicates and * stores the files in the * {@link workbox-core.cacheNames|"precache cache"}
dev-dist/workbox-5357ef54.js:3157
↓ 1 callersMethodprecache
* Adds items to the precache list, removing any duplicates and * stores the files in the * {@link workbox-core.cacheNames|"precache cach
dev-dist/workbox-5357ef54.js:2719
↓ 1 callersFunctionprint
(method, args)
dev-dist/workbox-5357ef54.js:47
↓ 1 callersFunctionprintCleanupDetails
* @param {Array<string>} deletedURLs * * @private * @memberof workbox-precaching
dev-dist/workbox-5357ef54.js:1444
↓ 1 callersFunctionprintInstallDetails
* @param {Array<string>} urlsToPrecache * @param {Array<string>} urlsAlreadyPrecached * * @private * @memberof workbox-precaching
dev-dist/workbox-5357ef54.js:1483
↓ 1 callersFunctionregisterRoute
* Easily register a RegExp, string, or function with a caching * strategy to a singleton Router instance. * * This method will generate
dev-dist/workbox-5357ef54.js:1150
↓ 1 callersMethodregisterRoute
* Registers a route with the router. * * @param {workbox-routing.Route} route The route to register.
dev-dist/workbox-5357ef54.js:1040
↓ 1 callersFunctionremoveIgnoredSearchParams
* Removes any URL search parameters that should be ignored. * * @param {URL} urlObject The original URL. * @param {Array<RegExp>} ignor
dev-dist/workbox-5357ef54.js:2988
↓ 1 callersFunctiontimeout
* Returns a promise that resolves and the passed number of milliseconds. * This utility is an async/await-friendly version of `setTimeout`.
dev-dist/workbox-5357ef54.js:1712
Methodactivate
* Deletes assets that are no longer present in the current precache manifest. * Call this method from the service worker activate event.
dev-dist/workbox-5357ef54.js:2837
FunctioncacheWillUpdate
({ response })
dev-dist/workbox-5357ef54.js:2643
FunctioncleanupOutdatedCaches
* Adds an `activate` event listener which will clean up incompatible * precaches that were created by older versions of Workbox. * * @m
dev-dist/workbox-5357ef54.js:3236
FunctionclientsClaim
* Claim any currently available clients once the service worker * becomes active. This is normally used in conjunction with `skipWaiting()`.
dev-dist/workbox-5357ef54.js:21
Methodconstructor
* * @param {string} errorCode The error code that * identifies this particular error. * @param {Object=} details Any relevant arg
dev-dist/workbox-5357ef54.js:396
Methodconstructor
* Constructor for Route class. * * @param {workbox-routing~matchCallback} match * A callback function that determines whether the
dev-dist/workbox-5357ef54.js:572
Methodconstructor
* If the regular expression contains * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/
dev-dist/workbox-5357ef54.js:634
Methodconstructor
* Initializes a new Router.
dev-dist/workbox-5357ef54.js:713
Methodconstructor
()
dev-dist/workbox-5357ef54.js:1352
Methodconstructor
({ precacheController })
dev-dist/workbox-5357ef54.js:1399
Methodconstructor
* Creates a promise and exposes its resolve and reject functions as methods.
dev-dist/workbox-5357ef54.js:1649
Methodconstructor
* Creates a new instance associated with the passed strategy and event * that's handling the request. * * The constructor also in
dev-dist/workbox-5357ef54.js:1757
Methodconstructor
* Creates a new instance of the strategy and sets all documented option * properties as public instance properties. * * Note: if
dev-dist/workbox-5357ef54.js:2253
Methodconstructor
* * @param {Object} [options] * @param {string} [options.cacheName] Cache name to store and retrieve * requests. Defaults to the
dev-dist/workbox-5357ef54.js:2486
Methodconstructor
* Create a new PrecacheController. * * @param {Object} [options] * @param {string} [options.cacheName] The cache to use for preca
dev-dist/workbox-5357ef54.js:2683
Methodconstructor
* @param {PrecacheController} precacheController A `PrecacheController` * instance used to both match requests and respond to fetch events.
dev-dist/workbox-5357ef54.js:3080
Methodconstructor
* If both `denylist` and `allowlist` are provided, the `denylist` will * take precedence and the request will not match this route. *
dev-dist/workbox-5357ef54.js:3297
FunctioncreateHandlerBoundToURL
* Helper function that calls * {@link PrecacheController#createHandlerBoundToURL} on the default * {@link PrecacheController} instance.
dev-dist/workbox-5357ef54.js:3382
MethodfetchAndCachePut
* Calls `this.fetch()` and (in the background) runs `this.cachePut()` on * the response generated by `this.fetch()`. * * The call
dev-dist/workbox-5357ef54.js:1909
FunctionfindNumericLiteralAtColumn
(subject: string, index: number)
src/utils.ts:33
FunctionfindTextBetweenDelimiters
( subject: string, index: number, open: string, close: string )
src/utils.ts:10
FunctiongeneratorFunction
(code, details = {})
dev-dist/workbox-5357ef54.js:362
Functionget
()
src/use/useCommentMeta.ts:22
MethodgetCachedURLs
* Returns a list of all the URLs that have been precached by the current * service worker. * * @return {Array<string>} The precac
dev-dist/workbox-5357ef54.js:2874
FunctionhasMethod
(object, expectedMethod, details)
dev-dist/workbox-5357ef54.js:422
Methodinstall
* Precaches new and updated assets. Call this method from the service worker * install event. * * Note: this method calls `event.
dev-dist/workbox-5357ef54.js:2790
FunctionisArray
(value, details)
dev-dist/workbox-5357ef54.js:417
FunctionisArrayOfClass
(value, // Need general type to do check later. expectedClass, // eslint-disable-line details)
dev-dist/workbox-5357ef54.js:450
FunctionisInstance
(object, // Need the general type to do the check later. // eslint-disable-next-line @typescript-eslin
dev-dist/workbox-5357ef54.js:435
FunctionisOneOf
(value, validValues, details)
dev-dist/workbox-5357ef54.js:444
FunctionisType
(object, expectedType, details)
dev-dist/workbox-5357ef54.js:429
Methodmatch
({ request })
dev-dist/workbox-5357ef54.js:3081
FunctionmatchCallback
({ url })
dev-dist/workbox-5357ef54.js:1171
MethodmatchPrecache
* This acts as a drop-in replacement for * [`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match) * with the fo
dev-dist/workbox-5357ef54.js:2916
FunctionnormalizeColorToHexCode
(color: string)
src/utils.ts:3
FunctionprecacheAndRoute
* This method will add entries to the precache list and add a route to * respond to fetch events. * * This is a convenience method that
dev-dist/workbox-5357ef54.js:3183
FunctionreplaceTextBetween
( subject: string, startIndex: number, endIndex: number, replacement: string )
src/utils.ts:72
Methodroutes
* @return {Map<string, Array<workbox-routing.Route>>} routes A `Map` of HTTP * method name ('GET', etc.) to an array of all the corresponding `
dev-dist/workbox-5357ef54.js:722
next →1–100 of 109, ranked by callers