@strapi/plugin-sentry 4.15.3-alpha.0 → 4.15.3-alpha.2

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.
Files changed (49) hide show
  1. package/dist/_chunks/dk-00b47489.js +9 -0
  2. package/dist/_chunks/dk-00b47489.js.map +1 -0
  3. package/dist/_chunks/dk-b05451b4.mjs +9 -0
  4. package/dist/_chunks/dk-b05451b4.mjs.map +1 -0
  5. package/dist/_chunks/en-2dbaca4a.js +9 -0
  6. package/dist/_chunks/en-2dbaca4a.js.map +1 -0
  7. package/dist/_chunks/en-70258e03.mjs +9 -0
  8. package/dist/_chunks/en-70258e03.mjs.map +1 -0
  9. package/dist/_chunks/es-0812c06d.mjs +9 -0
  10. package/dist/_chunks/es-0812c06d.mjs.map +1 -0
  11. package/dist/_chunks/es-4352c0b3.js +9 -0
  12. package/dist/_chunks/es-4352c0b3.js.map +1 -0
  13. package/dist/_chunks/fr-22b3a920.mjs +9 -0
  14. package/dist/_chunks/fr-22b3a920.mjs.map +1 -0
  15. package/dist/_chunks/fr-81925960.js +9 -0
  16. package/dist/_chunks/fr-81925960.js.map +1 -0
  17. package/dist/_chunks/ko-5ab994e9.js +9 -0
  18. package/dist/_chunks/ko-5ab994e9.js.map +1 -0
  19. package/dist/_chunks/ko-f357ad11.mjs +9 -0
  20. package/dist/_chunks/ko-f357ad11.mjs.map +1 -0
  21. package/dist/_chunks/pl-5065555b.js +9 -0
  22. package/dist/_chunks/pl-5065555b.js.map +1 -0
  23. package/dist/_chunks/pl-91ad3b57.mjs +9 -0
  24. package/dist/_chunks/pl-91ad3b57.mjs.map +1 -0
  25. package/dist/_chunks/ru-c00f24a0.js +9 -0
  26. package/dist/_chunks/ru-c00f24a0.js.map +1 -0
  27. package/dist/_chunks/ru-ea18416d.mjs +9 -0
  28. package/dist/_chunks/ru-ea18416d.mjs.map +1 -0
  29. package/dist/_chunks/sv-8f50eca3.mjs +9 -0
  30. package/dist/_chunks/sv-8f50eca3.mjs.map +1 -0
  31. package/dist/_chunks/sv-a8d028fb.js +9 -0
  32. package/dist/_chunks/sv-a8d028fb.js.map +1 -0
  33. package/dist/_chunks/tr-dca6c197.mjs +9 -0
  34. package/dist/_chunks/tr-dca6c197.mjs.map +1 -0
  35. package/dist/_chunks/tr-de905f5b.js +9 -0
  36. package/dist/_chunks/tr-de905f5b.js.map +1 -0
  37. package/dist/_chunks/vi-22d50e0e.mjs +9 -0
  38. package/dist/_chunks/vi-22d50e0e.mjs.map +1 -0
  39. package/dist/_chunks/vi-6d3d2db0.js +9 -0
  40. package/dist/_chunks/vi-6d3d2db0.js.map +1 -0
  41. package/dist/_chunks/zh-9ec5b9b1.mjs +9 -0
  42. package/dist/_chunks/zh-9ec5b9b1.mjs.map +1 -0
  43. package/dist/_chunks/zh-ac6dac24.js +9 -0
  44. package/dist/_chunks/zh-ac6dac24.js.map +1 -0
  45. package/dist/admin/index.js +136 -0
  46. package/dist/admin/index.js.map +1 -0
  47. package/dist/admin/index.mjs +137 -0
  48. package/dist/admin/index.mjs.map +1 -0
  49. package/package.json +5 -5
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const dk = {
4
+ "plugin.description.long": "Send Strapi fejlevents til Sentry.",
5
+ "plugin.description.short": "Send Strapi fejlevents til Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = dk;
9
+ //# sourceMappingURL=dk-00b47489.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dk-00b47489.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const dk = {
2
+ "plugin.description.long": "Send Strapi fejlevents til Sentry.",
3
+ "plugin.description.short": "Send Strapi fejlevents til Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ dk as default
8
+ };
9
+ //# sourceMappingURL=dk-b05451b4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dk-b05451b4.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const en = {
4
+ "plugin.description.long": "Send Strapi error events to Sentry.",
5
+ "plugin.description.short": "Send Strapi error events to Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = en;
9
+ //# sourceMappingURL=en-2dbaca4a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-2dbaca4a.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const en = {
2
+ "plugin.description.long": "Send Strapi error events to Sentry.",
3
+ "plugin.description.short": "Send Strapi error events to Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ en as default
8
+ };
9
+ //# sourceMappingURL=en-70258e03.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-70258e03.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ const es = {
2
+ "plugin.description.long": "Envíe los eventos de error de Strapi a Sentry.",
3
+ "plugin.description.short": "Envíe los eventos de error de Strapi a Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ es as default
8
+ };
9
+ //# sourceMappingURL=es-0812c06d.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"es-0812c06d.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const es = {
4
+ "plugin.description.long": "Envíe los eventos de error de Strapi a Sentry.",
5
+ "plugin.description.short": "Envíe los eventos de error de Strapi a Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = es;
9
+ //# sourceMappingURL=es-4352c0b3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"es-4352c0b3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const fr = {
2
+ "plugin.description.long": "Envoie vos erreurs Strapi à Sentry.",
3
+ "plugin.description.short": "Envoie vos erreurs Strapi à Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ fr as default
8
+ };
9
+ //# sourceMappingURL=fr-22b3a920.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fr-22b3a920.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const fr = {
4
+ "plugin.description.long": "Envoie vos erreurs Strapi à Sentry.",
5
+ "plugin.description.short": "Envoie vos erreurs Strapi à Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = fr;
9
+ //# sourceMappingURL=fr-81925960.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fr-81925960.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ko = {
4
+ "plugin.description.long": "Strapi 에러 이벤트를 Sentry에 보냅니다.",
5
+ "plugin.description.short": "Strapi 에러 이벤트를 Sentry에 보냅니다.",
6
+ "plugin.name": "Sentry에"
7
+ };
8
+ exports.default = ko;
9
+ //# sourceMappingURL=ko-5ab994e9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ko-5ab994e9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const ko = {
2
+ "plugin.description.long": "Strapi 에러 이벤트를 Sentry에 보냅니다.",
3
+ "plugin.description.short": "Strapi 에러 이벤트를 Sentry에 보냅니다.",
4
+ "plugin.name": "Sentry에"
5
+ };
6
+ export {
7
+ ko as default
8
+ };
9
+ //# sourceMappingURL=ko-f357ad11.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ko-f357ad11.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const pl = {
4
+ "plugin.description.long": "Wyślij zdarzenia z błędami ze Strapi do Sentry",
5
+ "plugin.description.short": "Wyślij zdarzenia z błędami ze Strapi do Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = pl;
9
+ //# sourceMappingURL=pl-5065555b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pl-5065555b.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const pl = {
2
+ "plugin.description.long": "Wyślij zdarzenia z błędami ze Strapi do Sentry",
3
+ "plugin.description.short": "Wyślij zdarzenia z błędami ze Strapi do Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ pl as default
8
+ };
9
+ //# sourceMappingURL=pl-91ad3b57.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pl-91ad3b57.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ru = {
4
+ "plugin.description.long": "Отсылает записи об ошибках Strapi в Sentry. Иными словами, ведёт журнал событий с ошибками и отправляет их в Sentry.",
5
+ "plugin.description.short": "Отсылает записи об ошибках Strapi в Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = ru;
9
+ //# sourceMappingURL=ru-c00f24a0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru-c00f24a0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const ru = {
2
+ "plugin.description.long": "Отсылает записи об ошибках Strapi в Sentry. Иными словами, ведёт журнал событий с ошибками и отправляет их в Sentry.",
3
+ "plugin.description.short": "Отсылает записи об ошибках Strapi в Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ ru as default
8
+ };
9
+ //# sourceMappingURL=ru-ea18416d.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru-ea18416d.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ const sv = {
2
+ "plugin.description.long": "Skicka felkoder från strapi som Sentry-events.",
3
+ "plugin.description.short": "Skicka felkoder från strapi som Sentry-events.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ sv as default
8
+ };
9
+ //# sourceMappingURL=sv-8f50eca3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sv-8f50eca3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const sv = {
4
+ "plugin.description.long": "Skicka felkoder från strapi som Sentry-events.",
5
+ "plugin.description.short": "Skicka felkoder från strapi som Sentry-events.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = sv;
9
+ //# sourceMappingURL=sv-a8d028fb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sv-a8d028fb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const tr = {
2
+ "plugin.description.long": "Strapi hata olaylarını Sentry'e ilet.",
3
+ "plugin.description.short": "Strapi hata olaylarını Sentry'e ilet.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ tr as default
8
+ };
9
+ //# sourceMappingURL=tr-dca6c197.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tr-dca6c197.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const tr = {
4
+ "plugin.description.long": "Strapi hata olaylarını Sentry'e ilet.",
5
+ "plugin.description.short": "Strapi hata olaylarını Sentry'e ilet.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = tr;
9
+ //# sourceMappingURL=tr-de905f5b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tr-de905f5b.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const vi = {
2
+ "plugin.description.long": "Gửi lỗi Strapi lên Sentry.",
3
+ "plugin.description.short": "Gửi lỗi Strapi lên Sentry.",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ vi as default
8
+ };
9
+ //# sourceMappingURL=vi-22d50e0e.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vi-22d50e0e.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const vi = {
4
+ "plugin.description.long": "Gửi lỗi Strapi lên Sentry.",
5
+ "plugin.description.short": "Gửi lỗi Strapi lên Sentry.",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = vi;
9
+ //# sourceMappingURL=vi-6d3d2db0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vi-6d3d2db0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ const zh = {
2
+ "plugin.description.long": "將 Strapi 錯誤事件傳送至 Sentry。",
3
+ "plugin.description.short": "將 Strapi 錯誤事件傳送至 Sentry。",
4
+ "plugin.name": "Sentry"
5
+ };
6
+ export {
7
+ zh as default
8
+ };
9
+ //# sourceMappingURL=zh-9ec5b9b1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-9ec5b9b1.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const zh = {
4
+ "plugin.description.long": "將 Strapi 錯誤事件傳送至 Sentry。",
5
+ "plugin.description.short": "將 Strapi 錯誤事件傳送至 Sentry。",
6
+ "plugin.name": "Sentry"
7
+ };
8
+ exports.default = zh;
9
+ //# sourceMappingURL=zh-ac6dac24.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-ac6dac24.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+ const helperPlugin = require("@strapi/helper-plugin");
3
+ const __variableDynamicImportRuntimeHelper = (glob, path) => {
4
+ const v = glob[path];
5
+ if (v) {
6
+ return typeof v === "function" ? v() : Promise.resolve(v);
7
+ }
8
+ return new Promise((_, reject) => {
9
+ (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path)));
10
+ });
11
+ };
12
+ const name$1 = "@strapi/plugin-sentry";
13
+ const version = "4.15.3-alpha.2";
14
+ const description = "Send Strapi error events to Sentry";
15
+ const repository = {
16
+ type: "git",
17
+ url: "https://github.com/strapi/strapi.git",
18
+ directory: "packages/plugins/sentry"
19
+ };
20
+ const license = "SEE LICENSE IN LICENSE";
21
+ const author = {
22
+ name: "Strapi Solutions SAS",
23
+ email: "hi@strapi.io",
24
+ url: "https://strapi.io"
25
+ };
26
+ const maintainers = [
27
+ {
28
+ name: "Strapi Solutions SAS",
29
+ email: "hi@strapi.io",
30
+ url: "https://strapi.io"
31
+ }
32
+ ];
33
+ const exports$1 = {
34
+ "./strapi-admin": {
35
+ source: "./admin/src/index.js",
36
+ "import": "./dist/admin/index.mjs",
37
+ require: "./dist/admin/index.js",
38
+ "default": "./dist/admin/index.js"
39
+ },
40
+ "./strapi-server": {
41
+ source: "./strapi-server.js",
42
+ require: "./strapi-server.js",
43
+ "default": "./strapi-server.js"
44
+ },
45
+ "./package.json": "./package.json"
46
+ };
47
+ const scripts = {
48
+ build: "pack-up build",
49
+ clean: "run -T rimraf dist",
50
+ lint: "run -T eslint .",
51
+ "test:unit": "run -T jest",
52
+ "test:unit:watch": "run -T jest --watch",
53
+ prepublishOnly: "yarn clean && yarn build",
54
+ watch: "pack-up watch"
55
+ };
56
+ const dependencies = {
57
+ "@sentry/node": "6.19.7",
58
+ "@strapi/design-system": "1.13.0",
59
+ "@strapi/helper-plugin": "4.15.3-alpha.2",
60
+ "@strapi/icons": "1.13.0"
61
+ };
62
+ const devDependencies = {
63
+ "@strapi/pack-up": "4.15.3-alpha.2",
64
+ "@strapi/strapi": "4.15.3-alpha.2",
65
+ react: "^18.2.0",
66
+ "react-dom": "^18.2.0",
67
+ "react-router-dom": "5.3.4",
68
+ "styled-components": "5.3.3"
69
+ };
70
+ const peerDependencies = {
71
+ "@strapi/strapi": "^4.0.0",
72
+ react: "^17.0.0 || ^18.0.0",
73
+ "react-dom": "^17.0.0 || ^18.0.0",
74
+ "react-router-dom": "^5.2.0",
75
+ "styled-components": "^5.2.1"
76
+ };
77
+ const engines = {
78
+ node: ">=18.0.0 <=20.x.x",
79
+ npm: ">=6.0.0"
80
+ };
81
+ const strapi = {
82
+ name: "sentry",
83
+ displayName: "Sentry",
84
+ description: "Send Strapi error events to Sentry.",
85
+ kind: "plugin"
86
+ };
87
+ const gitHead = "c25ead026bc34d38bd962f8b7f42fdf5263d3895";
88
+ const pluginPkg = {
89
+ name: name$1,
90
+ version,
91
+ description,
92
+ repository,
93
+ license,
94
+ author,
95
+ maintainers,
96
+ exports: exports$1,
97
+ scripts,
98
+ dependencies,
99
+ devDependencies,
100
+ peerDependencies,
101
+ engines,
102
+ strapi,
103
+ gitHead
104
+ };
105
+ const pluginId = pluginPkg.name.replace(/^@strapi\/plugin-/i, "");
106
+ const name = pluginPkg.strapi.name;
107
+ const index = {
108
+ register(app) {
109
+ app.registerPlugin({
110
+ id: pluginId,
111
+ name
112
+ });
113
+ },
114
+ bootstrap() {
115
+ },
116
+ async registerTrads({ locales }) {
117
+ const importedTrads = await Promise.all(
118
+ locales.map((locale) => {
119
+ return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/dk.json": () => Promise.resolve().then(() => require("../_chunks/dk-00b47489.js")), "./translations/en.json": () => Promise.resolve().then(() => require("../_chunks/en-2dbaca4a.js")), "./translations/es.json": () => Promise.resolve().then(() => require("../_chunks/es-4352c0b3.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("../_chunks/fr-81925960.js")), "./translations/ko.json": () => Promise.resolve().then(() => require("../_chunks/ko-5ab994e9.js")), "./translations/pl.json": () => Promise.resolve().then(() => require("../_chunks/pl-5065555b.js")), "./translations/ru.json": () => Promise.resolve().then(() => require("../_chunks/ru-c00f24a0.js")), "./translations/sv.json": () => Promise.resolve().then(() => require("../_chunks/sv-a8d028fb.js")), "./translations/tr.json": () => Promise.resolve().then(() => require("../_chunks/tr-de905f5b.js")), "./translations/vi.json": () => Promise.resolve().then(() => require("../_chunks/vi-6d3d2db0.js")), "./translations/zh.json": () => Promise.resolve().then(() => require("../_chunks/zh-ac6dac24.js")) }), `./translations/${locale}.json`).then(({ default: data }) => {
120
+ return {
121
+ data: helperPlugin.prefixPluginTranslations(data, pluginId),
122
+ locale
123
+ };
124
+ }).catch(() => {
125
+ return {
126
+ data: {},
127
+ locale
128
+ };
129
+ });
130
+ })
131
+ );
132
+ return Promise.resolve(importedTrads);
133
+ }
134
+ };
135
+ module.exports = index;
136
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../admin/src/pluginId.js","../../admin/src/index.js"],"sourcesContent":["import pluginPkg from '../../package.json';\n\nconst pluginId = pluginPkg.name.replace(/^@strapi\\/plugin-/i, '');\n\nexport default pluginId;\n","import { prefixPluginTranslations } from '@strapi/helper-plugin';\n\nimport pluginPkg from '../../package.json';\n\nimport pluginId from './pluginId';\n\nconst name = pluginPkg.strapi.name;\n\nexport default {\n register(app) {\n app.registerPlugin({\n id: pluginId,\n name,\n });\n },\n bootstrap() {},\n async registerTrads({ locales }) {\n const importedTrads = await Promise.all(\n locales.map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],"names":["prefixPluginTranslations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,UAAU,KAAK,QAAQ,sBAAsB,EAAE;ACIhE,MAAM,OAAO,UAAU,OAAO;AAE9B,MAAe,QAAA;AAAA,EACb,SAAS,KAAK;AACZ,QAAI,eAAe;AAAA,MACjB,IAAI;AAAA,MACJ;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EACA,YAAY;AAAA,EAAC;AAAA,EACb,MAAM,cAAc,EAAE,WAAW;AACzB,UAAA,gBAAgB,MAAM,QAAQ;AAAA,MAClC,QAAQ,IAAI,CAAC,WAAW;AACf,eAAA,qCAA+B,uBAAA,OAAA,EAAA,0BAAA,MAAA,qCAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,qCAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,qCAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,IAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,GAAA,0BAAA,MAAA,QAAA,QAAA,EAAA,KAAA,MAAA,QAAA,2BAAA,CAAA,EAAA,CAAA,GAAA,kBAAA,MAAA,OAAA,EACnC,KAAK,CAAC,EAAE,SAAS,KAAA,MAAW;AACpB,iBAAA;AAAA,YACL,MAAMA,aAAAA,yBAAyB,MAAM,QAAQ;AAAA,YAC7C;AAAA,UAAA;AAAA,QACF,CACD,EACA,MAAM,MAAM;AACJ,iBAAA;AAAA,YACL,MAAM,CAAC;AAAA,YACP;AAAA,UAAA;AAAA,QACF,CACD;AAAA,MAAA,CACJ;AAAA,IAAA;AAGI,WAAA,QAAQ,QAAQ,aAAa;AAAA,EACtC;AACF;;"}
@@ -0,0 +1,137 @@
1
+ import { prefixPluginTranslations } from "@strapi/helper-plugin";
2
+ const __variableDynamicImportRuntimeHelper = (glob, path) => {
3
+ const v = glob[path];
4
+ if (v) {
5
+ return typeof v === "function" ? v() : Promise.resolve(v);
6
+ }
7
+ return new Promise((_, reject) => {
8
+ (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path)));
9
+ });
10
+ };
11
+ const name$1 = "@strapi/plugin-sentry";
12
+ const version = "4.15.3-alpha.2";
13
+ const description = "Send Strapi error events to Sentry";
14
+ const repository = {
15
+ type: "git",
16
+ url: "https://github.com/strapi/strapi.git",
17
+ directory: "packages/plugins/sentry"
18
+ };
19
+ const license = "SEE LICENSE IN LICENSE";
20
+ const author = {
21
+ name: "Strapi Solutions SAS",
22
+ email: "hi@strapi.io",
23
+ url: "https://strapi.io"
24
+ };
25
+ const maintainers = [
26
+ {
27
+ name: "Strapi Solutions SAS",
28
+ email: "hi@strapi.io",
29
+ url: "https://strapi.io"
30
+ }
31
+ ];
32
+ const exports = {
33
+ "./strapi-admin": {
34
+ source: "./admin/src/index.js",
35
+ "import": "./dist/admin/index.mjs",
36
+ require: "./dist/admin/index.js",
37
+ "default": "./dist/admin/index.js"
38
+ },
39
+ "./strapi-server": {
40
+ source: "./strapi-server.js",
41
+ require: "./strapi-server.js",
42
+ "default": "./strapi-server.js"
43
+ },
44
+ "./package.json": "./package.json"
45
+ };
46
+ const scripts = {
47
+ build: "pack-up build",
48
+ clean: "run -T rimraf dist",
49
+ lint: "run -T eslint .",
50
+ "test:unit": "run -T jest",
51
+ "test:unit:watch": "run -T jest --watch",
52
+ prepublishOnly: "yarn clean && yarn build",
53
+ watch: "pack-up watch"
54
+ };
55
+ const dependencies = {
56
+ "@sentry/node": "6.19.7",
57
+ "@strapi/design-system": "1.13.0",
58
+ "@strapi/helper-plugin": "4.15.3-alpha.2",
59
+ "@strapi/icons": "1.13.0"
60
+ };
61
+ const devDependencies = {
62
+ "@strapi/pack-up": "4.15.3-alpha.2",
63
+ "@strapi/strapi": "4.15.3-alpha.2",
64
+ react: "^18.2.0",
65
+ "react-dom": "^18.2.0",
66
+ "react-router-dom": "5.3.4",
67
+ "styled-components": "5.3.3"
68
+ };
69
+ const peerDependencies = {
70
+ "@strapi/strapi": "^4.0.0",
71
+ react: "^17.0.0 || ^18.0.0",
72
+ "react-dom": "^17.0.0 || ^18.0.0",
73
+ "react-router-dom": "^5.2.0",
74
+ "styled-components": "^5.2.1"
75
+ };
76
+ const engines = {
77
+ node: ">=18.0.0 <=20.x.x",
78
+ npm: ">=6.0.0"
79
+ };
80
+ const strapi = {
81
+ name: "sentry",
82
+ displayName: "Sentry",
83
+ description: "Send Strapi error events to Sentry.",
84
+ kind: "plugin"
85
+ };
86
+ const gitHead = "c25ead026bc34d38bd962f8b7f42fdf5263d3895";
87
+ const pluginPkg = {
88
+ name: name$1,
89
+ version,
90
+ description,
91
+ repository,
92
+ license,
93
+ author,
94
+ maintainers,
95
+ exports,
96
+ scripts,
97
+ dependencies,
98
+ devDependencies,
99
+ peerDependencies,
100
+ engines,
101
+ strapi,
102
+ gitHead
103
+ };
104
+ const pluginId = pluginPkg.name.replace(/^@strapi\/plugin-/i, "");
105
+ const name = pluginPkg.strapi.name;
106
+ const index = {
107
+ register(app) {
108
+ app.registerPlugin({
109
+ id: pluginId,
110
+ name
111
+ });
112
+ },
113
+ bootstrap() {
114
+ },
115
+ async registerTrads({ locales }) {
116
+ const importedTrads = await Promise.all(
117
+ locales.map((locale) => {
118
+ return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/dk.json": () => import("../_chunks/dk-b05451b4.mjs"), "./translations/en.json": () => import("../_chunks/en-70258e03.mjs"), "./translations/es.json": () => import("../_chunks/es-0812c06d.mjs"), "./translations/fr.json": () => import("../_chunks/fr-22b3a920.mjs"), "./translations/ko.json": () => import("../_chunks/ko-f357ad11.mjs"), "./translations/pl.json": () => import("../_chunks/pl-91ad3b57.mjs"), "./translations/ru.json": () => import("../_chunks/ru-ea18416d.mjs"), "./translations/sv.json": () => import("../_chunks/sv-8f50eca3.mjs"), "./translations/tr.json": () => import("../_chunks/tr-dca6c197.mjs"), "./translations/vi.json": () => import("../_chunks/vi-22d50e0e.mjs"), "./translations/zh.json": () => import("../_chunks/zh-9ec5b9b1.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
119
+ return {
120
+ data: prefixPluginTranslations(data, pluginId),
121
+ locale
122
+ };
123
+ }).catch(() => {
124
+ return {
125
+ data: {},
126
+ locale
127
+ };
128
+ });
129
+ })
130
+ );
131
+ return Promise.resolve(importedTrads);
132
+ }
133
+ };
134
+ export {
135
+ index as default
136
+ };
137
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../admin/src/pluginId.js","../../admin/src/index.js"],"sourcesContent":["import pluginPkg from '../../package.json';\n\nconst pluginId = pluginPkg.name.replace(/^@strapi\\/plugin-/i, '');\n\nexport default pluginId;\n","import { prefixPluginTranslations } from '@strapi/helper-plugin';\n\nimport pluginPkg from '../../package.json';\n\nimport pluginId from './pluginId';\n\nconst name = pluginPkg.strapi.name;\n\nexport default {\n register(app) {\n app.registerPlugin({\n id: pluginId,\n name,\n });\n },\n bootstrap() {},\n async registerTrads({ locales }) {\n const importedTrads = await Promise.all(\n locales.map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,UAAU,KAAK,QAAQ,sBAAsB,EAAE;ACIhE,MAAM,OAAO,UAAU,OAAO;AAE9B,MAAe,QAAA;AAAA,EACb,SAAS,KAAK;AACZ,QAAI,eAAe;AAAA,MACjB,IAAI;AAAA,MACJ;AAAA,IAAA,CACD;AAAA,EACH;AAAA,EACA,YAAY;AAAA,EAAC;AAAA,EACb,MAAM,cAAc,EAAE,WAAW;AACzB,UAAA,gBAAgB,MAAM,QAAQ;AAAA,MAClC,QAAQ,IAAI,CAAC,WAAW;AACf,eAAA,qCAA+B,uBAAA,OAAA,EAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,GAAA,0BAAA,MAAA,OAAA,4BAAA,EAAA,CAAA,GAAA,kBAAA,MAAA,OAAA,EACnC,KAAK,CAAC,EAAE,SAAS,KAAA,MAAW;AACpB,iBAAA;AAAA,YACL,MAAM,yBAAyB,MAAM,QAAQ;AAAA,YAC7C;AAAA,UAAA;AAAA,QACF,CACD,EACA,MAAM,MAAM;AACJ,iBAAA;AAAA,YACL,MAAM,CAAC;AAAA,YACP;AAAA,UAAA;AAAA,QACF,CACD;AAAA,MAAA,CACJ;AAAA,IAAA;AAGI,WAAA,QAAQ,QAAQ,aAAa;AAAA,EACtC;AACF;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-sentry",
3
- "version": "4.15.3-alpha.0",
3
+ "version": "4.15.3-alpha.2",
4
4
  "description": "Send Strapi error events to Sentry",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,12 +46,12 @@
46
46
  "dependencies": {
47
47
  "@sentry/node": "6.19.7",
48
48
  "@strapi/design-system": "1.13.0",
49
- "@strapi/helper-plugin": "4.15.3-alpha.0",
49
+ "@strapi/helper-plugin": "4.15.3-alpha.2",
50
50
  "@strapi/icons": "1.13.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@strapi/pack-up": "4.15.3-alpha.0",
54
- "@strapi/strapi": "4.15.3-alpha.0",
53
+ "@strapi/pack-up": "4.15.3-alpha.2",
54
+ "@strapi/strapi": "4.15.3-alpha.2",
55
55
  "react": "^18.2.0",
56
56
  "react-dom": "^18.2.0",
57
57
  "react-router-dom": "5.3.4",
@@ -74,5 +74,5 @@
74
74
  "description": "Send Strapi error events to Sentry.",
75
75
  "kind": "plugin"
76
76
  },
77
- "gitHead": "81425b4b9803fd4df570e050c40dd984ebd28ac6"
77
+ "gitHead": "c25ead026bc34d38bd962f8b7f42fdf5263d3895"
78
78
  }