opencode-sonarqube 0.1.17 → 0.1.18

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -19222,7 +19222,7 @@ async function bootstrap(options) {
19222
19222
  if (!directory || directory === "/" || directory === "." || directory.length < 2) {
19223
19223
  try {
19224
19224
  const pluginUrl = import.meta.url;
19225
- const pluginPath = pluginUrl.replace("file://", "");
19225
+ const pluginPath = decodeURIComponent(pluginUrl.replace("file://", ""));
19226
19226
  const pathParts = pluginPath.split("/");
19227
19227
  const nodeModulesIndex = pathParts.findIndex((p) => p === "node_modules");
19228
19228
  if (nodeModulesIndex > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "OpenCode Plugin for SonarQube integration - Enterprise-level code quality from the start",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "homepage": "https://github.com/mguttmann/opencode-sonarqube#readme",
39
39
  "dependencies": {
40
40
  "@opencode-ai/plugin": "^1.1.34",
41
- "opencode-sonarqube": "0.1.16",
41
+ "opencode-sonarqube": "0.1.17",
42
42
  "zod": "^3.24.0"
43
43
  },
44
44
  "devDependencies": {