@granite-js/plugin-sentry 0.1.15 → 0.1.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @granite-js/plugin-sentry
2
2
 
3
+ ## 0.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - c9b4fff: replace .js to .hbc
8
+ - @granite-js/plugin-core@0.1.16
9
+ - @granite-js/utils@0.1.16
10
+
3
11
  ## 0.1.15
4
12
 
5
13
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -83,7 +83,7 @@ async function injectSentryDebugId(sourcemapPath, debugId) {
83
83
  //#endregion
84
84
  //#region src/resolveHermesBundle.ts
85
85
  function tryResolveHermesBundle(jsBundlePath) {
86
- const lookupPath = `${jsBundlePath}.hbc`;
86
+ const lookupPath = jsBundlePath.replace(/\.js$/, ".hbc");
87
87
  return fs.existsSync(lookupPath) ? {
88
88
  hbc: lookupPath,
89
89
  sourcemap: `${lookupPath}.map`
package/dist/index.js CHANGED
@@ -61,7 +61,7 @@ async function injectSentryDebugId(sourcemapPath, debugId) {
61
61
  //#endregion
62
62
  //#region src/resolveHermesBundle.ts
63
63
  function tryResolveHermesBundle(jsBundlePath) {
64
- const lookupPath = `${jsBundlePath}.hbc`;
64
+ const lookupPath = jsBundlePath.replace(/\.js$/, ".hbc");
65
65
  return fs$1.existsSync(lookupPath) ? {
66
66
  hbc: lookupPath,
67
67
  sourcemap: `${lookupPath}.map`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@granite-js/plugin-sentry",
3
3
  "type": "module",
4
- "version": "0.1.15",
4
+ "version": "0.1.16",
5
5
  "description": "Plugin for integrating Sentry with Granite applications",
6
6
  "scripts": {
7
7
  "prepack": "yarn build",
@@ -34,8 +34,8 @@
34
34
  "vitest": "^3.1.4"
35
35
  },
36
36
  "dependencies": {
37
- "@granite-js/plugin-core": "0.1.15",
38
- "@granite-js/utils": "0.1.15",
37
+ "@granite-js/plugin-core": "0.1.16",
38
+ "@granite-js/utils": "0.1.16",
39
39
  "@sentry/cli": "^2.45.0",
40
40
  "es-toolkit": "^1.39.8",
41
41
  "execa": "^5"