You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@sentry/bundler-plugin-core

Package Overview
Dependencies
Maintainers
12
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.0 to 2.5.0

3

dist/types/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc