@sentry/bundler-plugins 10.68.0 → 11.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/core/build-plugin-manager.js +8 -2
- package/build/cjs/core/build-plugin-manager.js.map +1 -1
- package/build/cjs/core/debug-id-upload.js +20 -16
- package/build/cjs/core/debug-id-upload.js.map +1 -1
- package/build/cjs/core/options-mapping.js +1 -0
- package/build/cjs/core/options-mapping.js.map +1 -1
- package/build/cjs/core/sentry/telemetry.js +3 -0
- package/build/cjs/core/sentry/telemetry.js.map +1 -1
- package/build/cjs/core/version.js +1 -1
- package/build/cjs/core/version.js.map +1 -1
- package/build/esm/core/build-plugin-manager.js +8 -2
- package/build/esm/core/build-plugin-manager.js.map +1 -1
- package/build/esm/core/debug-id-upload.js +20 -16
- package/build/esm/core/debug-id-upload.js.map +1 -1
- package/build/esm/core/options-mapping.js +1 -0
- package/build/esm/core/options-mapping.js.map +1 -1
- package/build/esm/core/sentry/telemetry.js +3 -0
- package/build/esm/core/sentry/telemetry.js.map +1 -1
- package/build/esm/core/version.js +1 -1
- package/build/esm/core/version.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/types/core/build-plugin-manager.d.ts.map +1 -1
- package/build/types/core/debug-id-upload.d.ts.map +1 -1
- package/build/types/core/index.d.ts +1 -1
- package/build/types/core/index.d.ts.map +1 -1
- package/build/types/core/options-mapping.d.ts.map +1 -1
- package/build/types/core/sentry/telemetry.d.ts.map +1 -1
- package/build/types/core/utils.d.ts.map +1 -1
- package/build/types/core/version.d.ts +1 -1
- package/build/types/core/version.d.ts.map +1 -1
- package/build/types/esbuild/index.d.ts.map +1 -1
- package/build/types/rollup/index.d.ts +2 -2
- package/build/types/rollup/index.d.ts.map +1 -1
- package/build/types/vite/index.d.ts.map +1 -1
- package/build/types/webpack/webpack4and5.d.ts.map +1 -1
- package/package.json +9 -10
- package/build/types-ts3.8/babel-plugin/component-annotation.d.ts +0 -27
- package/build/types-ts3.8/babel-plugin/constants.d.ts +0 -27
- package/build/types-ts3.8/babel-plugin/experimental.d.ts +0 -51
- package/build/types-ts3.8/babel-plugin/index.d.ts +0 -56
- package/build/types-ts3.8/core/build-plugin-manager.d.ts +0 -82
- package/build/types-ts3.8/core/component-annotation-vite-ast.d.ts +0 -57
- package/build/types-ts3.8/core/component-annotation-vite-fragments.d.ts +0 -3
- package/build/types-ts3.8/core/component-annotation-vite-jsx.d.ts +0 -16
- package/build/types-ts3.8/core/component-annotation-vite-walk.d.ts +0 -3
- package/build/types-ts3.8/core/component-annotation-vite.d.ts +0 -6
- package/build/types-ts3.8/core/debug-id-upload.d.ts +0 -17
- package/build/types-ts3.8/core/glob.d.ts +0 -5
- package/build/types-ts3.8/core/index.d.ts +0 -53
- package/build/types-ts3.8/core/logger.d.ts +0 -14
- package/build/types-ts3.8/core/options-mapping.d.ts +0 -82
- package/build/types-ts3.8/core/sentry/telemetry.d.ts +0 -14
- package/build/types-ts3.8/core/sentry/transports.d.ts +0 -5
- package/build/types-ts3.8/core/types.d.ts +0 -570
- package/build/types-ts3.8/core/utils.d.ts +0 -87
- package/build/types-ts3.8/core/version.d.ts +0 -2
- package/build/types-ts3.8/esbuild/index.d.ts +0 -6
- package/build/types-ts3.8/rollup/index.d.ts +0 -67
- package/build/types-ts3.8/vite/index.d.ts +0 -9
- package/build/types-ts3.8/webpack/component-annotation-transform.d.ts +0 -11
- package/build/types-ts3.8/webpack/index.d.ts +0 -5
- package/build/types-ts3.8/webpack/webpack4and5.d.ts +0 -99
- package/build/types-ts3.8/webpack/webpack5.d.ts +0 -5
|
@@ -40,8 +40,8 @@ export declare function createComponentNameAnnotateHooks(ignoredComponents: stri
|
|
|
40
40
|
file: string;
|
|
41
41
|
} | null | undefined;
|
|
42
42
|
} | {
|
|
43
|
-
code: string;
|
|
44
43
|
map?: undefined;
|
|
44
|
+
code: string;
|
|
45
45
|
} | null>;
|
|
46
46
|
};
|
|
47
47
|
export declare function getDebugIdSnippet(debugId: string): CodeInjection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAkD,MAAM,SAAS,CAAC;AA+BxF;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C;AAID,eAAO,MAAM,wBAAwB,QAEiC,CAAC;AAEvE;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGlD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAYxG;AAED,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,wBAAgB,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAkD,MAAM,SAAS,CAAC;AA+BxF;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C;AAID,eAAO,MAAM,wBAAwB,QAEiC,CAAC;AAEvE;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGlD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAYxG;AAED,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,wBAAgB,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,OAAO;IAE3F,SAAS,OAAO,IAAI,QAAQ,MAAM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
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../../src/core/sentry/telemetry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAG3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAUrC,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,iBAAiB,EAC1B,mBAAmB,EAAE,OAAO,CAAC,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,MAAM,GAAG,SAAS,GACxC;IAAE,WAAW,EAAE,KAAK,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../../src/core/sentry/telemetry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAG3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAUrC,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,iBAAiB,EAC1B,mBAAmB,EAAE,OAAO,CAAC,OAAO,CAAC,EACrC,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,MAAM,GAAG,SAAS,GACxC;IAAE,WAAW,EAAE,KAAK,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CA+C9C;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,MAAM,EACjB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,IAAI,CAmDN;AAED,wBAAsB,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC,CA2CzF;AAED;;GAEG;AACH,wBAA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C,GACrD;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,SAAS,CAAA;CAAE,GAAG,IAAI,CAmBzC;AAGD,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAI5E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,SAAS,CAUxF;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,GAAG,MAAM,EAAE,CAU3F;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAkBzD;AAED,qBAAa,aAAa;IAMZ,OAAO,CAAC,IAAI;IAHxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC,YAAoB,IAAI,GAAE,MAAW,EAGpC;IAEM,IAAI,IAAI,MAAM,CAMpB;IAEM,OAAO,IAAI,OAAO,CAExB;IAEM,MAAM,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAMhD;IAEM,KAAK,IAAI,IAAI,CAEnB;IAEM,KAAK,IAAI,aAAa,CAE5B;CACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "
|
|
1
|
+
export declare const LIB_VERSION = "11.0.0-alpha.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/core/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/core/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/esbuild/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAsFvC,wBAAgB,mBAAmB,CAAC,WAAW,GAAE,OAAY,GAAG,GAAG,CAkNlE;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/esbuild/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAsFvC,wBAAgB,mBAAmB,CAAC,WAAW,GAAE,OAAY,GAAG,GAAG,CAkNlE;eAGc,mBAAmB;AAClC,YAAY,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -13,8 +13,8 @@ type TransformResult = {
|
|
|
13
13
|
*/
|
|
14
14
|
export declare function _rollupPluginInternal(userOptions: Options | undefined, buildTool: 'rollup' | 'vite', buildToolMajorVersion?: string): {
|
|
15
15
|
name: string;
|
|
16
|
-
buildStart?: undefined;
|
|
17
16
|
transform?: undefined;
|
|
17
|
+
buildStart?: undefined;
|
|
18
18
|
renderChunk?: undefined;
|
|
19
19
|
writeBundle?: undefined;
|
|
20
20
|
} | {
|
|
@@ -42,6 +42,7 @@ export declare function _rollupPluginInternal(userOptions: Options | undefined,
|
|
|
42
42
|
[fileName: string]: unknown;
|
|
43
43
|
}) => Promise<void>;
|
|
44
44
|
} | {
|
|
45
|
+
transform?: undefined;
|
|
45
46
|
name: string;
|
|
46
47
|
buildStart: () => void;
|
|
47
48
|
renderChunk: (code: string, chunk: {
|
|
@@ -59,7 +60,6 @@ export declare function _rollupPluginInternal(userOptions: Options | undefined,
|
|
|
59
60
|
}, bundle: {
|
|
60
61
|
[fileName: string]: unknown;
|
|
61
62
|
}) => Promise<void>;
|
|
62
|
-
transform?: undefined;
|
|
63
63
|
};
|
|
64
64
|
export declare function sentryRollupPlugin(userOptions?: Options): any;
|
|
65
65
|
export type { Options as SentryRollupPluginOptions } from '../core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rollup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAgBvC,OAAO,KAAK,EACV,gCAAgC,EAEjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,WAAW,MAAM,cAAc,CAAC;AAOvC,KAAK,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAuEnH;;GAEG;AAEH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,OAAO,YAAK,EACzB,SAAS,EAAE,QAAQ,GAAG,MAAM,EAC5B,qBAAqB,CAAC,EAAE,MAAM;;;;;;;;sBAqFP,IAAI;uBAOnB,MAAM,MACR,MAAM,SACH,gCAAgC,KACtC,OAAO,CAAC,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rollup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAgBvC,OAAO,KAAK,EACV,gCAAgC,EAEjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,WAAW,MAAM,cAAc,CAAC;AAOvC,KAAK,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,SAAS,GAAG,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;CAChB;AAgBD,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vite/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAI3D,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,KAAK,CAAC;CAChB;AAgBD,eAAO,MAAM,gBAAgB,aAAc,yBAAyB,KAAG,gBAAgB,EAOtF,CAAC;AAEF,YAAY,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack4and5.d.ts","sourceRoot":"","sources":["../../../src/webpack/webpack4and5.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA+C7C,KAAK,kBAAkB,GAAG;IAExB,KAAK,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC;CAC7B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IAExB,KAAK,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC;CAC7B,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,qBAAqB,GAAG,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;AAEhG,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,qBAAqB,CAAC;CACjC,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE;QACR,OAAO,CAAC,EAAE;YACR,YAAY,CAAC,EAAE;gBACb,mBAAmB,EAAE,CAAC,WAAW,EAAE,yBAAyB,KAAK;oBAC/D,M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ACR,YAAY,CAAC,EAAE,kBAAkB,CAAC;QAClC,YAAY,CAAC,EAAE,kBAAkB,CAAC;KACnC,CAAC;CACH,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,KAAK,EAAE;QACL,aAAa,EAAE;YACb,GAAG,EAAE,CAAC,OAAO,EAAE;gBAAE,IAAI,EAAE,MAAM,CAAC;gBAAC,KAAK,EAAE,MAAM,CAAA;aAAE,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;SAC/E,CAAC;KACH,CAAC;CACH,CAAC;AAiBF;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,YAAY,EAAE,kBAAkB,EAChC,YAAY,EAAE,kBAAkB,GACjC,GAAE;IACD,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,YAAY,CAAC,EAAE,kBAAkB,CAAC;CAC9B,kBAC6C,0BAA0B;oBA2DvD,eAAe;EAkGpC;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG;IACjD,YAAY,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG;QACvC;;;;;;;WAOG;QACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;KACtC,CAAC;CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/bundler-plugins",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0-alpha.0",
|
|
4
4
|
"description": "Sentry Bundler Plugins",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/main/packages/bundler-plugins",
|
|
@@ -71,9 +71,7 @@
|
|
|
71
71
|
"build:dev": "yarn build",
|
|
72
72
|
"build:version": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/core/version.ts",
|
|
73
73
|
"build:transpile": "rollup -c rollup.npm.config.mjs",
|
|
74
|
-
"build:types": "
|
|
75
|
-
"build:types:core": "tsc -p tsconfig.types.json",
|
|
76
|
-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
|
|
74
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
77
75
|
"build:watch": "run-p build:transpile:watch",
|
|
78
76
|
"build:dev:watch": "yarn build:watch",
|
|
79
77
|
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
|
|
@@ -88,8 +86,8 @@
|
|
|
88
86
|
"clean": "rimraf build dist coverage sentry-bundler-plugins-*.tgz",
|
|
89
87
|
"clean:all": "run-p clean clean:deps",
|
|
90
88
|
"clean:deps": "rimraf node_modules",
|
|
91
|
-
"lint": "
|
|
92
|
-
"lint:fix": "
|
|
89
|
+
"lint": "oxlint . --type-aware",
|
|
90
|
+
"lint:fix": "oxlint . --fix --type-aware",
|
|
93
91
|
"test": "vitest run",
|
|
94
92
|
"test:unit": "vitest run"
|
|
95
93
|
},
|
|
@@ -112,11 +110,12 @@
|
|
|
112
110
|
"dependencies": {
|
|
113
111
|
"@babel/core": "^7.18.5",
|
|
114
112
|
"@sentry/cli": "^2.58.6",
|
|
115
|
-
"@sentry/core": "
|
|
113
|
+
"@sentry/core": "11.0.0-alpha.0",
|
|
116
114
|
"dotenv": "^17.4.2",
|
|
117
115
|
"find-up": "^5.0.0",
|
|
118
116
|
"glob": "^13.0.6",
|
|
119
|
-
"magic-string": "~0.30.8"
|
|
117
|
+
"magic-string": "~0.30.8",
|
|
118
|
+
"supports-color": "^8.1.1"
|
|
120
119
|
},
|
|
121
120
|
"peerDependencies": {
|
|
122
121
|
"rollup": ">=3.2.0",
|
|
@@ -137,14 +136,14 @@
|
|
|
137
136
|
"@types/webpack": "npm:@types/webpack@^4",
|
|
138
137
|
"premove": "^4.0.0",
|
|
139
138
|
"rolldown": "^1.0.0",
|
|
140
|
-
"vitest": "^3.2.
|
|
139
|
+
"vitest": "^3.2.7",
|
|
141
140
|
"webpack": "5.104.1"
|
|
142
141
|
},
|
|
143
142
|
"volta": {
|
|
144
143
|
"extends": "../../package.json"
|
|
145
144
|
},
|
|
146
145
|
"engines": {
|
|
147
|
-
"node": ">=
|
|
146
|
+
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
|
|
148
147
|
},
|
|
149
148
|
"sideEffects": [
|
|
150
149
|
"./sentry-release-injection-file.js",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare const WEB_COMPONENT_NAME = "data-sentry-component";
|
|
2
|
-
export declare const WEB_ELEMENT_NAME = "data-sentry-element";
|
|
3
|
-
export declare const WEB_SOURCE_FILE_NAME = "data-sentry-source-file";
|
|
4
|
-
export declare const NATIVE_COMPONENT_NAME = "dataSentryComponent";
|
|
5
|
-
export declare const NATIVE_ELEMENT_NAME = "dataSentryElement";
|
|
6
|
-
export declare const NATIVE_SOURCE_FILE_NAME = "dataSentrySourceFile";
|
|
7
|
-
export type ComponentAnnotationAttributeNames = readonly [
|
|
8
|
-
string,
|
|
9
|
-
string,
|
|
10
|
-
string
|
|
11
|
-
];
|
|
12
|
-
export type ComponentAnnotationAttribute = [
|
|
13
|
-
string,
|
|
14
|
-
string
|
|
15
|
-
];
|
|
16
|
-
type ComponentAnnotationAttributesInput = {
|
|
17
|
-
attributeNames: ComponentAnnotationAttributeNames;
|
|
18
|
-
componentName: string;
|
|
19
|
-
elementName: string;
|
|
20
|
-
existingAttributes: ReadonlySet<string>;
|
|
21
|
-
ignoredComponents: readonly string[];
|
|
22
|
-
isFragment: boolean;
|
|
23
|
-
sourceFileName?: string;
|
|
24
|
-
};
|
|
25
|
-
export declare function getComponentAnnotationAttributes({ attributeNames, componentName, elementName, existingAttributes, ignoredComponents, isFragment, sourceFileName, }: ComponentAnnotationAttributesInput): ComponentAnnotationAttribute[];
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=component-annotation.d.ts.map
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MIT License
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2020 Engineering at FullStory
|
|
5
|
-
*
|
|
6
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
* in the Software without restriction, including without limitation the rights
|
|
9
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
* furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
* copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
export declare const KNOWN_INCOMPATIBLE_PLUGINS: string[];
|
|
26
|
-
export declare const DEFAULT_IGNORED_ELEMENTS: string[];
|
|
27
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MIT License
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2020 Engineering at FullStory
|
|
5
|
-
*
|
|
6
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
* in the Software without restriction, including without limitation the rights
|
|
9
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
* furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
* copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* The following code is based on the FullStory Babel plugin, but has been modified to work
|
|
27
|
-
* with Sentry products:
|
|
28
|
-
*
|
|
29
|
-
* - Added `sentry` to data properties, i.e `data-sentry-component`
|
|
30
|
-
* - Converted to TypeScript
|
|
31
|
-
* - Code cleanups
|
|
32
|
-
* - Highly modified to inject the data attributes into the root HTML elements of a component.
|
|
33
|
-
*/
|
|
34
|
-
import * as Babel from '@babel/core';
|
|
35
|
-
import { PluginObj, PluginPass } from '@babel/core';
|
|
36
|
-
interface AnnotationOpts {
|
|
37
|
-
native?: boolean;
|
|
38
|
-
ignoredComponents?: string[];
|
|
39
|
-
}
|
|
40
|
-
interface FragmentContext {
|
|
41
|
-
fragmentAliases: Set<string>;
|
|
42
|
-
reactNamespaceAliases: Set<string>;
|
|
43
|
-
}
|
|
44
|
-
interface AnnotationPluginPass extends PluginPass {
|
|
45
|
-
opts: AnnotationOpts;
|
|
46
|
-
sentryFragmentContext?: FragmentContext;
|
|
47
|
-
}
|
|
48
|
-
type AnnotationPlugin = PluginObj<AnnotationPluginPass>;
|
|
49
|
-
export declare function experimentalComponentNameAnnotatePlugin({ types: t }: typeof Babel): AnnotationPlugin;
|
|
50
|
-
export {};
|
|
51
|
-
//# sourceMappingURL=experimental.d.ts.map
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MIT License
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2020 Engineering at FullStory
|
|
5
|
-
*
|
|
6
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
* in the Software without restriction, including without limitation the rights
|
|
9
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
* furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
* copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* The following code is based on the FullStory Babel plugin, but has been modified to work
|
|
27
|
-
* with Sentry products:
|
|
28
|
-
*
|
|
29
|
-
* - Added `sentry` to data properties, i.e `data-sentry-component`
|
|
30
|
-
* - Converted to TypeScript
|
|
31
|
-
* - Code cleanups
|
|
32
|
-
*/
|
|
33
|
-
import * as Babel from '@babel/core';
|
|
34
|
-
import { PluginObj, PluginPass } from '@babel/core';
|
|
35
|
-
interface AutoInjectSentryLabelOpts {
|
|
36
|
-
textComponentNames?: string[];
|
|
37
|
-
}
|
|
38
|
-
interface AnnotationOpts {
|
|
39
|
-
native?: boolean;
|
|
40
|
-
'annotate-fragments'?: boolean;
|
|
41
|
-
ignoredComponents?: string[];
|
|
42
|
-
/** @hidden */
|
|
43
|
-
autoInjectSentryLabel?: boolean | AutoInjectSentryLabelOpts;
|
|
44
|
-
}
|
|
45
|
-
interface FragmentContext {
|
|
46
|
-
fragmentAliases: Set<string>;
|
|
47
|
-
reactNamespaceAliases: Set<string>;
|
|
48
|
-
}
|
|
49
|
-
interface AnnotationPluginPass extends PluginPass {
|
|
50
|
-
opts: AnnotationOpts;
|
|
51
|
-
sentryFragmentContext?: FragmentContext;
|
|
52
|
-
}
|
|
53
|
-
type AnnotationPlugin = PluginObj<AnnotationPluginPass>;
|
|
54
|
-
export { experimentalComponentNameAnnotatePlugin } from './experimental';
|
|
55
|
-
export default function componentNameAnnotatePlugin({ types: t }: typeof Babel): AnnotationPlugin;
|
|
56
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { NormalizedOptions } from './options-mapping';
|
|
2
|
-
import { Logger } from './logger';
|
|
3
|
-
import { Options, SentrySDKBuildFlags } from './types';
|
|
4
|
-
/** @internal Exported for testing only. */
|
|
5
|
-
export declare function _resetDeployedReleasesForTesting(): void;
|
|
6
|
-
export type SentryBuildPluginManager = {
|
|
7
|
-
/**
|
|
8
|
-
* A logger instance that takes the options passed to the build plugin manager into account. (for silencing and log level etc.)
|
|
9
|
-
*/
|
|
10
|
-
logger: Logger;
|
|
11
|
-
/**
|
|
12
|
-
* Options after normalization. Includes things like the inferred release name.
|
|
13
|
-
*/
|
|
14
|
-
normalizedOptions: NormalizedOptions;
|
|
15
|
-
/**
|
|
16
|
-
* Magic strings and their replacement values that can be used for bundle size optimizations. This already takes
|
|
17
|
-
* into account the options passed to the build plugin manager.
|
|
18
|
-
*/
|
|
19
|
-
bundleSizeOptimizationReplacementValues: SentrySDKBuildFlags;
|
|
20
|
-
/**
|
|
21
|
-
* Metadata that should be injected into bundles if possible. Takes into account options passed to the build plugin manager.
|
|
22
|
-
*/
|
|
23
|
-
bundleMetadata: Record<string, unknown>;
|
|
24
|
-
/**
|
|
25
|
-
* Contains utility functions for emitting telemetry via the build plugin manager.
|
|
26
|
-
*/
|
|
27
|
-
telemetry: {
|
|
28
|
-
/**
|
|
29
|
-
* Emits a `Sentry Bundler Plugin execution` signal.
|
|
30
|
-
*/
|
|
31
|
-
emitBundlerPluginExecutionSignal(): Promise<void>;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Will potentially create a release based on the build plugin manager options.
|
|
35
|
-
*
|
|
36
|
-
* Also
|
|
37
|
-
* - finalizes the release
|
|
38
|
-
* - sets commits
|
|
39
|
-
* - uploads legacy sourcemaps
|
|
40
|
-
* - adds deploy information
|
|
41
|
-
*/
|
|
42
|
-
createRelease(): Promise<void>;
|
|
43
|
-
/**
|
|
44
|
-
* Injects debug IDs into the build artifacts.
|
|
45
|
-
*
|
|
46
|
-
* This is a separate function from `uploadSourcemaps` because that needs to run before the sourcemaps are uploaded.
|
|
47
|
-
* Usually the respective bundler-plugin will take care of this before the sourcemaps are uploaded.
|
|
48
|
-
* Only use this if you need to manually inject debug IDs into the build artifacts.
|
|
49
|
-
*/
|
|
50
|
-
injectDebugIds(buildArtifactPaths: string[]): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* Uploads sourcemaps using the "Debug ID" method. This function takes a list of build artifact paths that will be uploaded
|
|
53
|
-
*/
|
|
54
|
-
uploadSourcemaps(buildArtifactPaths: string[], opts?: {
|
|
55
|
-
prepareArtifacts?: boolean;
|
|
56
|
-
}): Promise<void>;
|
|
57
|
-
/**
|
|
58
|
-
* Will delete artifacts based on the passed `sourcemaps.filesToDeleteAfterUpload` option.
|
|
59
|
-
*/
|
|
60
|
-
deleteArtifacts(): Promise<void>;
|
|
61
|
-
createDependencyOnBuildArtifacts: () => () => void;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Creates a build plugin manager that exposes primitives for everything that a Sentry JavaScript SDK or build tooling may do during a build.
|
|
65
|
-
*
|
|
66
|
-
* The build plugin manager's behavior strongly depends on the options that are passed in.
|
|
67
|
-
*/
|
|
68
|
-
export declare function createSentryBuildPluginManager(userOptions: Options, bundlerPluginMetaContext: {
|
|
69
|
-
/**
|
|
70
|
-
* E.g. `webpack` or `nextjs` or `turbopack`
|
|
71
|
-
*/
|
|
72
|
-
buildTool: string;
|
|
73
|
-
/**
|
|
74
|
-
* E.g. `5` for webpack v5 or `4` for Rollup v4
|
|
75
|
-
*/
|
|
76
|
-
buildToolMajorVersion?: string;
|
|
77
|
-
/**
|
|
78
|
-
* E.g. `[sentry-webpack-plugin]` or `[@sentry/nextjs]`
|
|
79
|
-
*/
|
|
80
|
-
loggerPrefix: string;
|
|
81
|
-
}): SentryBuildPluginManager;
|
|
82
|
-
//# sourceMappingURL=build-plugin-manager.d.ts.map
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { isObjectLike } from '@sentry/core';
|
|
2
|
-
import { SourceMap } from 'magic-string';
|
|
3
|
-
import { ComponentAnnotationAttribute } from '../babel-plugin/component-annotation';
|
|
4
|
-
export { isObjectLike };
|
|
5
|
-
export type AstNode = {
|
|
6
|
-
type: string;
|
|
7
|
-
start?: number;
|
|
8
|
-
end?: number;
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
};
|
|
11
|
-
export type JSXElementNode = AstNode & {
|
|
12
|
-
type: 'JSXElement';
|
|
13
|
-
openingElement: JSXOpeningElementNode;
|
|
14
|
-
children?: AstNode[];
|
|
15
|
-
};
|
|
16
|
-
export type JSXFragmentNode = AstNode & {
|
|
17
|
-
type: 'JSXFragment';
|
|
18
|
-
children?: AstNode[];
|
|
19
|
-
};
|
|
20
|
-
export type JSXRootNode = JSXElementNode | JSXFragmentNode;
|
|
21
|
-
export type JSXOpeningElementNode = AstNode & {
|
|
22
|
-
type: 'JSXOpeningElement';
|
|
23
|
-
name: AstNode;
|
|
24
|
-
attributes?: AstNode[];
|
|
25
|
-
selfClosing?: boolean;
|
|
26
|
-
};
|
|
27
|
-
export type FragmentContext = {
|
|
28
|
-
fragmentAliases: Set<string>;
|
|
29
|
-
reactNamespaceAliases: Set<string>;
|
|
30
|
-
};
|
|
31
|
-
export type AttributeInsertion = {
|
|
32
|
-
offset: number;
|
|
33
|
-
attributes: ComponentAnnotationAttribute[];
|
|
34
|
-
};
|
|
35
|
-
export type ParseAstAsync = (code: string, options: {
|
|
36
|
-
lang: 'jsx' | 'tsx';
|
|
37
|
-
}) => Promise<unknown>;
|
|
38
|
-
export type MagicStringLike = {
|
|
39
|
-
appendLeft(offset: number, content: string): void;
|
|
40
|
-
toString(): string;
|
|
41
|
-
generateMap?(options: {
|
|
42
|
-
file?: string;
|
|
43
|
-
source?: string;
|
|
44
|
-
includeContent?: boolean;
|
|
45
|
-
hires?: boolean | 'boundary';
|
|
46
|
-
}): SourceMap | string;
|
|
47
|
-
};
|
|
48
|
-
export type ComponentAnnotationTransformMeta = {
|
|
49
|
-
magicString?: MagicStringLike;
|
|
50
|
-
};
|
|
51
|
-
export type ComponentAnnotationTransformResult = {
|
|
52
|
-
code: string;
|
|
53
|
-
map?: SourceMap | string;
|
|
54
|
-
} | null | undefined;
|
|
55
|
-
export declare function isAstNode(value: unknown): value is AstNode;
|
|
56
|
-
export declare function walkAst(node: unknown, visit: (node: AstNode) => void): void;
|
|
57
|
-
//# sourceMappingURL=component-annotation-vite-ast.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AttributeInsertion, FragmentContext, JSXElementNode, JSXFragmentNode, JSXOpeningElementNode, JSXRootNode } from './component-annotation-vite-ast';
|
|
2
|
-
type PendingInsertion = {
|
|
3
|
-
offset: number;
|
|
4
|
-
attributeValues: Map<string, string>;
|
|
5
|
-
};
|
|
6
|
-
export declare function isJSXElement(value: unknown): value is JSXElementNode;
|
|
7
|
-
export declare function isJSXFragment(value: unknown): value is JSXFragmentNode;
|
|
8
|
-
export declare function isJSXRoot(value: unknown): value is JSXRootNode;
|
|
9
|
-
export declare function getStringName(node: unknown): string | null;
|
|
10
|
-
export declare function getJSXName(name: unknown): string;
|
|
11
|
-
export declare function getInsertionOffset(code: string, openingElement: JSXOpeningElementNode): number | null;
|
|
12
|
-
export declare function isReactFragment(openingElement: JSXOpeningElementNode, fragmentContext: FragmentContext): boolean;
|
|
13
|
-
export declare function addPendingAttributes(code: string, openingElement: JSXOpeningElementNode, componentName: string, ignoredComponents: string[], fragmentContext: FragmentContext, sourceFileName: string, insertionsByOffset: Map<number, PendingInsertion>): void;
|
|
14
|
-
export declare function toAttributeInsertions(insertionsByOffset: Map<number, PendingInsertion>): AttributeInsertion[];
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=component-annotation-vite-jsx.d.ts.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { AstNode, AttributeInsertion } from './component-annotation-vite-ast';
|
|
2
|
-
export declare function collectViteComponentAnnotationInsertions(code: string, ast: AstNode, ignoredComponents: string[], sourceFileName: string): AttributeInsertion[];
|
|
3
|
-
//# sourceMappingURL=component-annotation-vite-walk.d.ts.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentAnnotationTransformMeta, ComponentAnnotationTransformResult, ParseAstAsync } from './component-annotation-vite-ast';
|
|
2
|
-
export { ComponentAnnotationTransformMeta, ComponentAnnotationTransformResult, } from './component-annotation-vite-ast';
|
|
3
|
-
export declare function createViteComponentNameAnnotateHooks(ignoredComponents: string[], getParseAstAsync: () => Promise<ParseAstAsync | null>): {
|
|
4
|
-
transform(code: string, id: string, meta?: ComponentAnnotationTransformMeta): Promise<ComponentAnnotationTransformResult>;
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=component-annotation-vite.d.ts.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SentryBuildPluginManager } from './build-plugin-manager';
|
|
2
|
-
import { Logger } from './logger';
|
|
3
|
-
import { ResolveSourceMapHook, RewriteSourcesHook } from './types';
|
|
4
|
-
interface DebugIdUploadPluginOptions {
|
|
5
|
-
sentryBuildPluginManager: SentryBuildPluginManager;
|
|
6
|
-
}
|
|
7
|
-
export declare function createDebugIdUploadFunction({ sentryBuildPluginManager }: DebugIdUploadPluginOptions): (buildArtifactPaths: string[]) => Promise<void>;
|
|
8
|
-
export declare function prepareBundleForDebugIdUpload(bundleFilePath: string, uploadFolder: string, chunkIndex: number, logger: Logger, rewriteSourcesHook: RewriteSourcesHook, resolveSourceMapHook: ResolveSourceMapHook | undefined): Promise<void>;
|
|
9
|
-
/**
|
|
10
|
-
* Applies a set of heuristics to find the source map for a particular bundle.
|
|
11
|
-
*
|
|
12
|
-
* @returns the path to the bundle's source map or `undefined` if none could be found.
|
|
13
|
-
*/
|
|
14
|
-
export declare function determineSourceMapPathFromBundle(bundlePath: string, bundleSource: string, logger: Logger, resolveSourceMapHook: ResolveSourceMapHook | undefined): Promise<string | undefined>;
|
|
15
|
-
export declare function defaultRewriteSourcesHook(source: string): string;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=debug-id-upload.d.ts.map
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { CodeInjection } from './utils';
|
|
2
|
-
/**
|
|
3
|
-
* Determines whether the Sentry CLI binary is in its expected location.
|
|
4
|
-
* This function is useful since `@sentry/cli` installs the binary via a post-install
|
|
5
|
-
* script and post-install scripts may not always run. E.g. with `npm i --ignore-scripts`.
|
|
6
|
-
*/
|
|
7
|
-
export declare function sentryCliBinaryExists(): boolean;
|
|
8
|
-
export declare const COMMENT_USE_STRICT_REGEX: RegExp;
|
|
9
|
-
/**
|
|
10
|
-
* Checks if a file is a JavaScript file based on its extension.
|
|
11
|
-
* Handles query strings and hashes in the filename.
|
|
12
|
-
*/
|
|
13
|
-
export declare function isJsFile(fileName: string): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Checks if a chunk should be skipped for code injection
|
|
16
|
-
*
|
|
17
|
-
* This is necessary to handle Vite's MPA (multi-page application) mode where
|
|
18
|
-
* HTML entry points create "facade" chunks that should not contain injected code.
|
|
19
|
-
* See: https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/829
|
|
20
|
-
*
|
|
21
|
-
* However, in SPA mode, the main bundle also has an HTML facade but contains
|
|
22
|
-
* substantial application code. We should NOT skip injection for these bundles.
|
|
23
|
-
*
|
|
24
|
-
* @param code - The chunk's code content
|
|
25
|
-
* @param facadeModuleId - The facade module ID (if any) - HTML files create facade chunks
|
|
26
|
-
* @returns true if the chunk should be skipped
|
|
27
|
-
*/
|
|
28
|
-
export declare function shouldSkipCodeInjection(code: string, facadeModuleId: string | null | undefined): boolean;
|
|
29
|
-
export { globFiles } from './glob';
|
|
30
|
-
export declare function createComponentNameAnnotateHooks(ignoredComponents: string[], injectIntoHtml: boolean): {
|
|
31
|
-
transform(this: void, code: string, id: string): Promise<{
|
|
32
|
-
code: string;
|
|
33
|
-
map: {
|
|
34
|
-
version: number;
|
|
35
|
-
sources: string[];
|
|
36
|
-
names: string[];
|
|
37
|
-
sourceRoot?: string | undefined;
|
|
38
|
-
sourcesContent?: string[] | undefined;
|
|
39
|
-
mappings: string;
|
|
40
|
-
file: string;
|
|
41
|
-
} | null | undefined;
|
|
42
|
-
} | {
|
|
43
|
-
code: string;
|
|
44
|
-
map?: undefined;
|
|
45
|
-
} | null>;
|
|
46
|
-
};
|
|
47
|
-
export declare function getDebugIdSnippet(debugId: string): CodeInjection;
|
|
48
|
-
export { Logger } from './logger';
|
|
49
|
-
export { Options, SentrySDKBuildFlags } from './types';
|
|
50
|
-
export { CodeInjection, replaceBooleanFlagsInCode, stringToUUID, generateReleaseInjectorCode, generateModuleMetadataInjectorCode, } from './utils';
|
|
51
|
-
export { createSentryBuildPluginManager } from './build-plugin-manager';
|
|
52
|
-
export { createDebugIdUploadFunction } from './debug-id-upload';
|
|
53
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface LoggerOptions {
|
|
2
|
-
silent: boolean;
|
|
3
|
-
debug: boolean;
|
|
4
|
-
prefix: string;
|
|
5
|
-
}
|
|
6
|
-
export type Logger = {
|
|
7
|
-
info(message: string, ...params: unknown[]): void;
|
|
8
|
-
warn(message: string, ...params: unknown[]): void;
|
|
9
|
-
error(message: string, ...params: unknown[]): void;
|
|
10
|
-
debug(message: string, ...params: unknown[]): void;
|
|
11
|
-
};
|
|
12
|
-
export declare function createLogger(options: LoggerOptions): Logger;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=logger.d.ts.map
|