@sentry/bundler-plugin-core 0.2.4 → 0.4.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.
- package/dist/cjs/index.js +83 -120
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +83 -120
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/options-mapping.d.ts +1 -1
- package/dist/types/types.d.ts +4 -8
- package/package.json +5 -5
package/dist/types/types.d.ts
CHANGED
|
@@ -60,9 +60,8 @@ export declare type Options = Omit<IncludeEntry, "paths"> & {
|
|
|
60
60
|
* if the release should be injected into the module and `false` otherwise. String
|
|
61
61
|
* values of this option require a full match with the absolute path of the module.
|
|
62
62
|
*
|
|
63
|
-
* By default, the release will be injected into all
|
|
64
|
-
*
|
|
65
|
-
* If release injection should be disabled, provide an empty array here.
|
|
63
|
+
* By default, the release will be injected into all entrypoints. If release
|
|
64
|
+
* injection should be disabled, provide an empty array here.
|
|
66
65
|
*/
|
|
67
66
|
releaseInjectionTargets?: (string | RegExp)[] | RegExp | string | ((filePath: string) => boolean);
|
|
68
67
|
/**
|
|
@@ -90,12 +89,9 @@ export declare type Options = Omit<IncludeEntry, "paths"> & {
|
|
|
90
89
|
*/
|
|
91
90
|
vcsRemote?: string;
|
|
92
91
|
/**
|
|
93
|
-
*
|
|
94
|
-
* The format should be `header-key: header-value`.
|
|
95
|
-
*
|
|
96
|
-
* This value can also be specified via the `CUSTOM_HEADER` environment variable.
|
|
92
|
+
* Headers added to every outgoing network request.
|
|
97
93
|
*/
|
|
98
|
-
|
|
94
|
+
headers?: Record<string, string>;
|
|
99
95
|
/**
|
|
100
96
|
* Attempts a dry run (useful for dev environments), making release creation
|
|
101
97
|
* a no-op.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/bundler-plugin-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"fix": "eslint ./src ./test --format stylish --fix"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@sentry/cli": "^
|
|
44
|
+
"@sentry/cli": "^2.10.0",
|
|
45
45
|
"@sentry/node": "^7.19.0",
|
|
46
46
|
"@sentry/tracing": "^7.19.0",
|
|
47
47
|
"magic-string": "0.27.0",
|
|
48
|
-
"unplugin": "0.
|
|
48
|
+
"unplugin": "1.0.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@babel/core": "7.18.5",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@rollup/plugin-json": "4.1.0",
|
|
57
57
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
58
58
|
"@rollup/plugin-replace": "^4.0.0",
|
|
59
|
-
"@sentry-internal/eslint-config": "0.
|
|
60
|
-
"@sentry-internal/sentry-bundler-plugin-tsconfig": "0.
|
|
59
|
+
"@sentry-internal/eslint-config": "0.4.0",
|
|
60
|
+
"@sentry-internal/sentry-bundler-plugin-tsconfig": "0.4.0",
|
|
61
61
|
"@swc/core": "^1.2.205",
|
|
62
62
|
"@swc/jest": "^0.2.21",
|
|
63
63
|
"@types/jest": "^28.1.3",
|