Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Silentely/eSIM-Tools
/ functions
Functions
646 in github.com/Silentely/eSIM-Tools
⨍
Functions
646
◇
Types & classes
70
↓ 1 callers
Function
isBrowser
()
src/js/modules/utils.js:170
↓ 1 callers
Method
isDevelopment
()
src/js/modules/app-config.js:167
↓ 1 callers
Function
isEmojiToken
(token)
scripts/commit-msg-lint.js:92
↓ 1 callers
Method
isIgnoredUnhandledRejection
(error)
src/giffgaff/js/giffgaff-app.js:145
↓ 1 callers
Function
isImageFile
(filename)
scripts/optimize-images.js:37
↓ 1 callers
Function
isNetlifyEnvironment
()
src/simyo/js/modules/utils.js:121
↓ 1 callers
Function
isNetlifyEnvironment
()
src/giffgaff/js/modules/utils.js:276
↓ 1 callers
Method
isProduction
()
src/js/modules/app-config.js:171
↓ 1 callers
Function
isRateLimited
* 检查是否被限流 * @param {string} identifier - 限流标识(通常是 IP) * @param {number} windowMs - 时间窗口(毫秒),默认 5 分钟 * @param {number} maxRequests - 窗口内最大请求数,默认 15
netlify/functions/_shared/rate-limiter.js:60
↓ 1 callers
Function
isSeenObject
(obj)
src/js/sentry-loader.js:118
↓ 1 callers
Function
isVulnerable
(version, vulnerableVersions)
scripts/security-check.js:49
↓ 1 callers
Function
lastEventId
* 获取上次错误事件 ID
src/js/modules/sentry-init.js:794
↓ 1 callers
Function
listFiles
(dir, base = dir)
scripts/deploy-analyze.js:9
↓ 1 callers
Method
loadConfig
* Load environment-specific configuration
src/js/modules/app-config.js:45
↓ 1 callers
Method
loadScript
(src, loaderKey)
src/js/modules/captcha-manager.js:120
↓ 1 callers
Method
loadSession
* 从localStorage加载会话
src/simyo/js/modules/state-manager.js:114
↓ 1 callers
Method
loadSession
* 从存储加载会话(优先 secureStorage,回退 localStorage 并迁移)
src/giffgaff/js/modules/state-manager.js:167
↓ 1 callers
Method
login
* 登录Simyo账户 * @param {string} phoneNumber - 手机号 * @param {string} password - 密码 * @returns {Promise<Object>} 登录结果
src/simyo/js/modules/auth-handler.js:22
↓ 1 callers
Function
m
(r)
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callers
Function
m
(r)
src/js/modules/qrcode-lib.js:10
↓ 1 callers
Function
main
()
scripts/prepare-commit-msg.js:25
↓ 1 callers
Function
main
()
scripts/replace-console-log.js:89
↓ 1 callers
Function
main
()
scripts/pre-push-check.js:153
↓ 1 callers
Function
main
()
scripts/security-check.js:164
↓ 1 callers
Function
main
* 主函数
scripts/generate-agent-metadata.js:258
↓ 1 callers
Function
main
()
scripts/update-script-logging.js:92
↓ 1 callers
Function
main
()
scripts/commit-msg-lint.js:146
↓ 1 callers
Function
main
* Run pre-commit validation and normalization for staged files, aborting the commit on violations. * * Checks for changes to protected files and exi
scripts/pre-commit-check.js:202
↓ 1 callers
Method
markAsShown
* 标记为已显示
src/js/modules/notification-service.js:74
↓ 1 callers
Function
memoryRateLimit
(key, windowMs, maxRequests)
netlify/functions/_shared/rate-limiter.js:11
↓ 1 callers
Function
mergeSetCookies
(originalCookieHeader, setCookieArray)
netlify/functions/giffgaff-mfa-challenge.js:224
↓ 1 callers
Method
migrateAll
* 批量迁移旧数据 * @param {string[]} keys - 键名数组
src/js/modules/secure-storage.js:160
↓ 1 callers
Function
normalizeText
(content)
scripts/pre-commit-check.js:90
↓ 1 callers
Method
normalizeUnhandledRejectionReason
(reason)
src/giffgaff/js/giffgaff-app.js:118
↓ 1 callers
Method
observeCLS
* Observe Cumulative Layout Shift
src/js/modules/performance-monitor.js:86
↓ 1 callers
Method
observeFCP
* Observe First Contentful Paint
src/js/modules/performance-monitor.js:134
↓ 1 callers
Method
observeFID
* Observe First Input Delay
src/js/modules/performance-monitor.js:61
↓ 1 callers
Method
observeLCP
* Observe Largest Contentful Paint
src/js/modules/performance-monitor.js:36
↓ 1 callers
Method
observeTTFB
* Observe Time to First Byte
src/js/modules/performance-monitor.js:160
↓ 1 callers
Function
optimizeImages
()
scripts/optimize-images.js:261
↓ 1 callers
Method
optimizeImages
()
src/js/performance.js:59
↓ 1 callers
Function
p
(t,r,e)
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callers
Function
p
(t,r,e)
src/js/modules/qrcode-lib.js:10
↓ 1 callers
Function
parseAllowedOrigins
(raw)
netlify/edge-functions/bff-proxy.js:63
↓ 1 callers
Function
parsePackageLock
()
scripts/security-check.js:55
↓ 1 callers
Method
pauseTimers
* 暂停所有定时器
src/giffgaff/js/giffgaff-app.js:94
↓ 1 callers
Function
pickTarget
()
src/js/modules/footer.js:178
↓ 1 callers
Method
prefetchData
* Prefetch data endpoint
src/js/modules/resource-hints.js:192
↓ 1 callers
Method
processCallback
* 处理OAuth回调
src/giffgaff/js/modules/oauth-handler.js:74
↓ 1 callers
Function
processImagesInBatches
(imageFiles)
scripts/optimize-images.js:209
↓ 1 callers
Method
progress
* 进度信息 (无标签)
scripts/logger.js:69
↓ 1 callers
Function
pushChunk
(value)
src/js/sentry-loader.js:112
↓ 1 callers
Function
pushChunk
(value)
src/js/modules/sentry-init.js:87
↓ 1 callers
Function
r
(t,r)
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callers
Function
r
(t,r)
src/js/modules/qrcode-lib.js:10
↓ 1 callers
Function
readStagedContent
(relPath)
scripts/pre-commit-check.js:123
↓ 1 callers
Method
removeCookie
* 清除Cookie
src/giffgaff/js/modules/state-manager.js:236
↓ 1 callers
Function
removeDist
()
scripts/build-static.js:22
↓ 1 callers
Method
renderSsnPicker
* 渲染多eSIM选择器(radio列表 + 确认按钮)
src/giffgaff/js/giffgaff-app.js:485
↓ 1 callers
Function
replaceConsoleLogs
(filePath)
scripts/replace-console-log.js:25
↓ 1 callers
Method
resetUI
* 重置UI
src/simyo/js/modules/ui-controller.js:447
↓ 1 callers
Method
resetUI
* 重置UI
src/giffgaff/js/modules/ui-controller.js:618
↓ 1 callers
Function
resolveBrowserslistTargets
()
scripts/transpile-dist-js.js:12
↓ 1 callers
Function
resolveCorsOrigin
(origin)
netlify/functions/_shared/middleware.js:40
↓ 1 callers
Function
resolveFooterParams
()
src/js/modules/footer.js:5
↓ 1 callers
Function
resolveMode
()
scripts/pre-push-check.js:23
↓ 1 callers
Method
resumeTimers
* 恢复定时器
src/giffgaff/js/giffgaff-app.js:112
↓ 1 callers
Function
run
()
src/js/modules/footer.js:193
↓ 1 callers
Function
runChecks
()
scripts/quality-check.js:152
↓ 1 callers
Function
runChecks
(stagedFiles)
scripts/pre-commit-check.js:158
↓ 1 callers
Function
runStep
(step)
scripts/pre-push-check.js:140
↓ 1 callers
Function
s
()
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callers
Function
s
()
src/js/modules/qrcode-lib.js:10
↓ 1 callers
Method
sanitize
* 清理 HTML,仅保留安全标签 * @param {string} html - 待清理的 HTML * @param {string[]} allowedTags - 允许的标签列表 * @returns {string} 清理后的 HTML
src/js/modules/html-sanitizer.js:59
↓ 1 callers
Function
sanitizeQueryString
(url)
src/js/sentry-loader.js:608
↓ 1 callers
Function
sanitizeQueryString
(url)
src/js/modules/sentry-init.js:551
↓ 1 callers
Function
scanDirectory
(dir)
scripts/compress.js:115
↓ 1 callers
Function
searchInFiles
(pattern, files, excludeContext = [])
scripts/quality-check.js:102
↓ 1 callers
Method
sendMFAChallenge
* 发送MFA验证码
src/giffgaff/js/modules/mfa-handler.js:20
↓ 1 callers
Method
sendToAnalytics
* Send metrics to analytics service
src/js/modules/performance-monitor.js:281
↓ 1 callers
Function
setContext
* 设置上下文 * @param {string} name - 上下文名称 * @param {object} context - 上下文数据
netlify/functions/_shared/sentry.js:192
↓ 1 callers
Function
setLocale
(locale)
src/js/modules/i18n.js:198
↓ 1 callers
Method
setupGlobalErrorHandlers
* 设置全局错误处理器 * * 职责边界: * - 本 handler 仅负责浏览器扩展噪音检测和用户通知 * - 错误上报由 Sentry SDK 自动采集(onunhandledrejection 集成) * - 非 Error 类型的 reje
src/giffgaff/js/giffgaff-app.js:49
↓ 1 callers
Method
setupIdlePrefetch
* Setup idle-time prefetching * Prefetch routes during browser idle time
src/js/modules/resource-hints.js:151
↓ 1 callers
Method
setupIntersectionObserver
()
src/js/performance.js:159
↓ 1 callers
Method
setupIntersectionPrefetch
* Setup intersection observer-based prefetching * Prefetch resources when links become visible
src/js/modules/resource-hints.js:121
↓ 1 callers
Function
setupLanguageSwitcher
()
src/js/modules/i18n.js:167
↓ 1 callers
Method
setupNetworkListeners
()
src/js/performance.js:32
↓ 1 callers
Method
setupScrollOptimization
()
src/js/performance.js:127
↓ 1 callers
Method
setupTouchOptimization
()
src/js/performance.js:184
↓ 1 callers
Method
setupVisibilityHandler
()
src/js/performance.js:217
↓ 1 callers
Method
setupVisibilityHandler
* 设置页面可见性监听器 * 页面不可见时暂停定时器,节省CPU资源
src/giffgaff/js/giffgaff-app.js:78
↓ 1 callers
Function
shouldFormat
* Determine whether a file should be normalized (text formatting enforced) based on its path. * @param {string} relPath - File path relative to the r
scripts/pre-commit-check.js:80
↓ 1 callers
Function
shouldShowReportDialog
* 判断是否应该显示反馈弹窗 * @param {Object} event - Sentry 事件对象 * @returns {{ shouldShow: boolean, fingerprint: string }}
src/js/sentry-loader.js:242
↓ 1 callers
Function
shouldShowReportDialog
* 判断是否应该显示反馈弹窗 * @param {Object} event - Sentry 事件对象 * @returns {{ shouldShow: boolean, fingerprint: string }}
src/js/modules/sentry-init.js:334
↓ 1 callers
Function
shouldSkipFile
(filePath)
scripts/transpile-dist-js.js:36
↓ 1 callers
Method
showESIMInfoAndGuide
* 显示eSIM信息和激活指导
src/giffgaff/js/modules/ui-controller.js:398
↓ 1 callers
Method
showMemberInfo
* 显示会员信息
src/giffgaff/js/modules/ui-controller.js:380
↓ 1 callers
Method
showNotification
* 显示通知
src/js/modules/notification-service.js:54
↓ 1 callers
Method
showQRResult
* 显示二维码结果
src/simyo/js/modules/ui-controller.js:402
← previous
next →
401–500 of 646, ranked by callers