/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/telemetry/events
NameSizeModeActions
build.d.ts47900666editdlrm
build.js49660666editdlrm
build.js.map107510666editdlrm
error-feedback.d.ts4590666editdlrm
error-feedback.js7360666editdlrm
error-feedback.js.map8990666editdlrm
index.d.ts790666editdlrm
index.js7260666editdlrm
index.js.map2310666editdlrm
plugins.d.ts2350666editdlrm
plugins.js14600666editdlrm
plugins.js.map21540666editdlrm
session-stopped.d.ts4550666editdlrm
session-stopped.js10370666editdlrm
session-stopped.js.map20620666editdlrm
swc-load-failure.d.ts4520666editdlrm
swc-load-failure.js19400666editdlrm
swc-load-failure.js.map35170666editdlrm
swc-plugins.d.ts3130666editdlrm
swc-plugins.js20380666editdlrm
swc-plugins.js.map26480666editdlrm
version.d.ts21010666editdlrm
version.js50540666editdlrm
version.js.map95300666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/telemetry/events/version.js.map (9530B)
{"version":3,"sources":["../../../src/telemetry/events/version.ts"],"sourcesContent":["import type { NextConfigComplete } from '../../server/config-shared'\nimport path from 'path'\n\nconst EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED'\n\ntype EventCliSessionStarted = {\n nextVersion: string\n nodeVersion: string\n cliCommand: string\n isSrcDir: boolean | null\n hasNowJson: boolean\n isCustomServer: boolean | null\n hasNextConfig: boolean\n buildTarget: string\n hasWebpackConfig: boolean\n hasBabelConfig: boolean\n basePathEnabled: boolean\n i18nEnabled: boolean\n imageEnabled: boolean\n imageFutureEnabled: boolean\n locales: string | null\n localeDomainsCount: number | null\n localeDetectionEnabled: boolean | null\n imageDomainsCount: number | null\n imageRemotePatternsCount: number | null\n imageLocalPatternsCount: number | null\n imageQualities: string | null\n imageSizes: string | null\n imageLoader: string | null\n imageFormats: string | null\n nextConfigOutput: string | null\n trailingSlashEnabled: boolean\n reactStrictMode: boolean\n webpackVersion: number | null\n turboFlag: boolean\n isRspack: boolean\n appDir: boolean | null\n pagesDir: boolean | null\n staticStaleTime: number | null\n dynamicStaleTime: number | null\n reactCompiler: boolean\n reactCompilerCompilationMode: string | null\n reactCompilerPanicThreshold: string | null\n}\n\nfunction hasBabelConfig(dir: string): boolean {\n try {\n const noopFile = path.join(dir, 'noop.js')\n const res = (\n require('next/dist/compiled/babel/core') as typeof import('next/dist/compiled/babel/core')\n ).loadPartialConfig({\n cwd: dir,\n filename: noopFile,\n sourceFileName: noopFile,\n }) as any\n const isForTooling =\n res.options?.presets?.every(\n (e: any) => e?.file?.request === 'next/babel'\n ) && res.options?.plugins?.length === 0\n return res.hasFilesystemConfig() && !isForTooling\n } catch {\n return false\n }\n}\n\nexport function eventCliSession(\n dir: string,\n nextConfig: NextConfigComplete,\n event: Omit<\n EventCliSessionStarted,\n | 'nextVersion'\n | 'nodeVersion'\n | 'hasNextConfig'\n | 'buildTarget'\n | 'hasWebpackConfig'\n | 'hasBabelConfig'\n | 'basePathEnabled'\n | 'i18nEnabled'\n | 'imageEnabled'\n | 'imageFutureEnabled'\n | 'locales'\n | 'localeDomainsCount'\n | 'localeDetectionEnabled'\n | 'imageDomainsCount'\n | 'imageRemotePatternsCount'\n | 'imageLocalPatternsCount'\n | 'imageQualities'\n | 'imageSizes'\n | 'imageLoader'\n | 'imageFormats'\n | 'nextConfigOutput'\n | 'trailingSlashEnabled'\n | 'reactStrictMode'\n | 'staticStaleTime'\n | 'dynamicStaleTime'\n | 'reactCompiler'\n | 'reactCompilerCompilationMode'\n | 'reactCompilerPanicThreshold'\n | 'isRspack'\n >\n): { eventName: string; payload: EventCliSessionStarted }[] {\n // This should be an invariant, if it fails our build tooling is broken.\n if (typeof process.env.__NEXT_VERSION !== 'string') {\n return []\n }\n\n const { images, i18n } = nextConfig || {}\n\n const payload: EventCliSessionStarted = {\n nextVersion: process.env.__NEXT_VERSION,\n nodeVersion: process.version,\n cliCommand: event.cliCommand,\n isSrcDir: event.isSrcDir,\n hasNowJson: event.hasNowJson,\n isCustomServer: event.isCustomServer,\n hasNextConfig: nextConfig.configOrigin !== 'default',\n buildTarget: 'default',\n hasWebpackConfig: typeof nextConfig?.webpack === 'function',\n hasBabelConfig: hasBabelConfig(dir),\n imageEnabled: !!images,\n imageFutureEnabled: !!images,\n basePathEnabled: !!nextConfig?.basePath,\n i18nEnabled: !!i18n,\n locales: i18n?.locales ? i18n.locales.join(',') : null,\n localeDomainsCount: i18n?.domains ? i18n.domains.length : null,\n localeDetectionEnabled: !i18n ? null : i18n.localeDetection !== false,\n imageDomainsCount: images?.domains ? images.domains.length : null,\n imageRemotePatternsCount: images?.remotePatterns\n ? images.remotePatterns.length\n : null,\n imageLocalPatternsCount: images?.localPatterns\n ? images.localPatterns.length\n : null,\n imageSizes: images?.imageSizes ? images.imageSizes.join(',') : null,\n imageQualities: images?.qualities ? images.qualities.join(',') : null,\n imageLoader: images?.loader,\n imageFormats: images?.formats ? images.formats.join(',') : null,\n nextConfigOutput: nextConfig?.output || null,\n trailingSlashEnabled: !!nextConfig?.trailingSlash,\n reactStrictMode: !!nextConfig?.reactStrictMode,\n webpackVersion: event.webpackVersion || null,\n turboFlag: event.turboFlag || false,\n isRspack: process.env.NEXT_RSPACK !== undefined,\n appDir: event.appDir,\n pagesDir: event.pagesDir,\n staticStaleTime: nextConfig.experimental.staleTimes?.static ?? null,\n dynamicStaleTime: nextConfig.experimental.staleTimes?.dynamic ?? null,\n reactCompiler: Boolean(nextConfig.experimental.reactCompiler),\n reactCompilerCompilationMode:\n typeof nextConfig.experimental.reactCompiler !== 'boolean'\n ? nextConfig.experimental.reactCompiler?.compilationMode ?? null\n : null,\n reactCompilerPanicThreshold:\n typeof nextConfig.experimental.reactCompiler !== 'boolean'\n ? nextConfig.experimental.reactCompiler?.panicThreshold ?? null\n : null,\n }\n return [{ eventName: EVENT_VERSION, payload }]\n}\n"],"names":["eventCliSession","EVENT_VERSION","hasBabelConfig","dir","res","noopFile","path","join","require","loadPartialConfig","cwd","filename","sourceFileName","isForTooling","options","presets","every","e","file","request","plugins","length","hasFilesystemConfig","nextConfig","event","process","env","__NEXT_VERSION","images","i18n","payload","nextVersion","nodeVersion","version","cliCommand","isSrcDir","hasNowJson","isCustomServer","hasNextConfig","configOrigin","buildTarget","hasWebpackConfig","webpack","imageEnabled","imageFutureEnabled","basePathEnabled","basePath","i18nEnabled","locales","localeDomainsCount","domains","localeDetectionEnabled","localeDetection","imageDomainsCount","imageRemotePatternsCount","remotePatterns","imageLocalPatternsCount","localPatterns","imageSizes","imageQualities","qualities","imageLoader","loader","imageFormats","formats","nextConfigOutput","output","trailingSlashEnabled","trailingSlash","reactStrictMode","webpackVersion","turboFlag","isRspack","NEXT_RSPACK","undefined","appDir","pagesDir","staticStaleTime","experimental","staleTimes","static","dynamicStaleTime","dynamic","reactCompiler","Boolean","reactCompilerCompilationMode","compilationMode","reactCompilerPanicThreshold","panicThreshold","eventName"],"mappings":";;;;+BAiEgBA;;;eAAAA;;;6DAhEC;;;;;;AAEjB,MAAMC,gBAAgB;AA0CtB,SAASC,eAAeC,GAAW;IACjC,IAAI;YAUAC,sBAAAA,cAEKA,sBAAAA;QAXP,MAAMC,WAAWC,aAAI,CAACC,IAAI,CAACJ,KAAK;QAChC,MAAMC,MAAM,AACVI,QAAQ,iCACRC,iBAAiB,CAAC;YAClBC,KAAKP;YACLQ,UAAUN;YACVO,gBAAgBP;QAClB;QACA,MAAMQ,eACJT,EAAAA,eAAAA,IAAIU,OAAO,sBAAXV,uBAAAA,aAAaW,OAAO,qBAApBX,qBAAsBY,KAAK,CACzB,CAACC;gBAAWA;mBAAAA,CAAAA,sBAAAA,UAAAA,EAAGC,IAAI,qBAAPD,QAASE,OAAO,MAAK;eAC9Bf,EAAAA,gBAAAA,IAAIU,OAAO,sBAAXV,uBAAAA,cAAagB,OAAO,qBAApBhB,qBAAsBiB,MAAM,MAAK;QACxC,OAAOjB,IAAIkB,mBAAmB,MAAM,CAACT;IACvC,EAAE,OAAM;QACN,OAAO;IACT;AACF;AAEO,SAASb,gBACdG,GAAW,EACXoB,UAA8B,EA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