create-ifc-lite 1.14.11 → 1.14.13

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.
@@ -239,7 +239,10 @@ export default function App() {
239
239
  try {
240
240
  const processor = new GeometryProcessor();
241
241
  await processor.init();
242
- if (cancelled || initId !== loadIdRef.current) return;
242
+ if (cancelled || initId !== loadIdRef.current) {
243
+ processor.dispose();
244
+ return;
245
+ }
243
246
 
244
247
  processorRef.current = processor;
245
248
  const viewer = await createViewer(canvasRef.current);
@@ -266,6 +269,8 @@ export default function App() {
266
269
  loadIdRef.current += 1;
267
270
  viewerRef.current?.destroy();
268
271
  viewerRef.current = null;
272
+ processorRef.current?.dispose();
273
+ processorRef.current = null;
269
274
  };
270
275
  }, []);
271
276
 
@@ -36,7 +36,7 @@ export function createServerNativeTemplate(targetDir, projectName) {
36
36
  '@types/node': '^20.0.0',
37
37
  },
38
38
  optionalDependencies: {
39
- 'parquet-wasm': '^0.6.0',
39
+ 'parquet-wasm': '^0.7.2',
40
40
  'apache-arrow': '^17.0.0',
41
41
  },
42
42
  }, null, 2));
@@ -188,7 +188,7 @@ cache
188
188
  '@types/node': '^20.0.0',
189
189
  },
190
190
  optionalDependencies: {
191
- 'parquet-wasm': '^0.6.0',
191
+ 'parquet-wasm': '^0.7.2',
192
192
  'apache-arrow': '^17.0.0',
193
193
  },
194
194
  }, null, 2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ifc-lite",
3
- "version": "1.14.11",
3
+ "version": "1.14.13",
4
4
  "description": "Create IFC-Lite projects with one command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,13 +31,16 @@
31
31
  "node": ">=18.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "^26.1.0",
35
- "typescript": "^5.3.0"
34
+ "@types/node": "^26.4.0",
35
+ "typescript": "^5.3.0",
36
+ "vitest": "^4.1.11"
36
37
  },
37
38
  "homepage": "https://ifclite.dev/docs/",
38
39
  "bugs": "https://github.com/LTplus-AG/ifc-lite/issues",
39
40
  "scripts": {
40
41
  "build": "pnpm exec tsc",
41
- "dev": "pnpm exec tsc --watch"
42
+ "typecheck": "node ../../scripts/typecheck-tests.mjs",
43
+ "dev": "pnpm exec tsc --watch",
44
+ "test": "vitest run"
42
45
  }
43
46
  }