@sentry/bundler-plugin-core
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -5,2 +5,3 @@ import { UnpluginOptions } from "unplugin"; | ||
releaseInjectionPlugin: (injectionCode: string) => UnpluginOptions; | ||
moduleMetadataInjectionPlugin?: (injectionCode: string) => UnpluginOptions; | ||
debugIdInjectionPlugin: () => UnpluginOptions; | ||
@@ -36,3 +37,3 @@ debugIdUploadPlugin: (upload: (buildArtifacts: string[]) => Promise<void>) => UnpluginOptions; | ||
*/ | ||
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, debugIdInjectionPlugin, debugIdUploadPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options, true>; | ||
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, moduleMetadataInjectionPlugin, debugIdInjectionPlugin, debugIdUploadPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options, true>; | ||
export declare function getBuildInformation(): { | ||
@@ -39,0 +40,0 @@ deps: string[]; |
@@ -56,2 +56,3 @@ import { Logger } from "./sentry/logger"; | ||
injectBuildInformation?: boolean | undefined; | ||
moduleMetadata?: any; | ||
}; | ||
@@ -58,0 +59,0 @@ }; |
@@ -80,3 +80,2 @@ export interface Options { | ||
* Options for source maps uploading. | ||
* Leave this option undefined if you do not want to upload source maps to Sentry. | ||
*/ | ||
@@ -219,4 +218,25 @@ sourcemaps?: { | ||
injectBuildInformation?: boolean; | ||
/** | ||
* Metadata associated with this module. | ||
* | ||
* The metadata is serialized and can be looked up at runtime by filename. | ||
* | ||
* Metadata can either be passed directly or alternatively a callback can be provided that will be | ||
* called with the following arguments: | ||
* - `org`: The organization slug. | ||
* - `project`: The project slug. | ||
* - `release`: The release name. | ||
* | ||
* | ||
* Note: This option is currently only supported by `@sentry/webpack-plugin`. | ||
*/ | ||
moduleMetadata?: any | ModuleMetadataCallback; | ||
}; | ||
} | ||
export interface ModuleMetadataCallbackArgs { | ||
org?: string; | ||
project?: string; | ||
release?: string; | ||
} | ||
export type ModuleMetadataCallback = (args: ModuleMetadataCallbackArgs) => object; | ||
export type IncludeEntry = { | ||
@@ -223,0 +243,0 @@ /** |
@@ -40,4 +40,5 @@ /** | ||
}): string; | ||
export declare function generateModuleMetadataInjectorCode(metadata: any): string; | ||
export declare function stripQueryAndHashFromPath(path: string): string; | ||
export {}; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@sentry/bundler-plugin-core", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "Sentry Bundler Plugin Core", | ||
@@ -56,4 +56,4 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"@sentry/cli": "^2.17.0", | ||
"@sentry/node": "7.53.1", | ||
"@sentry/utils": "7.53.1", | ||
"@sentry/node": "^7.60.0", | ||
"@sentry/utils": "^7.60.0", | ||
"dotenv": "^16.3.1", | ||
@@ -73,4 +73,4 @@ "find-up": "5.0.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sentry-internal/eslint-config": "2.4.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.4.0", | ||
"@sentry-internal/eslint-config": "2.5.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.5.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -77,0 +77,0 @@ "@swc/jest": "^0.2.21", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
432388
4271
+ Added@sentry-internal/tracing@7.118.0(transitive)
+ Added@sentry/core@7.118.0(transitive)
+ Added@sentry/integrations@7.118.0(transitive)
+ Added@sentry/node@7.118.0(transitive)
+ Added@sentry/types@7.118.0(transitive)
+ Added@sentry/utils@7.118.0(transitive)
+ Addedimmediate@3.0.6(transitive)
+ Addedlie@3.1.1(transitive)
+ Addedlocalforage@1.10.0(transitive)
- Removed@sentry-internal/tracing@7.53.1(transitive)
- Removed@sentry/core@7.53.1(transitive)
- Removed@sentry/node@7.53.1(transitive)
- Removed@sentry/types@7.53.1(transitive)
- Removed@sentry/utils@7.53.1(transitive)
- Removedcookie@0.4.2(transitive)
- Removedlru_map@0.3.3(transitive)
- Removedtslib@1.14.1(transitive)
Updated@sentry/node@^7.60.0
Updated@sentry/utils@^7.60.0