@sentry/bundler-plugin-core 0.5.0 → 0.6.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.
@@ -1,5 +1,5 @@
1
1
  import { Logger } from "./sentry/logger";
2
- export declare function injectDebugIdSnippetIntoChunk(code: string): {
2
+ export declare function injectDebugIdSnippetIntoChunk(code: string, filename?: string): {
3
3
  code: string;
4
4
  map: import("magic-string").SourceMap;
5
5
  };
@@ -195,7 +195,7 @@ export declare type Options = Omit<IncludeEntry, "paths"> & {
195
195
  /**
196
196
  * Configuration for debug ID upload.
197
197
  *
198
- * Note: Currently only functional for Vite and Rollup.
198
+ * Note: Currently only functional for Vite, Webpack and Rollup.
199
199
  */
200
200
  debugIdUpload?: {
201
201
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/bundler-plugin-core",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Sentry Bundler Plugin Core",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/bundler-plugin-core",
@@ -42,7 +42,8 @@
42
42
  "find-up": "5.0.0",
43
43
  "glob": "9.3.2",
44
44
  "magic-string": "0.27.0",
45
- "unplugin": "1.0.1"
45
+ "unplugin": "1.0.1",
46
+ "webpack-sources": "3.2.3"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@babel/core": "7.18.5",
@@ -53,8 +54,8 @@
53
54
  "@rollup/plugin-json": "4.1.0",
54
55
  "@rollup/plugin-node-resolve": "13.3.0",
55
56
  "@rollup/plugin-replace": "^4.0.0",
56
- "@sentry-internal/eslint-config": "0.5.0",
57
- "@sentry-internal/sentry-bundler-plugin-tsconfig": "0.5.0",
57
+ "@sentry-internal/eslint-config": "0.6.0",
58
+ "@sentry-internal/sentry-bundler-plugin-tsconfig": "0.6.0",
58
59
  "@swc/core": "^1.2.205",
59
60
  "@swc/jest": "^0.2.21",
60
61
  "@types/jest": "^28.1.3",