brepjs-cad 0.178.0 → 0.178.2
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 +14 -0
- package/dist/brepjs-cad.cjs +2 -2
- package/dist/brepjs-cad.js +2 -2
- package/dist/cli/main.cjs +2 -2
- package/dist/cli/main.js +2 -2
- package/dist/{diff-DmFtXXiX.js → diff-BWViPAX9.js} +1 -1
- package/dist/{diff-CBp5KDNZ.cjs → diff-D7RFNl0i.cjs} +1 -1
- package/dist/{evaluate-C6FBiEVI.js → evaluate-CCAuI59o.js} +1 -1
- package/dist/{evaluate-sRn-Xvw4.cjs → evaluate-l_HV-BxG.cjs} +1 -1
- package/dist/export3dm/export3dm.cjs +1 -1
- package/dist/export3dm/export3dm.js +1 -1
- package/dist/preview/preview.cjs +2 -2
- package/dist/preview/preview.js +2 -2
- package/dist/{usingCtx-BDYtpr4t.js → usingCtx-CmdCNNMh.js} +1 -1
- package/dist/{usingCtx-LY0tPCbQ.cjs → usingCtx-De4No9jK.cjs} +1 -1
- package/package.json +11 -11
- package/viewer/dist/assets/{brepjs-DzoFdLQN.js → brepjs-Dv5a2RdT.js} +2 -2
- package/viewer/dist/assets/{index-DpWxoifW.js → index-CSl2dBNf.js} +2 -2
- package/viewer/dist/assets/{kernelWorker-C7TmNmhp.js → kernelWorker-DUucDcdG.js} +1 -1
- package/viewer/dist/index.html +1 -1
- package/viewer/dist/wasm/occt-wasm.js +1 -1
- package/viewer/dist/wasm/occt-wasm.wasm +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.178.2](https://github.com/andymai/brepjs/compare/brepjs-cad-v0.178.1...brepjs-cad-v0.178.2) (2026-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **cad:** read the packed tarball name on npm 12 ([#2308](https://github.com/andymai/brepjs/issues/2308)) ([9764e11](https://github.com/andymai/brepjs/commit/9764e11eb058c75b8510d54b21f48d3e35d4bde8))
|
|
9
|
+
|
|
10
|
+
## [0.178.1](https://github.com/andymai/brepjs/compare/brepjs-cad-v0.178.0...brepjs-cad-v0.178.1) (2026-09-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **deps:** accept occt-wasm v5 in the peer range ([#2304](https://github.com/andymai/brepjs/issues/2304)) ([6fd4c50](https://github.com/andymai/brepjs/commit/6fd4c509aaef7e5af2811a8cf388feebdbd60106))
|
|
16
|
+
|
|
3
17
|
## [0.178.0](https://github.com/andymai/brepjs/compare/brepjs-cad-v0.177.0...brepjs-cad-v0.178.0) (2026-08-29)
|
|
4
18
|
|
|
5
19
|
|
package/dist/brepjs-cad.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_usingCtx = require("./usingCtx-
|
|
3
|
-
const require_diff = require("./diff-
|
|
2
|
+
const require_usingCtx = require("./usingCtx-De4No9jK.cjs");
|
|
3
|
+
const require_diff = require("./diff-D7RFNl0i.cjs");
|
|
4
4
|
exports.DEFAULT_TOLERANCE_PCT = require_usingCtx.DEFAULT_TOLERANCE_PCT;
|
|
5
5
|
exports.TYPECHECK_CODE = require_usingCtx.TYPECHECK_CODE;
|
|
6
6
|
exports.emptyReport = require_usingCtx.emptyReport;
|
package/dist/brepjs-cad.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as DEFAULT_TOLERANCE_PCT, d as pctDelta, f as runChecks, g as serializeReport, i as TYPECHECK_CODE, l as evaluateExpected, p as emptyReport, r as runPart, s as typecheckPart, u as isExpectedDims } from "./usingCtx-
|
|
2
|
-
import { n as runMeasure, t as runDiff } from "./diff-
|
|
1
|
+
import { c as DEFAULT_TOLERANCE_PCT, d as pctDelta, f as runChecks, g as serializeReport, i as TYPECHECK_CODE, l as evaluateExpected, p as emptyReport, r as runPart, s as typecheckPart, u as isExpectedDims } from "./usingCtx-CmdCNNMh.js";
|
|
2
|
+
import { n as runMeasure, t as runDiff } from "./diff-BWViPAX9.js";
|
|
3
3
|
export { DEFAULT_TOLERANCE_PCT, TYPECHECK_CODE, emptyReport, evaluateExpected, isExpectedDims, pctDelta, runChecks, runDiff, runMeasure, runPart, serializeReport, typecheckPart };
|
package/dist/cli/main.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const require_usingCtx = require("../usingCtx-
|
|
4
|
-
const require_diff = require("../diff-
|
|
3
|
+
const require_usingCtx = require("../usingCtx-De4No9jK.cjs");
|
|
4
|
+
const require_diff = require("../diff-D7RFNl0i.cjs");
|
|
5
5
|
const require_openBrowser = require("../openBrowser-Bip99cQv.cjs");
|
|
6
6
|
const require_disposeShape = require("../disposeShape-Bui9k40G.cjs");
|
|
7
7
|
let node_url = require("node:url");
|
package/dist/cli/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { g as serializeReport, h as reportOk, m as pushError, r as runPart, v as loadBrep } from "../usingCtx-
|
|
3
|
-
import { n as runMeasure, t as runDiff } from "../diff-
|
|
2
|
+
import { g as serializeReport, h as reportOk, m as pushError, r as runPart, v as loadBrep } from "../usingCtx-CmdCNNMh.js";
|
|
3
|
+
import { n as runMeasure, t as runDiff } from "../diff-BWViPAX9.js";
|
|
4
4
|
import { a as isWatchRelevant, i as debounce, n as shouldAutoOpen, o as watchRootFor, r as createSerialRunner, s as watchTree, t as openBrowser } from "../openBrowser-Dg9oDOte.js";
|
|
5
5
|
import { t as disposeShape } from "../disposeShape-B4lsczOO.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as initOcctWasm, a as exportsField, n as loadPart, o as packageRootOf, t as _usingCtx, v as loadBrep } from "./usingCtx-
|
|
1
|
+
import { _ as initOcctWasm, a as exportsField, n as loadPart, o as packageRootOf, t as _usingCtx, v as loadBrep } from "./usingCtx-CmdCNNMh.js";
|
|
2
2
|
import { t as disposeShape } from "./disposeShape-B4lsczOO.js";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-y5ARvAq5.cjs");
|
|
2
|
-
const require_usingCtx = require("./usingCtx-
|
|
2
|
+
const require_usingCtx = require("./usingCtx-De4No9jK.cjs");
|
|
3
3
|
const require_disposeShape = require("./disposeShape-Bui9k40G.cjs");
|
|
4
4
|
let node_url = require("node:url");
|
|
5
5
|
let node_module = require("node:module");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-y5ARvAq5.cjs");
|
|
3
|
-
const require_evaluate = require("../evaluate-
|
|
3
|
+
const require_evaluate = require("../evaluate-l_HV-BxG.cjs");
|
|
4
4
|
let node_fs = require("node:fs");
|
|
5
5
|
let node_path = require("node:path");
|
|
6
6
|
let rhino3dm = require("rhino3dm");
|
package/dist/preview/preview.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_usingCtx = require("../usingCtx-
|
|
2
|
+
const require_usingCtx = require("../usingCtx-De4No9jK.cjs");
|
|
3
3
|
const require_openBrowser = require("../openBrowser-Bip99cQv.cjs");
|
|
4
4
|
const require_snapshot_static = require("../snapshot/static.cjs");
|
|
5
|
-
const require_evaluate = require("../evaluate-
|
|
5
|
+
const require_evaluate = require("../evaluate-l_HV-BxG.cjs");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
let node_http = require("node:http");
|
package/dist/preview/preview.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as evaluatePreview, r as encodePreviewPayload } from "../evaluate-
|
|
2
|
-
import { v as loadBrep } from "../usingCtx-
|
|
1
|
+
import { n as evaluatePreview, r as encodePreviewPayload } from "../evaluate-CCAuI59o.js";
|
|
2
|
+
import { v as loadBrep } from "../usingCtx-CmdCNNMh.js";
|
|
3
3
|
import { a as isWatchRelevant, i as debounce, n as shouldAutoOpen, o as watchRootFor, r as createSerialRunner, s as watchTree, t as openBrowser } from "../openBrowser-Dg9oDOte.js";
|
|
4
4
|
import { VIEWER_DIST, safeJoin, sendFile } from "../snapshot/static.js";
|
|
5
5
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -987,7 +987,7 @@ async function runPart(modulePath, opts = {}) {
|
|
|
987
987
|
});
|
|
988
988
|
}
|
|
989
989
|
//#endregion
|
|
990
|
-
//#region \0@oxc-project+runtime@0.
|
|
990
|
+
//#region \0@oxc-project+runtime@0.146.0/helpers/esm/usingCtx.js
|
|
991
991
|
function _usingCtx() {
|
|
992
992
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
993
993
|
var n = Error();
|
|
@@ -989,7 +989,7 @@ async function runPart(modulePath, opts = {}) {
|
|
|
989
989
|
});
|
|
990
990
|
}
|
|
991
991
|
//#endregion
|
|
992
|
-
//#region \0@oxc-project+runtime@0.
|
|
992
|
+
//#region \0@oxc-project+runtime@0.146.0/helpers/esm/usingCtx.js
|
|
993
993
|
function _usingCtx() {
|
|
994
994
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
995
995
|
var n = Error();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs-cad",
|
|
3
|
-
"version": "0.178.
|
|
3
|
+
"version": "0.178.2",
|
|
4
4
|
"description": "Brainstorm → design → author → verify → polish pipeline for parametric brepjs CAD, with the brep CLI",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
60
60
|
"brepjs": ">=18.122.0",
|
|
61
61
|
"commander": "^15.0.0",
|
|
62
|
-
"occt-wasm": "^3.0.0 || ^4.0.0",
|
|
62
|
+
"occt-wasm": "^3.0.0 || ^4.0.0 || ^5.0.0",
|
|
63
63
|
"typescript": "^6.0.3"
|
|
64
64
|
},
|
|
65
65
|
"optionalDependencies": {
|
|
@@ -67,28 +67,28 @@
|
|
|
67
67
|
"rhino3dm": "^8.32.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@anthropic-ai/sdk": "0.
|
|
71
|
-
"@langfuse/client": "5.
|
|
72
|
-
"@langfuse/otel": "5.
|
|
73
|
-
"@langfuse/tracing": "5.
|
|
70
|
+
"@anthropic-ai/sdk": "0.122.0",
|
|
71
|
+
"@langfuse/client": "5.11.0",
|
|
72
|
+
"@langfuse/otel": "5.11.0",
|
|
73
|
+
"@langfuse/tracing": "5.11.0",
|
|
74
74
|
"@opentelemetry/sdk-node": "0.221.0",
|
|
75
75
|
"@react-three/drei": "10.7.8",
|
|
76
76
|
"@react-three/fiber": "9.7.0",
|
|
77
|
-
"@types/node": "26.
|
|
77
|
+
"@types/node": "26.4.0",
|
|
78
78
|
"@types/react": "^19.2.15",
|
|
79
|
-
"@types/react-dom": "19.2.
|
|
79
|
+
"@types/react-dom": "19.2.5",
|
|
80
80
|
"@types/three": "0.185.4",
|
|
81
|
-
"@vitejs/plugin-react": "6.
|
|
81
|
+
"@vitejs/plugin-react": "6.1.1",
|
|
82
82
|
"brepjs-viewer": "*",
|
|
83
83
|
"eslint": "^10.4.0",
|
|
84
84
|
"jsdom": "^30.0.1",
|
|
85
85
|
"react": "19.2.8",
|
|
86
86
|
"react-dom": "19.2.8",
|
|
87
87
|
"three": "0.185.1",
|
|
88
|
-
"tsx": "4.23.
|
|
88
|
+
"tsx": "4.23.13",
|
|
89
89
|
"vite": "^8.0.0",
|
|
90
90
|
"vite-plugin-dts": "^5.0.1",
|
|
91
91
|
"vitest": "^4.0.0",
|
|
92
|
-
"zod": "4.4
|
|
92
|
+
"zod": "4.5.4"
|
|
93
93
|
}
|
|
94
94
|
}
|