@depup/sentry__vite-plugin 5.1.1-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/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2022, Sentry
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ - Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ - Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ - Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @depup/sentry__vite-plugin
2
+
3
+ > Dependency-bumped version of [@sentry/vite-plugin](https://www.npmjs.com/package/@sentry/vite-plugin)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/sentry__vite-plugin
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [@sentry/vite-plugin](https://www.npmjs.com/package/@sentry/vite-plugin) @ 5.1.1 |
17
+ | Processed | 2026-03-22 |
18
+ | Smoke test | failed |
19
+ | Deps updated | 0 |
20
+
21
+ ---
22
+
23
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/@sentry/vite-plugin
24
+
25
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "bumped": {},
3
+ "timestamp": "2026-03-22T00:38:12.147Z",
4
+ "totalUpdated": 0
5
+ }
@@ -0,0 +1,27 @@
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
+ }
25
+ });
26
+ exports.sentryVitePlugin = sentryVitePlugin;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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":";;;;;;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"}
@@ -0,0 +1,20 @@
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
@@ -0,0 +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":";;;;;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"}
@@ -0,0 +1,5 @@
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";
@@ -0,0 +1 @@
1
+ export {};
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@depup/sentry__vite-plugin",
3
+ "version": "5.1.1-depup.0",
4
+ "description": "Official Sentry Vite plugin (with updated dependencies)",
5
+ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
6
+ "homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/vite-plugin",
7
+ "author": "Sentry",
8
+ "license": "MIT",
9
+ "keywords": [
10
+ "@sentry/vite-plugin",
11
+ "depup",
12
+ "updated-dependencies",
13
+ "security",
14
+ "latest",
15
+ "patched",
16
+ "Sentry",
17
+ "Vite",
18
+ "bundler",
19
+ "plugin"
20
+ ],
21
+ "files": [
22
+ "dist",
23
+ "changes.json",
24
+ "README.md"
25
+ ],
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/esm/index.mjs",
29
+ "require": "./dist/cjs/index.js",
30
+ "types": "./dist/types/index.d.ts"
31
+ }
32
+ },
33
+ "main": "dist/cjs/index.js",
34
+ "module": "dist/esm/index.mjs",
35
+ "types": "dist/types/index.d.ts",
36
+ "scripts": {
37
+ "build": "premove ./out && run-p build:rollup build:types",
38
+ "build:watch": "run-p build:rollup:watch build:types:watch",
39
+ "build:rollup": "rolldown --config rollup.config.mjs",
40
+ "build:rollup:watch": "rolldown --config rollup.config.mjs --watch --no-watch.clearScreen",
41
+ "build:types": "tsc --project types.tsconfig.json",
42
+ "build:types:watch": "tsc --project types.tsconfig.json --watch --preserveWatchOutput",
43
+ "build:npm": "npm pack",
44
+ "check:types": "run-p check:types:src check:types:test",
45
+ "check:types:src": "tsc --project ./src/tsconfig.json --noEmit",
46
+ "check:types:test": "tsc --project ./test/tsconfig.json --noEmit",
47
+ "clean": "run-s clean:build",
48
+ "clean:all": "run-p clean clean:deps",
49
+ "clean:build": "premove ./dist *.tgz",
50
+ "clean:deps": "premove node_modules",
51
+ "test": "jest",
52
+ "lint": "eslint ./src ./test"
53
+ },
54
+ "dependencies": {
55
+ "@sentry/bundler-plugin-core": "5.1.1",
56
+ "@sentry/rollup-plugin": "5.1.1"
57
+ },
58
+ "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",
64
+ "@types/node": "^18.6.3",
65
+ "eslint": "^8.18.0",
66
+ "jest": "^28.1.1",
67
+ "premove": "^4.0.0",
68
+ "rolldown": "^1.0.0-rc.4",
69
+ "ts-node": "^10.9.1",
70
+ "typescript": "^4.7.4"
71
+ },
72
+ "volta": {
73
+ "extends": "../../package.json"
74
+ },
75
+ "engines": {
76
+ "node": ">= 18"
77
+ },
78
+ "depup": {
79
+ "changes": {},
80
+ "depsUpdated": 0,
81
+ "originalPackage": "@sentry/vite-plugin",
82
+ "originalVersion": "5.1.1",
83
+ "processedAt": "2026-03-22T00:38:22.775Z",
84
+ "smokeTest": "failed"
85
+ }
86
+ }