Socket
Socket
Sign inDemoInstall

@sentry/bundler-plugin-core

Package Overview
Dependencies
Maintainers
12
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/bundler-plugin-core - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

dist/types/options-mapping.d.ts

@@ -6,3 +6,3 @@ import { Logger } from "./sentry/logger";

declare type NormalizedInternalOptions = {
entries: (string | RegExp)[] | ((filePath: string) => boolean) | undefined;
releaseInjectionTargets: (string | RegExp)[] | ((filePath: string) => boolean) | undefined;
include: InternalIncludeEntry[];

@@ -9,0 +9,0 @@ };

@@ -55,12 +55,15 @@ import { Hub } from "@sentry/core";

/**
* Filter for bundle entry points that should contain the provided release.
* Filter for modules that the release should be injected in.
*
* This option takes a string, a regular expression, or an array containing strings, regular expressions, or both.
* It's also possible to provide a filter function that takes the absolute path of a processed entrypoint and should
* return `true` if the release should be injected into the entrypoint and `false` otherwise. String values of this
* option require a full match with the absolute path of the bundle.
* This option takes a string, a regular expression, or an array containing strings,
* regular expressions, or both. It's also possible to provide a filter function
* that takes the absolute path of a processed module. It should return `true`
* if the release should be injected into the module and `false` otherwise. String
* values of this option require a full match with the absolute path of the module.
*
* By default, the release will be injected into all entry points.
* By default, the release will be injected into all modules - however, bundlers
* will include the injected release code only once per entrypoint.
* If release injection should be disabled, provide an empty array here.
*/
entries?: (string | RegExp)[] | RegExp | string | ((filePath: string) => boolean);
releaseInjectionTargets?: (string | RegExp)[] | RegExp | string | ((filePath: string) => boolean);
/**

@@ -67,0 +70,0 @@ * Determines if the Sentry release record should be automatically finalized

{
"name": "@sentry/bundler-plugin-core",
"version": "0.1.0",
"version": "0.2.0",
"description": "Sentry Bundler Plugin Core",

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

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

@@ -57,0 +57,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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc