MCPcopy Create free account

hub / github.com/Fryuni/inox-tools / functions

Functions445 in github.com/Fryuni/inox-tools

↓ 125 callersMethodget
* Gets the lazily computed value, creating it if necessary. * * @returns The computed value * @throws Error if a circular dependency is detected
packages/utils/src/lazy.ts:76
↓ 62 callersMethodof
* Creates a new Lazy instance from a factory function. * * @param factory - A function that produces the value when first accessed * @returns A
packages/utils/src/lazy.ts:56
↓ 45 callersFunctionlog
(opts, level, label, message)
packages/runtime-logger/template/loggerStub.mjs:48
↓ 36 callersFunctioninspectInlineMod
(options: ModuleOptions)
packages/inline-mod/src/inlining.ts:20
↓ 34 callersMethodadd
(key: K, entry: Entry)
packages/inline-mod/src/closure/entry.ts:111
↓ 31 callersMethodget
(srcName: string)
packages/inline-mod/src/closure/package.ts:240
↓ 26 callersFunctionresolvedAtom
(value: T, batch = false)
packages/utils/src/nano.ts:79
↓ 25 callersFunctionvisitParents
({ tree, test, enter: enterVisitor, leave: leaveVisitor, reverse, }: Options<Tree, Check>)
packages/utils/src/unist/visit.ts:28
↓ 20 callersMethodinspect
( value: unknown, capturedProperties?: CapturedPropertyChain[] )
packages/inline-mod/src/closure/inspectCode.ts:123
↓ 18 callersFunctionloadFixture
({ root, ...remaining }: InlineConfig)
packages/astro-tests/src/astroFixture.ts:176
↓ 18 callersMethodlookup
(key: K)
packages/inline-mod/src/closure/entry.ts:90
↓ 17 callersMethodentryToReference
(envEntry: Entry, varName: string, requireReference = false)
packages/inline-mod/src/closure/serialization.ts:104
↓ 17 callersFunctionwalk
(node: ts.Node | undefined)
packages/inline-mod/src/closure/parseFunction.ts:365
↓ 14 callersMethodemitCode
(entry: Entry | InspectedObject, code: string)
packages/inline-mod/src/closure/serialization.ts:535
↓ 13 callersMethoderror
(message: string)
packages/route-config/tests/utils.ts:45
↓ 13 callersFunctionresolve
(value)
packages/inline-mod/src/closure/inspectCode.ts:1191
↓ 11 callersMethodattach
* Registers a callback to be executed when, and if, the lazy value is computed. * If the value is already computed, the callback is invoked immediat
packages/utils/src/lazy.ts:142
↓ 9 callersMethodcreateEnvVarName
(baseName: string, addIndexAtEnd: boolean)
packages/inline-mod/src/closure/serialization.ts:482
↓ 9 callersFunctionlog
(msg)
docs/scripts/index-orama.mjs:39
↓ 9 callersMethodresolve
(this: LazyValue<T>, value: T)
packages/inline-mod/src/closure/inspectCode.ts:1167
↓ 9 callersFunctionshared
(name: string, store: A)
packages/request-nanostores/src/runtime/client.ts:8
↓ 8 callersFunctiondefineCollection
( config: CollectionConfig<S> )
packages/content-utils/src/runtime/fancyContent.ts:45
↓ 8 callersFunctionrequestNanostores
()
packages/request-nanostores/src/index.ts:5
↓ 8 callersMethodthen
* Implements Promise.then() for Promise compatibility. * Allows the Lazy instance to be awaited.
packages/utils/src/lazy.ts:107
↓ 7 callersMethodcatch
* Implements Promise.catch() for Promise compatibility.
packages/utils/src/lazy.ts:119
↓ 7 callersMethodchain
* Creates a new Lazy that transforms this value using the provided function. * The new Lazy is automatically evaluated when this one is evaluated.
packages/utils/src/lazy.ts:160
↓ 7 callersFunctiongetOwnPropertyDescriptors
(obj: any)
packages/inline-mod/src/closure/inspectCode.ts:809
↓ 7 callersFunctionhoistImport
({ magicImport, currentModule, code, logger, }: HoistOptions)
packages/route-config/src/hoistGlobalPlugin.ts:55
↓ 7 callersFunctionloadPath
(path: string)
packages/portal-gun/tests/common.ts:4
↓ 7 callersFunctionmakeFunctionDeclaration
( v: string, isAsync: boolean, isFunctionDeclaration: boolean )
packages/inline-mod/src/closure/parseFunction.ts:256
↓ 6 callersMethodaddGlobalInfo
(key: string)
packages/inline-mod/src/closure/inspectCode.ts:1264
↓ 6 callersMethodaddUnchecked
(key: K, entry: Entry)
packages/inline-mod/src/closure/entry.ts:141
↓ 6 callersFunctionloadAstroFixture
(name: string)
packages/route-config/tests/utils.ts:9
↓ 6 callersFunctionrequestState
()
packages/request-state/src/index.ts:4
↓ 6 callersMethodwarn
(message: string)
packages/route-config/tests/utils.ts:42
↓ 5 callersMethoddebug
(message: string)
packages/route-config/tests/utils.ts:48
↓ 5 callersFunctiongetOwnProperty
(obj: any, descriptor: ClosurePropertyDescriptor)
packages/inline-mod/src/closure/inspectCode.ts:851
↓ 5 callersFunctionmakeFancy
()
packages/content-utils/tests/injector-runtime.test.ts:33
↓ 5 callersMethodremove
(key: K)
packages/inline-mod/src/closure/entry.ts:151
↓ 5 callersFunctionresolveProjectPath
(path: string)
packages/astro-tests/src/astroFixture.ts:270
↓ 5 callersFunctionvisitBaseFunction
(node: ts.FunctionLikeDeclarationBase)
packages/inline-mod/src/closure/parseFunction.ts:397
↓ 4 callersFunctionastroWhen
()
packages/astro-when/src/index.ts:12
↓ 4 callersMethodattachAll
* Attaches a callback that is invoked when all lazy values in the array are evaluated. * The callback receives all values as arguments in order. *
packages/utils/src/lazy.ts:213
↓ 4 callersMethodbar
()
packages/inline-mod/tests/classes.test.ts:7
↓ 4 callersFunctioncombineProperties
( existing: CapturedPropertyChain[] | undefined, current: CapturedPropertyChain | undefined )
packages/inline-mod/src/closure/parseFunction.ts:573
↓ 4 callersFunctionensureFactoryInitialized
(magicValue: MagicPlaceholder<T>)
packages/inline-mod/src/closure/inspectCode.ts:1065
↓ 4 callersFunctionfactory
(factoryFn: () => T)
packages/inline-mod/src/index.ts:8
↓ 4 callersFunctiongenerateRandomValue
(penalty = 0)
packages/inline-mod/tests/e2e.bench.ts:39
↓ 4 callersFunctiongetDebug
(name?: string)
packages/content-utils/src/internal/debug.ts:5
↓ 4 callersFunctiongetLogger
(name: string)
packages/inline-mod/src/log.ts:5
↓ 4 callersFunctioninjectCollections
( collections: Record<string, CollectionConfig> )
packages/content-utils/src/runtime/injector.ts:10
↓ 4 callersFunctioninlineModule
(options: ModuleOptions)
packages/inline-mod/src/vite.ts:36
↓ 4 callersFunctionnameWalk
(n: ts.BindingName | undefined, isVar: boolean)
packages/inline-mod/src/closure/parseFunction.ts:835
↓ 4 callersFunctionruntimeLogger
( params: IntegrationFromSetup & { logger: AstroIntegrationLogger }, options: { name: string } )
packages/runtime-logger/src/index.ts:41
↓ 4 callersFunctionsetNestedIfNullish
( obj: T, prop: P, value: Extract<NodeEntries<T>, { key: P }>['value'] )
packages/utils/src/values.ts:106
↓ 4 callersFunctionsetState
(key: string, value: unknown)
packages/request-state/src/runtime/serverState.ts:22
↓ 4 callersFunctiontrimSlashes
(input: string)
packages/sitemap-ext/index.ts:191
↓ 3 callersMethodattachOne
* Registers a callback for a specific key only. * The callback is invoked when the value for that key is created. * @param key - The key to watch
packages/utils/src/lazy.ts:360
↓ 3 callersFunctiondefineModule
(name: string, options: ModuleOptions)
packages/inline-mod/src/vite.ts:44
↓ 3 callersMethodensureInitialized
()
packages/utils/src/lazy.ts:95
↓ 3 callersMethodfork
()
packages/inline-mod/src/closure/entry.ts:156
↓ 3 callersMethodget
* Gets the value for the given key, creating it if necessary. * @param key - The key to look up or create * @returns The value associated with the
packages/utils/src/lazy.ts:294
↓ 3 callersFunctiongetEntryGitInfoInner
( args: Parameters<typeof getEntry> )
packages/content-utils/src/runtime/liveGit.ts:7
↓ 3 callersFunctiongetNameOrSymbol
(descriptor: ClosurePropertyDescriptor)
packages/inline-mod/src/closure/inspectCode.ts:843
↓ 3 callersMethodgetResponse
()
packages/cut-short/src/internal/carrier.ts:8
↓ 3 callersFunctiongetState
(key: string, valueIfMissing?: unknown)
packages/request-state/src/runtime/serverState.ts:8
↓ 3 callersFunctionloadRouteConfigCallbacks
(logger: AstroIntegrationLogger)
packages/route-config/src/contextResolution.ts:28
↓ 3 callersFunctionmagicFactory
({ initialValue, isAsync, fn, }: { initialValue?: T; isAsync: boolean; fn: T | (() => T); })
packages/inline-mod/src/closure/inspectCode.ts:1127
↓ 3 callersFunctionmakeDecision
( decision: boolean, route: RouteData, routeParams: Record<string, string | undefined>[] = [] )
packages/sitemap-ext/index.ts:34
↓ 3 callersFunctiononlyLeadingSlash
(input: string)
packages/sitemap-ext/index.ts:195
↓ 3 callersMethodreserve
* Pre-initializes values for the given keys. * Useful for eagerly creating values that will be needed later. * @param key - The first key to reser
packages/utils/src/lazy.ts:327
↓ 3 callersFunctionresolveOutPath
(path: string)
packages/astro-tests/src/astroFixture.ts:269
↓ 3 callersFunctionresolveUrl
(url: string)
packages/astro-tests/src/astroFixture.ts:239
↓ 3 callersFunctionsetGlobal
( newLogger: AstroIntegrationLogger, newIntegrations: AstroIntegration[] )
packages/modular-station/src/globalHooks.ts:13
↓ 3 callersMethodtraverseWithState
(this: Context & Visitor, state: VisitorPhase, path: NodePath)
packages/route-config/src/hoistGlobalPlugin.ts:111
↓ 3 callersFunctiontryCreateSourceFile
(toParse: string)
packages/inline-mod/src/closure/parseFunction.ts:340
↓ 2 callersFunctionapplyState
(isViewTransition: boolean = false)
packages/request-state/src/runtime/clientState.ts:50
↓ 2 callersFunctionasyncFactory
(factoryFn: () => Promise<T>)
packages/inline-mod/src/index.ts:15
↓ 2 callersMethodattach
* Registers a callback to be executed for each value when created. * Immediately invokes the callback for any already-created values. * @param att
packages/utils/src/lazy.ts:343
↓ 2 callersMethodbaz
(value: string)
packages/inline-mod/tests/classes.test.ts:10
↓ 2 callersMethodchainAll
* Creates a new Lazy that combines all values from the given lazy instances. * The transformation is invoked when all input lazies are evaluated.
packages/utils/src/lazy.ts:241
↓ 2 callersMethodchainMulti
* Chains a transformation across multiple named lazy values. * Creates a new record of Lazy instances with transformed values. * * @template T -
packages/utils/src/lazy.ts:193
↓ 2 callersMethodchainOne
* Creates a Lazy that transforms the value for a specific key. * The Lazy is automatically evaluated when the source value is created. * @template
packages/utils/src/lazy.ts:393
↓ 2 callersFunctioncreateClosurePropertyDescriptor
( nameOrSymbol: string | symbol, descriptor: PropertyDescriptor )
packages/inline-mod/src/closure/inspectCode.ts:791
↓ 2 callersMethodcreatePropertyInfo
(descriptor: ClosurePropertyDescriptor)
packages/inline-mod/src/closure/inspectCode.ts:726
↓ 2 callersFunctioncustomRoutingInner
({ strict, routes }: Options)
packages/custom-routing/src/index.ts:14
↓ 2 callersFunctioncutShort
({ disableStreaming = false, }: { disableStreaming?: boolean } = {})
packages/cut-short/src/index.ts:14
↓ 2 callersFunctiondefineCommonTests
(loadPathRaw: (path: string) => Promise<string | null>)
packages/portal-gun/tests/common.ts:3
↓ 2 callersFunctiondefineRouteConfig
( params: Pick<HookParameters<'astro:config:setup'>, 'logger' | 'command' | 'updateConfig'>, options: PerRou
packages/route-config/src/index.ts:23
↓ 2 callersFunctiondetermineCapturedPropertyChain
(node: ts.Node)
packages/inline-mod/src/closure/parseFunction.ts:612
↓ 2 callersFunctiondie
(msg, code = 1)
docs/scripts/index-orama.mjs:43
↓ 2 callersMethodemitComplexObjectProperties
( envVar: string, varName: string, inspectedObj: InspectedObject )
packages/inline-mod/src/closure/serialization.ts:370
↓ 2 callersFunctionendRequest
(withResponse: MaybeThunk<Response>)
packages/cut-short/src/runtime/entrypoint.ts:4
↓ 2 callersFunctionfactory
(node: UnistNode, index: number | undefined, parents: UnistParent[])
packages/utils/src/unist/visit.ts:52
↓ 2 callersMethodfinally
* Implements Promise.finally() for Promise compatibility.
packages/utils/src/lazy.ts:128
↓ 2 callersFunctionfindModuleEntry
(obj: any)
packages/inline-mod/src/closure/inspectCode.ts:946
↓ 2 callersFunctiongetDebug
(name: string)
packages/astro-tests/src/internal/log.ts:5
↓ 2 callersFunctiongetRuntimeIdForFunction
(func: Function)
packages/inline-mod/src/closure/v8.ts:203
↓ 2 callersFunctionhasState
(key: string)
packages/request-state/src/runtime/serverState.ts:20
↓ 2 callersFunctioninflightContext
()
packages/inline-mod/src/closure/v8.ts:171
next →1–100 of 445, ranked by callers