@cloudcrane/blackbox 0.2.0 → 0.4.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.
- package/dist/extract.d.ts +1 -1
- package/dist/extract.js +1 -1
- package/package.json +3 -3
package/dist/extract.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Problem, type Spec } from "@cloudcrane/app-spec";
|
|
2
|
-
export declare const GENERATOR = "blackbox@0.
|
|
2
|
+
export declare const GENERATOR = "blackbox@0.4.0";
|
|
3
3
|
/** blackbox.hints.json: where things are, and what the readers can't find yet (as spec parts). */
|
|
4
4
|
export type Hints = {
|
|
5
5
|
module: Spec["module"];
|
package/dist/extract.js
CHANGED
|
@@ -14,7 +14,7 @@ import { shingleLeaks } from "./shingles.js";
|
|
|
14
14
|
// Pointer, with the file, lines and a hash of those lines (Veridic's citeHash),
|
|
15
15
|
// and how it was found. The spec itself holds no code and no paths: the
|
|
16
16
|
// validator and the leak gates refuse any.
|
|
17
|
-
export const GENERATOR = "blackbox@0.
|
|
17
|
+
export const GENERATOR = "blackbox@0.4.0";
|
|
18
18
|
const escapePointer = (s) => s.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
19
19
|
const sha = (s) => createHash("sha256").update(s).digest("hex");
|
|
20
20
|
export function extract(repo, hints) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcrane/blackbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Turns an app's code into a CloudCrane app spec with no code in it, checks it, and builds or previews the app it describes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudcrane",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"typescript": "~5.9.3",
|
|
44
44
|
"veridic": "^0.14.0",
|
|
45
45
|
"zod": "^3.25.76",
|
|
46
|
-
"@cloudcrane/app-runtime": "^0.
|
|
47
|
-
"@cloudcrane/app-spec": "^0.
|
|
46
|
+
"@cloudcrane/app-runtime": "^0.5.0",
|
|
47
|
+
"@cloudcrane/app-spec": "^0.4.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"tsx": "4.23.15"
|