@codacy/tools-jackson 0.12.0 → 0.14.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -33,9 +33,10 @@ __export(index_exports, {
33
33
  default: () => index_default
34
34
  });
35
35
  module.exports = __toCommonJS(index_exports);
36
- var import_tooling = require("@codacy/tooling");
36
+ var import_tooling2 = require("@codacy/tooling");
37
37
 
38
38
  // src/adapter.ts
39
+ var import_tooling = require("@codacy/tooling");
39
40
  var import_promises = __toESM(require("fs/promises"));
40
41
  var import_path = __toESM(require("path"));
41
42
 
@@ -148,7 +149,7 @@ var adapter = {
148
149
  message: `Cannot resolve repository root: ${err instanceof Error ? err.message : String(err)}`,
149
150
  level: "error"
150
151
  });
151
- return buildResult(startedAt, /* @__PURE__ */ new Date(), issues, errors, ctx.targetFiles.length);
152
+ return (0, import_tooling.buildResult)(TOOL_ID, startedAt, /* @__PURE__ */ new Date(), issues, errors, ctx.targetFiles.length);
152
153
  }
153
154
  for (const relPath of ctx.targetFiles) {
154
155
  const absPath = import_path.default.resolve(ctx.repositoryRoot, relPath);
@@ -400,4 +401,4 @@ function findDuplicateKeys(source) {
400
401
  }
401
402
 
402
403
  // src/index.ts
403
- var index_default = (0, import_tooling.defineToolAdapter)(adapter);
404
+ var index_default = (0, import_tooling2.defineToolAdapter)(adapter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-jackson",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "Jackson Linter adapter — pure TypeScript JSON syntax validator",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "@codacy/tooling": "0.12.0"
11
+ "@codacy/tooling": "0.14.0"
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",