@depup/sentry__vite-plugin 5.1.1-depup.0 → 5.4.0-depup.4

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 CHANGED
@@ -13,10 +13,16 @@ 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.1.1 |
17
- | Processed | 2026-03-22 |
16
+ | Original | [@sentry/vite-plugin](https://www.npmjs.com/package/@sentry/vite-plugin) @ 5.4.0 |
17
+ | Processed | 2026-07-21 |
18
18
  | Smoke test | failed |
19
- | Deps updated | 0 |
19
+ | Deps updated | 1 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | @sentry/bundler-plugins | ^10.64.0 | ^10.67.0 |
20
26
 
21
27
  ---
22
28
 
package/changes.json CHANGED
@@ -1,5 +1,10 @@
1
1
  {
2
- "bumped": {},
3
- "timestamp": "2026-03-22T00:38:12.147Z",
4
- "totalUpdated": 0
2
+ "bumped": {
3
+ "@sentry/bundler-plugins": {
4
+ "from": "^10.64.0",
5
+ "to": "^10.67.0"
6
+ }
7
+ },
8
+ "timestamp": "2026-07-21T16:07:55.337Z",
9
+ "totalUpdated": 1
5
10
  }
package/dist/cjs/index.js CHANGED
@@ -1,27 +1,10 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- let _sentry_rollup_plugin = require("@sentry/rollup-plugin");
3
- let node_module = require("node:module");
4
- let _sentry_bundler_plugin_core = require("@sentry/bundler-plugin-core");
5
-
6
- //#region src/index.ts
7
- function getViteMajorVersion() {
8
- try {
9
- return (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href)("vite").version?.split(".")[0];
10
- } catch (err) {}
11
- }
12
- const sentryVitePlugin = (options) => {
13
- return [{
14
- enforce: "pre",
15
- ...(0, _sentry_rollup_plugin._rollupPluginInternal)(options, "vite", getViteMajorVersion())
16
- }];
17
- };
18
-
19
- //#endregion
20
- Object.defineProperty(exports, 'sentryCliBinaryExists', {
21
- enumerable: true,
22
- get: function () {
23
- return _sentry_bundler_plugin_core.sentryCliBinaryExists;
24
- }
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ var _sentry_bundler_plugins_vite = require("@sentry/bundler-plugins/vite");
3
+ Object.keys(_sentry_bundler_plugins_vite).forEach(function(k) {
4
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
5
+ enumerable: true,
6
+ get: function() {
7
+ return _sentry_bundler_plugins_vite[k];
8
+ }
9
+ });
25
10
  });
26
- exports.sentryVitePlugin = sentryVitePlugin;
27
- //# sourceMappingURL=index.js.map
@@ -1,20 +1,2 @@
1
- import { createRequire } from "node:module";
2
- import { _rollupPluginInternal } from "@sentry/rollup-plugin";
3
- import { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
4
-
5
- //#region src/index.ts
6
- function getViteMajorVersion() {
7
- try {
8
- return createRequire(import.meta.url)("vite").version?.split(".")[0];
9
- } catch (err) {}
10
- }
11
- const sentryVitePlugin = (options) => {
12
- return [{
13
- enforce: "pre",
14
- ..._rollupPluginInternal(options, "vite", getViteMajorVersion())
15
- }];
16
- };
17
-
18
- //#endregion
19
- export { sentryCliBinaryExists, sentryVitePlugin };
20
- //# sourceMappingURL=index.mjs.map
1
+ export * from "@sentry/bundler-plugins/vite";
2
+ export {};
@@ -1,5 +1,2 @@
1
- import { SentryRollupPluginOptions } from "@sentry/rollup-plugin";
2
- import { Plugin } from "vite";
3
- export declare const sentryVitePlugin: (options?: SentryRollupPluginOptions) => Plugin[];
4
- export type { Options as SentryVitePluginOptions } from "@sentry/bundler-plugin-core";
5
- export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
1
+ export * from "@sentry/bundler-plugins/vite";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/sentry__vite-plugin",
3
- "version": "5.1.1-depup.0",
3
+ "version": "5.4.0-depup.4",
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",
@@ -42,32 +42,21 @@
42
42
  "build:types:watch": "tsc --project types.tsconfig.json --watch --preserveWatchOutput",
43
43
  "build:npm": "npm pack",
44
44
  "check:types": "run-p check:types:src check:types:test",
45
- "check:types:src": "tsc --project ./src/tsconfig.json --noEmit",
45
+ "check:types:src": "tsc --project ./tsconfig.json --noEmit",
46
46
  "check:types:test": "tsc --project ./test/tsconfig.json --noEmit",
47
47
  "clean": "run-s clean:build",
48
48
  "clean:all": "run-p clean clean:deps",
49
49
  "clean:build": "premove ./dist *.tgz",
50
- "clean:deps": "premove node_modules",
51
- "test": "jest",
52
- "lint": "eslint ./src ./test"
50
+ "clean:deps": "premove node_modules"
53
51
  },
54
52
  "dependencies": {
55
- "@sentry/bundler-plugin-core": "5.1.1",
56
- "@sentry/rollup-plugin": "5.1.1"
53
+ "@sentry/bundler-plugins": "^10.67.0"
57
54
  },
58
55
  "devDependencies": {
59
- "@sentry-internal/eslint-config": "5.1.1",
60
- "@sentry-internal/sentry-bundler-plugin-tsconfig": "5.1.1",
61
- "@swc/core": "^1.2.205",
62
- "@swc/jest": "^0.2.21",
63
- "@types/jest": "^28.1.3",
56
+ "@sentry-internal/dev-utils": "5.4.0",
64
57
  "@types/node": "^18.6.3",
65
- "eslint": "^8.18.0",
66
- "jest": "^28.1.1",
67
58
  "premove": "^4.0.0",
68
- "rolldown": "^1.0.0-rc.4",
69
- "ts-node": "^10.9.1",
70
- "typescript": "^4.7.4"
59
+ "rolldown": "^1.0.0"
71
60
  },
72
61
  "volta": {
73
62
  "extends": "../../package.json"
@@ -76,11 +65,16 @@
76
65
  "node": ">= 18"
77
66
  },
78
67
  "depup": {
79
- "changes": {},
80
- "depsUpdated": 0,
68
+ "changes": {
69
+ "@sentry/bundler-plugins": {
70
+ "from": "^10.64.0",
71
+ "to": "^10.67.0"
72
+ }
73
+ },
74
+ "depsUpdated": 1,
81
75
  "originalPackage": "@sentry/vite-plugin",
82
- "originalVersion": "5.1.1",
83
- "processedAt": "2026-03-22T00:38:22.775Z",
76
+ "originalVersion": "5.4.0",
77
+ "processedAt": "2026-07-21T16:08:01.402Z",
84
78
  "smokeTest": "failed"
85
79
  }
86
80
  }
@@ -1 +0,0 @@
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":";;;;;;AAKA,SAAS,sBAA0C;AACjD,KAAI;AAKF,sFAF0C,CACzB,OAAO,CACZ,SAAS,MAAM,IAAI,CAAC;UACzB,KAAK;;AAOhB,MAAa,oBAAoB,YAAkD;AACjF,QAAO,CACL;EACE,SAAS;EACT,oDAAyB,SAAS,QAAQ,qBAAqB,CAAC;EACjE,CACF"}
@@ -1 +0,0 @@
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":";;;;;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,GAAG,sBAAsB,SAAS,QAAQ,qBAAqB,CAAC;EACjE,CACF"}
@@ -1 +0,0 @@
1
- export {};