@depup/sentry__vite-plugin 5.2.0-depup.0 → 5.4.0-depup.11
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 +9 -3
- package/changes.json +8 -3
- package/dist/cjs/index.js +8 -24
- package/dist/esm/index.mjs +2 -19
- package/dist/types/index.d.ts +2 -5
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +15 -18
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/types/prepack.d.ts +0 -1
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.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [@sentry/vite-plugin](https://www.npmjs.com/package/@sentry/vite-plugin) @ 5.4.0 |
|
|
17
|
+
| Processed | 2026-09-09 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
|
-
| Deps updated |
|
|
19
|
+
| Deps updated | 1 |
|
|
20
|
+
|
|
21
|
+
## Dependency Changes
|
|
22
|
+
|
|
23
|
+
| Dependency | From | To |
|
|
24
|
+
|------------|------|-----|
|
|
25
|
+
| @sentry/bundler-plugins | ^10.64.0 | ^10.74.0 |
|
|
20
26
|
|
|
21
27
|
---
|
|
22
28
|
|
package/changes.json
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
const sentryVitePlugin = (options) => {
|
|
12
|
-
return [{
|
|
13
|
-
enforce: "pre",
|
|
14
|
-
...(0, _sentry_rollup_plugin._rollupPluginInternal)(options, "vite", getViteMajorVersion())
|
|
15
|
-
}];
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
Object.defineProperty(exports, "sentryCliBinaryExists", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function() {
|
|
21
|
-
return _sentry_bundler_plugin_core.sentryCliBinaryExists;
|
|
22
|
-
}
|
|
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
|
+
});
|
|
23
10
|
});
|
|
24
|
-
exports.sentryVitePlugin = sentryVitePlugin;
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
|
|
4
|
-
//#region src/index.ts
|
|
5
|
-
function getViteMajorVersion() {
|
|
6
|
-
try {
|
|
7
|
-
return createRequire(import.meta.url)("vite").version?.split(".")[0];
|
|
8
|
-
} catch (err) {}
|
|
9
|
-
}
|
|
10
|
-
const sentryVitePlugin = (options) => {
|
|
11
|
-
return [{
|
|
12
|
-
enforce: "pre",
|
|
13
|
-
..._rollupPluginInternal(options, "vite", getViteMajorVersion())
|
|
14
|
-
}];
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
|
-
export { sentryCliBinaryExists, sentryVitePlugin };
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export * from "@sentry/bundler-plugins/vite";
|
|
2
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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.
|
|
3
|
+
"version": "5.4.0-depup.11",
|
|
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",
|
|
@@ -42,29 +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 ./
|
|
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": "vitest run",
|
|
52
|
-
"lint": "eslint ./src ./test"
|
|
50
|
+
"clean:deps": "premove node_modules"
|
|
53
51
|
},
|
|
54
52
|
"dependencies": {
|
|
55
|
-
"@sentry/bundler-
|
|
56
|
-
"@sentry/rollup-plugin": "5.2.0"
|
|
53
|
+
"@sentry/bundler-plugins": "^10.74.0"
|
|
57
54
|
},
|
|
58
55
|
"devDependencies": {
|
|
59
|
-
"@sentry-internal/
|
|
60
|
-
"@sentry-internal/sentry-bundler-plugin-tsconfig": "5.2.0",
|
|
56
|
+
"@sentry-internal/dev-utils": "5.4.0",
|
|
61
57
|
"@types/node": "^18.6.3",
|
|
62
|
-
"eslint": "^8.18.0",
|
|
63
|
-
"vitest": "^4.0.0",
|
|
64
58
|
"premove": "^4.0.0",
|
|
65
|
-
"rolldown": "1.0.0
|
|
66
|
-
"ts-node": "^10.9.1",
|
|
67
|
-
"typescript": "^4.7.4"
|
|
59
|
+
"rolldown": "^1.0.0"
|
|
68
60
|
},
|
|
69
61
|
"volta": {
|
|
70
62
|
"extends": "../../package.json"
|
|
@@ -73,11 +65,16 @@
|
|
|
73
65
|
"node": ">= 18"
|
|
74
66
|
},
|
|
75
67
|
"depup": {
|
|
76
|
-
"changes": {
|
|
77
|
-
|
|
68
|
+
"changes": {
|
|
69
|
+
"@sentry/bundler-plugins": {
|
|
70
|
+
"from": "^10.64.0",
|
|
71
|
+
"to": "^10.74.0"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"depsUpdated": 1,
|
|
78
75
|
"originalPackage": "@sentry/vite-plugin",
|
|
79
|
-
"originalVersion": "5.
|
|
80
|
-
"processedAt": "2026-
|
|
76
|
+
"originalVersion": "5.4.0",
|
|
77
|
+
"processedAt": "2026-09-09T16:09:57.140Z",
|
|
81
78
|
"smokeTest": "failed"
|
|
82
79
|
}
|
|
83
80
|
}
|
package/dist/cjs/index.js.map
DELETED
|
@@ -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()) 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.map
DELETED
|
@@ -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()) 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/dist/types/prepack.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|