@booki-aui/readiness 0.2.2 → 0.2.3

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,11 @@
1
1
  # @booki/readiness
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#132](https://github.com/Walgermo/booki/pull/132) [`e4d4d0d`](https://github.com/Walgermo/booki/commit/e4d4d0d19a303ad7b27588b8045712e59d94e907) Thanks [@Walgermo](https://github.com/Walgermo)! - The JSON report's `tool.version` is the installed version of `@booki-aui/readiness`; it always said 0.1.0.
8
+
3
9
  ## 0.2.2
4
10
 
5
11
  ### Patch Changes
@@ -236,6 +236,7 @@ function estimateTokens(text) {
236
236
 
237
237
  // src/audit.ts
238
238
  import { existsSync } from "fs";
239
+ import { createRequire } from "module";
239
240
  import path from "path";
240
241
  import { pathToFileURL } from "url";
241
242
  import { chromium } from "playwright-core";
@@ -556,7 +557,7 @@ function onlyInSecrets(value) {
556
557
  }
557
558
 
558
559
  // src/audit.ts
559
- var VERSION = "0.1.0";
560
+ var VERSION = createRequire(import.meta.url)("../package.json").version;
560
561
  var FIELD_ROLES = /* @__PURE__ */ new Set([
561
562
  "textbox",
562
563
  "searchbox",
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  toConsole,
5
5
  toHtml,
6
6
  toJson
7
- } from "./chunk-2ZR5XHHK.js";
7
+ } from "./chunk-OLKBQ7N4.js";
8
8
  import "./chunk-5SCOA3ZP.js";
9
9
 
10
10
  // src/cli.ts
package/dist/index.d.ts CHANGED
@@ -152,7 +152,8 @@ type AuditOptions = {
152
152
  */
153
153
  timeout?: number;
154
154
  };
155
- declare const VERSION = "0.1.0";
155
+ /** The installed tool's own version, as the JSON report states it. */
156
+ declare const VERSION: string;
156
157
  declare function looksLikeIconName(name: string, iconFont: boolean): boolean;
157
158
  /** Buttons that post, pay, send, approve or otherwise cannot be taken back. */
158
159
  declare const IRREVERSIBLE: RegExp;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  toConsole,
14
14
  toHtml,
15
15
  toJson
16
- } from "./chunk-2ZR5XHHK.js";
16
+ } from "./chunk-OLKBQ7N4.js";
17
17
  import {
18
18
  PERSON_ACTION,
19
19
  findSecrets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@booki-aui/readiness",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Agent readiness check for accounting screens: what stops an AI agent on a page, scored 0-100 against the Agent Contract, with fixes.",
5
5
  "type": "module",
6
6
  "license": "MIT",