@depup/sentry__vite-plugin 5.1.1-depup.0 → 5.2.0-depup.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/README.md +2 -2
- package/changes.json +1 -1
- package/dist/cjs/index.js +7 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +1 -2
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +11 -14
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/sentry__vite-plugin
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@sentry/vite-plugin](https://www.npmjs.com/package/@sentry/vite-plugin) @ 5.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [@sentry/vite-plugin](https://www.npmjs.com/package/@sentry/vite-plugin) @ 5.2.0 |
|
|
17
|
+
| Processed | 2026-04-08 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let _sentry_rollup_plugin = require("@sentry/rollup-plugin");
|
|
3
3
|
let node_module = require("node:module");
|
|
4
4
|
let _sentry_bundler_plugin_core = require("@sentry/bundler-plugin-core");
|
|
5
|
-
|
|
6
5
|
//#region src/index.ts
|
|
7
6
|
function getViteMajorVersion() {
|
|
8
7
|
try {
|
|
@@ -15,13 +14,13 @@ const sentryVitePlugin = (options) => {
|
|
|
15
14
|
...(0, _sentry_rollup_plugin._rollupPluginInternal)(options, "vite", getViteMajorVersion())
|
|
16
15
|
}];
|
|
17
16
|
};
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
|
-
Object.defineProperty(exports,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
Object.defineProperty(exports, "sentryCliBinaryExists", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function() {
|
|
21
|
+
return _sentry_bundler_plugin_core.sentryCliBinaryExists;
|
|
22
|
+
}
|
|
25
23
|
});
|
|
26
24
|
exports.sentryVitePlugin = sentryVitePlugin;
|
|
25
|
+
|
|
27
26
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":["import { SentryRollupPluginOptions } from \"@sentry/rollup-plugin\";\nimport { _rollupPluginInternal } from \"@sentry/rollup-plugin\";\nimport { createRequire } from \"node:module\";\nimport { Plugin } from \"vite\";\n\nfunction getViteMajorVersion(): string | undefined {\n try {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore - Rollup already transpiles this for us\n const req = createRequire(import.meta.url);\n const vite = req(\"vite\") as { version?: string };\n return vite.version?.split(\".\")[0];\n } catch (err) {\n // do nothing, we'll just not report a version\n }\n\n return undefined;\n}\n\nexport const sentryVitePlugin = (options?: SentryRollupPluginOptions): Plugin[] => {\n return [\n {\n enforce: \"pre\",\n ..._rollupPluginInternal(options, \"vite\", getViteMajorVersion()),\n },\n ];\n};\n\nexport type { Options as SentryVitePluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":["import { SentryRollupPluginOptions } from \"@sentry/rollup-plugin\";\nimport { _rollupPluginInternal } from \"@sentry/rollup-plugin\";\nimport { createRequire } from \"node:module\";\nimport { Plugin } from \"vite\";\n\nfunction getViteMajorVersion(): string | undefined {\n try {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore - Rollup already transpiles this for us\n const req = createRequire(import.meta.url);\n const vite = req(\"vite\") as { version?: string };\n return vite.version?.split(\".\")[0];\n } catch (err) {\n // do nothing, we'll just not report a version\n }\n\n return undefined;\n}\n\nexport const sentryVitePlugin = (options?: SentryRollupPluginOptions): Plugin[] => {\n return [\n {\n enforce: \"pre\",\n ...(_rollupPluginInternal(options, \"vite\", getViteMajorVersion()) as Plugin),\n },\n ];\n};\n\nexport type { Options as SentryVitePluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"mappings":";;;;;AAKA,SAAS,sBAA0C;AACjD,KAAI;AAKF,UAAA,GAAA,YAAA,eAAA,QAAA,MAAA,CAAA,cAAA,WAAA,CAAA,KAF0C,CACzB,OAAO,CACZ,SAAS,MAAM,IAAI,CAAC;UACzB,KAAK;;AAOhB,MAAa,oBAAoB,YAAkD;AACjF,QAAO,CACL;EACE,SAAS;EACT,IAAA,GAAA,sBAAA,uBAA0B,SAAS,QAAQ,qBAAqB,CAAC;EAClE,CACF"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import { _rollupPluginInternal } from "@sentry/rollup-plugin";
|
|
3
3
|
import { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
|
|
4
|
-
|
|
5
4
|
//#region src/index.ts
|
|
6
5
|
function getViteMajorVersion() {
|
|
7
6
|
try {
|
|
@@ -14,7 +13,7 @@ const sentryVitePlugin = (options) => {
|
|
|
14
13
|
..._rollupPluginInternal(options, "vite", getViteMajorVersion())
|
|
15
14
|
}];
|
|
16
15
|
};
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
17
|
export { sentryCliBinaryExists, sentryVitePlugin };
|
|
18
|
+
|
|
20
19
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/index.ts"],"sourcesContent":["import { SentryRollupPluginOptions } from \"@sentry/rollup-plugin\";\nimport { _rollupPluginInternal } from \"@sentry/rollup-plugin\";\nimport { createRequire } from \"node:module\";\nimport { Plugin } from \"vite\";\n\nfunction getViteMajorVersion(): string | undefined {\n try {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore - Rollup already transpiles this for us\n const req = createRequire(import.meta.url);\n const vite = req(\"vite\") as { version?: string };\n return vite.version?.split(\".\")[0];\n } catch (err) {\n // do nothing, we'll just not report a version\n }\n\n return undefined;\n}\n\nexport const sentryVitePlugin = (options?: SentryRollupPluginOptions): Plugin[] => {\n return [\n {\n enforce: \"pre\",\n ..._rollupPluginInternal(options, \"vite\", getViteMajorVersion()),\n },\n ];\n};\n\nexport type { Options as SentryVitePluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/index.ts"],"sourcesContent":["import { SentryRollupPluginOptions } from \"@sentry/rollup-plugin\";\nimport { _rollupPluginInternal } from \"@sentry/rollup-plugin\";\nimport { createRequire } from \"node:module\";\nimport { Plugin } from \"vite\";\n\nfunction getViteMajorVersion(): string | undefined {\n try {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore - Rollup already transpiles this for us\n const req = createRequire(import.meta.url);\n const vite = req(\"vite\") as { version?: string };\n return vite.version?.split(\".\")[0];\n } catch (err) {\n // do nothing, we'll just not report a version\n }\n\n return undefined;\n}\n\nexport const sentryVitePlugin = (options?: SentryRollupPluginOptions): Plugin[] => {\n return [\n {\n enforce: \"pre\",\n ...(_rollupPluginInternal(options, \"vite\", getViteMajorVersion()) as Plugin),\n },\n ];\n};\n\nexport type { Options as SentryVitePluginOptions } from \"@sentry/bundler-plugin-core\";\nexport { sentryCliBinaryExists } from \"@sentry/bundler-plugin-core\";\n"],"mappings":";;;;AAKA,SAAS,sBAA0C;AACjD,KAAI;AAKF,SAFY,cAAc,OAAO,KAAK,IAAI,CACzB,OAAO,CACZ,SAAS,MAAM,IAAI,CAAC;UACzB,KAAK;;AAOhB,MAAa,oBAAoB,YAAkD;AACjF,QAAO,CACL;EACE,SAAS;EACT,GAAI,sBAAsB,SAAS,QAAQ,qBAAqB,CAAC;EAClE,CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/sentry__vite-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0-depup.0",
|
|
4
4
|
"description": "Official Sentry Vite plugin (with updated dependencies)",
|
|
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/vite-plugin",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"module": "dist/esm/index.mjs",
|
|
35
35
|
"types": "dist/types/index.d.ts",
|
|
36
36
|
"scripts": {
|
|
37
|
-
"build": "premove ./out && run-p build:rollup build:types",
|
|
37
|
+
"build": "premove ./out && run-p build:rollup build:types && run-s build:npm",
|
|
38
38
|
"build:watch": "run-p build:rollup:watch build:types:watch",
|
|
39
39
|
"build:rollup": "rolldown --config rollup.config.mjs",
|
|
40
40
|
"build:rollup:watch": "rolldown --config rollup.config.mjs --watch --no-watch.clearScreen",
|
|
@@ -48,24 +48,21 @@
|
|
|
48
48
|
"clean:all": "run-p clean clean:deps",
|
|
49
49
|
"clean:build": "premove ./dist *.tgz",
|
|
50
50
|
"clean:deps": "premove node_modules",
|
|
51
|
-
"test": "
|
|
51
|
+
"test": "vitest run",
|
|
52
52
|
"lint": "eslint ./src ./test"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@sentry/bundler-plugin-core": "5.
|
|
56
|
-
"@sentry/rollup-plugin": "5.
|
|
55
|
+
"@sentry/bundler-plugin-core": "5.2.0",
|
|
56
|
+
"@sentry/rollup-plugin": "5.2.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@sentry-internal/eslint-config": "5.
|
|
60
|
-
"@sentry-internal/sentry-bundler-plugin-tsconfig": "5.
|
|
61
|
-
"@swc/core": "^1.2.205",
|
|
62
|
-
"@swc/jest": "^0.2.21",
|
|
63
|
-
"@types/jest": "^28.1.3",
|
|
59
|
+
"@sentry-internal/eslint-config": "5.2.0",
|
|
60
|
+
"@sentry-internal/sentry-bundler-plugin-tsconfig": "5.2.0",
|
|
64
61
|
"@types/node": "^18.6.3",
|
|
65
62
|
"eslint": "^8.18.0",
|
|
66
|
-
"
|
|
63
|
+
"vitest": "^4.0.0",
|
|
67
64
|
"premove": "^4.0.0",
|
|
68
|
-
"rolldown": "
|
|
65
|
+
"rolldown": "1.0.0-rc.10",
|
|
69
66
|
"ts-node": "^10.9.1",
|
|
70
67
|
"typescript": "^4.7.4"
|
|
71
68
|
},
|
|
@@ -79,8 +76,8 @@
|
|
|
79
76
|
"changes": {},
|
|
80
77
|
"depsUpdated": 0,
|
|
81
78
|
"originalPackage": "@sentry/vite-plugin",
|
|
82
|
-
"originalVersion": "5.
|
|
83
|
-
"processedAt": "2026-
|
|
79
|
+
"originalVersion": "5.2.0",
|
|
80
|
+
"processedAt": "2026-04-08T12:30:30.560Z",
|
|
84
81
|
"smokeTest": "failed"
|
|
85
82
|
}
|
|
86
83
|
}
|