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.0.0 to 2.1.0

dist/types/debug-id-upload.d.ts

11

dist/types/index.d.ts

@@ -6,2 +6,3 @@ import { UnpluginOptions } from "unplugin";

debugIdInjectionPlugin: () => UnpluginOptions;
debugIdUploadPlugin: (upload: (buildArtifacts: string[]) => Promise<void>) => UnpluginOptions;
}

@@ -35,3 +36,3 @@ /**

*/
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, debugIdInjectionPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options, true>;
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, debugIdInjectionPlugin, debugIdUploadPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options, true>;
export declare function getBuildInformation(): {

@@ -68,3 +69,11 @@ deps: string[];

};
export declare function createRollupDebugIdUploadHooks(upload: (buildArtifacts: string[]) => Promise<void>): {
writeBundle(outputOptions: {
dir?: string;
file?: string;
}, bundle: {
[fileName: string]: unknown;
}): Promise<void>;
};
export declare function getDebugIdSnippet(debugId: string): string;
export type { Options } from "./types";

6

dist/types/options-mapping.d.ts
import { Logger } from "./sentry/logger";
import { Options as UserOptions } from "./types";
export declare type NormalizedOptions = ReturnType<typeof normalizeUserOptions>;
export type NormalizedOptions = ReturnType<typeof normalizeUserOptions>;
export declare const SENTRY_SAAS_URL = "https://sentry.io";

@@ -17,3 +17,3 @@ export declare function normalizeUserOptions(userOptions: UserOptions): {

sourcemaps: {
assets: string | string[];
assets?: string | string[] | undefined;
ignore?: string | string[] | undefined;

@@ -24,2 +24,3 @@ rewriteSources?: ((source: string, map: any) => string) | undefined;

release: {
name: string | undefined;
inject: boolean;

@@ -30,3 +31,2 @@ create: boolean;

cleanArtifacts: boolean;
name?: string | undefined;
dist?: string | undefined;

@@ -33,0 +33,0 @@ setCommits?: (({

@@ -6,3 +6,3 @@ interface LoggerOptions {

}
export declare type Logger = {
export type Logger = {
info(message: string, ...params: unknown[]): void;

@@ -9,0 +9,0 @@ warn(message: string, ...params: unknown[]): void;

@@ -86,2 +86,4 @@ export interface Options {

*
* If this option is not specified, the plugin will try to upload all JavaScript files and source map files that are created during build.
*
* The globbing patterns follow the implementation of the `glob` package. (https://www.npmjs.com/package/glob)

@@ -91,3 +93,3 @@ *

*/
assets: string | string[];
assets?: string | string[];
/**

@@ -210,3 +212,3 @@ * A glob or an array of globs that specifies which build artifacts should not be uploaded to Sentry.

}
export declare type IncludeEntry = {
export type IncludeEntry = {
/**

@@ -282,3 +284,3 @@ * One or more paths to scan for files to upload.

};
declare type SetCommitsOptions = (AutoSetCommitsOptions | ManualSetCommitsOptions) & {
type SetCommitsOptions = (AutoSetCommitsOptions | ManualSetCommitsOptions) & {
/**

@@ -309,3 +311,3 @@ * The commit before the beginning of this release (in other words,

};
declare type AutoSetCommitsOptions = {
type AutoSetCommitsOptions = {
/**

@@ -323,3 +325,3 @@ * Automatically sets `commit` and `previousCommit`. Sets `commit` to `HEAD`

};
declare type ManualSetCommitsOptions = {
type ManualSetCommitsOptions = {
auto?: false | undefined;

@@ -339,3 +341,3 @@ /**

};
declare type DeployOptions = {
type DeployOptions = {
/**

@@ -342,0 +344,0 @@ * Environment for this release. Values that make sense here would

@@ -8,3 +8,3 @@ /**

export declare function arrayify<T = unknown>(maybeArray: T | T[]): T[];
declare type PackageJson = Record<string, unknown>;
type PackageJson = Record<string, unknown>;
/**

@@ -41,2 +41,3 @@ * Get the closes package.json from a given starting point upwards.

}): string;
export declare function stripQueryAndHashFromPath(path: string): string;
export {};
{
"name": "@sentry/bundler-plugin-core",
"version": "2.0.0",
"version": "2.1.0",
"description": "Sentry Bundler Plugin Core",

@@ -70,4 +70,4 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",

"@rollup/plugin-replace": "^4.0.0",
"@sentry-internal/eslint-config": "2.0.0",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.0.0",
"@sentry-internal/eslint-config": "2.1.0",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.1.0",
"@swc/core": "^1.2.205",

@@ -74,0 +74,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

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