Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShuiRuTian/time-analytics-webpack-plugin
/ functions
Functions
90 in github.com/ShuiRuTian/time-analytics-webpack-plugin
⨍
Functions
90
◇
Types & classes
31
↓ 31 callers
Function
assert
(expression: unknown, message?: string, verboseDebugInfo?: string | (() => string))
packages/time-analytics-webpack-plugin/utils.ts:40
↓ 11 callers
Function
now
()
packages/time-analytics-webpack-plugin/utils.ts:62
↓ 9 callers
Function
fail
(message?: string)
packages/time-analytics-webpack-plugin/utils.ts:27
↓ 9 callers
Function
getOrCreate
(cache: Map<K, V>, key: K, factory: (k: K) => V)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:396
↓ 7 callers
Method
apply
(compiler: Compiler)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:52
↓ 6 callers
Method
collectPluginInfo
(pluginInfo: PluginEventInfo)
packages/time-analytics-webpack-plugin/analyzer.ts:144
↓ 6 callers
Method
log
(message: string)
packages/time-analytics-webpack-plugin/utils.ts:13
↓ 5 callers
Function
prettyTime
(ms: number, option: OutputOption)
packages/time-analytics-webpack-plugin/writer.ts:46
↓ 4 callers
Function
canonicalPath
(pathS: string)
packages/test/loaderHelp.spec.ts:7
↓ 4 callers
Function
executeWebpack
(webpackFunc: typeof webpack, config: Configuration | MultiWebpackConfiguration)
packages/test/entry.spec.ts:121
↓ 4 callers
Function
getLoaderName
(loaderPath: string)
packages/time-analytics-webpack-plugin/writer.ts:25
↓ 3 callers
Method
_proxyForHook
(hook: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:206
↓ 3 callers
Method
collectLoaderInfo
(loaderInfo: LoaderEventInfo)
packages/time-analytics-webpack-plugin/analyzer.ts:138
↓ 3 callers
Function
isArraySortBy
(paths: string[], arr: T[])
packages/time-analytics-webpack-plugin/analyzer.ts:166
↓ 3 callers
Function
normalizeRules
(rules: RuleSetRule[] | undefined)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:333
↓ 3 callers
Method
warn
(message: string)
packages/time-analytics-webpack-plugin/utils.ts:17
↓ 2 callers
Function
GetOrAddHackKeyFor
(key: any)
packages/time-analytics-webpack-plugin/sideEffects/hackWeakMap.ts:33
↓ 2 callers
Method
collectWebpackInfo
(metaInfo: WebpackMetaEventInfo)
packages/time-analytics-webpack-plugin/analyzer.ts:150
↓ 2 callers
Function
failInDebug
(message?: string)
packages/time-analytics-webpack-plugin/utils.ts:33
↓ 2 callers
Method
getMessage
(message: string)
packages/time-analytics-webpack-plugin/utils.ts:21
↓ 2 callers
Function
hashOfFolders
(folderPaths: string[])
packages/test/entry.spec.ts:159
↓ 2 callers
Function
isConstructorNameInPrototypeChain
(name: string, obj: any)
packages/time-analytics-webpack-plugin/utils.ts:70
↓ 2 callers
Function
isHook
(obj: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:404
↓ 2 callers
Function
isMultiWebpackConfiguration
(config: WebpackConfiguration | MultiWebpackConfiguration | WebpackConfigFactory)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:20
↓ 2 callers
Function
isWebpackPlugin
(p: any)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:265
↓ 2 callers
Method
wrap
(webpackConfigOrFactory: WebpackConfiguration | MultiWebpackConfiguration | WebpackConfigFactory, options?: Ti
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:161
↓ 2 callers
Function
wrapLoaderFunc
(originLoader: LoaderDefinitionFunction | PitchLoaderDefinitionFunction, loaderType: LoaderType)
packages/time-analytics-webpack-plugin/loader.ts:86
↓ 2 callers
Function
wrapPluginCore
(plugin: WebpackPlugin)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:280
↓ 2 callers
Function
xorUint8Array
(a: Uint8Array, b: Uint8Array)
packages/test/entry.spec.ts:166
↓ 1 callers
Method
_isHooksProvider
(candidate: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:63
↓ 1 callers
Method
_proxyForHookMap
(hookMap: HookMap<any>)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:170
↓ 1 callers
Method
_proxyForHookMapFor
(hookMapFor: HookMap<any>['for'])
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:189
↓ 1 callers
Method
_proxyForHookProviderCandidates
( candidate: any, // @types/webpack does not export all the types. Use `any` for now. )
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:73
↓ 1 callers
Method
_proxyForHooks
(hooks: any, originHooks: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:134
↓ 1 callers
Method
_proxyForHooksProvider
( hooksProvider: any, // @types/webpack does not export all the types. Use `any` for now. )
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:82
↓ 1 callers
Method
_proxyForTap
(tap: Tap)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:251
↓ 1 callers
Method
_proxyForTapAsync
(tap: Tap)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:255
↓ 1 callers
Method
_proxyForTapPromise
(tap: Tap)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:259
↓ 1 callers
Function
addOutputFolder
(config: Configuration)
packages/test/entry.spec.ts:60
↓ 1 callers
Function
analyticsOutputLoaderInfos
(data: LoaderEventInfo[], options: AnalyticsLoaderOptions)
packages/time-analytics-webpack-plugin/analyzer.ts:242
↓ 1 callers
Function
analyticsOutputMetaInfo
(data: WebpackMetaEventInfo[])
packages/time-analytics-webpack-plugin/analyzer.ts:184
↓ 1 callers
Function
analyticsPluginInfos
(data: PluginEventInfo[])
packages/time-analytics-webpack-plugin/analyzer.ts:206
↓ 1 callers
Function
buildSrc
()
packages/test/util.ts:19
↓ 1 callers
Method
clear
()
packages/time-analytics-webpack-plugin/analyzer.ts:128
↓ 1 callers
Function
getOrCreateHack
(cache: Map<K, V>, key: K & { [PROXY_TARGET_MAGIC_STRING]: any; }, factory: (k: K) => V)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:386
↓ 1 callers
Function
hackWrapLoaderModule
(loaderPaths: string[], wrapLoaderModuleCallback: WrapLoaderFunction)
packages/time-analytics-webpack-plugin/loader.ts:21
↓ 1 callers
Function
hashOfFile
(filePath: string)
packages/test/entry.spec.ts:133
↓ 1 callers
Method
initilize
()
packages/time-analytics-webpack-plugin/analyzer.ts:123
↓ 1 callers
Function
injectModule
(moduleOptions: ModuleOptions)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:284
↓ 1 callers
Function
isCompilation
* Whether one object is `Compilation` in webpack
packages/time-analytics-webpack-plugin/sideEffects/hackWeakMap.ts:29
↓ 1 callers
Function
isCompiler
* Whether one object is `Compiler` in webpack
packages/time-analytics-webpack-plugin/sideEffects/hackWeakMap.ts:22
↓ 1 callers
Function
isFakeHook
* This is a webpack implementation detail. * * Some hook will be removed in webpack 6, and they are not `Tapable` class but a fake hook. * * An
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:417
↓ 1 callers
Function
isHookMap
(obj: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:421
↓ 1 callers
Function
isRuleObjectArray
(rules: NonNullable<ModuleOptions['rules']>)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:296
↓ 1 callers
Method
output
(option: OutputOption)
packages/time-analytics-webpack-plugin/analyzer.ts:154
↓ 1 callers
Function
repoInit
(repoFolder: string)
packages/test/util.ts:30
↓ 1 callers
Function
setupMonoTestRepo
()
packages/test/util.ts:11
↓ 1 callers
Method
validatePluginIsUsedOnce
(plugin: WebpackPluginInstance)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:37
↓ 1 callers
Method
wrapCore
(webpackConfigOrFactory: WebpackConfiguration | MultiWebpackConfiguration | WebpackConfigFactory, options: Tim
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:181
↓ 1 callers
Function
wrapLoaderModule
(module: any)
packages/time-analytics-webpack-plugin/loader.ts:163
↓ 1 callers
Function
wrapMinimizer
(minimizer: ArrayElement<NonNullable<NonNullable<WebpackConfiguration['optimization']>['minimizer']>>)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:272
↓ 1 callers
Function
wrapRequire
(requireMethod: NodeRequire)
packages/time-analytics-webpack-plugin/loader.ts:22
Method
__proxyForHooksProviderWorker
(hooksProvider: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:92
Method
_createUnfrozenHooks
* If we use a proxy on frozen object, it's invalid to return a different object with the origin object. * So we need to `Unfrozen` it firstly
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:111
Method
_proxyForHookMapForWorker
(hookMapFor: HookMap<any>['for'])
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:193
Method
_proxyForHookMapWorker
(hookMap: HookMap<any>)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:174
Method
_proxyForHookWorker
(hook: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:210
Method
_proxyForHooksWorker
(hooks: any)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:138
Method
_proxyForTapAsyncWorker
(tap: TapAsync)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:275
Method
_proxyForTapPromiseWorker
(tap: TapPromise)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:287
Method
_proxyForTapWorker
(tap: Tap)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:263
Method
apply
(compiler: Compiler)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:126
Function
assertIsDefined
(value: T, message?: string)
packages/time-analytics-webpack-plugin/utils.ts:51
Function
assertNever
(member: never, message = 'Assert never:')
packages/time-analytics-webpack-plugin/utils.ts:57
Method
constructor
(proxiedPlugin: WebpackPlugin | WebpackPluginLikeFunction)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:46
Method
constructor
(public option: TimeAnalyticsPluginOptions | undefined)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:154
Function
hashOfFolder
(folderPath: string)
packages/test/entry.spec.ts:144
Method
isIgnoreProperty
(target: any, property: string)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:231
Method
isLoaderEnabled
()
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:197
Method
isPluginEnabled
()
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:210
Function
loader
(source)
packages/time-analytics-webpack-plugin/loader.ts:64
Function
normalizeRule
(rule: RuleSetRule)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:302
Function
wrapConfigurationCore
(this: TimeAnalyticsPlugin, config: WebpackConfiguration, context: InternalContext)
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts:224
Function
wrapTapAsyncCallback
(this: ProxyPlugin, tapCallback: TapAsyncCallback)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:327
Function
wrapTapCallback
(this: ProxyPlugin, tapCallback: TapCallback)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:300
Function
wrapTapPromiseCallback
(this: ProxyPlugin, tapCallback: TapPromiseCallback)
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:359
Function
wrappedCallback
()
packages/time-analytics-webpack-plugin/ProxyPlugin.ts:343
Function
wrappedLoader
(this: any)
packages/time-analytics-webpack-plugin/loader.ts:92
Function
wrappedRequire
(this: any, ...args)
packages/time-analytics-webpack-plugin/loader.ts:23
Function
writeResult
(a: MetaAnalyticsResult, b: PluginAnalyticsResult, c: LoaderAnalyticsResult, option: OutputOption)
packages/time-analytics-webpack-plugin/writer.ts:68