@ai-ecoverse/slicc-kernel 1.1.0 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -37,20 +37,21 @@
37
37
  "start": "npm run build && node test/integration/server.mjs",
38
38
  "pretest": "npm run build && playwright-core install --no-shell chromium",
39
39
  "test": "node --test --test-global-setup=test/integration/global.mjs 'test/integration/*.test.mjs'",
40
- "test:unit": "NODE_NO_WARNINGS=1 mcr -c mcr.config.mjs node --test 'test/unit/**/*.test.mjs'",
41
- "coverage:staged": "npm run --silent test:unit && uvx diff-cover@10.6.0 coverage/unit/lcov.info --compare-branch HEAD --ignore-unstaged --fail-under 100",
40
+ "test:unit": "NODE_NO_WARNINGS=1 mcr -c node_modules/@ai-ecoverse/slicc-shared-web/mcr.config.mjs node --import fake-indexeddb/auto --test 'test/unit/**/*.test.mjs'",
42
41
  "typecheck": "tsc",
43
- "lint": "biome check . && npm run typecheck && npm run lint:comments && npm run lint:no-unit-tests",
44
- "lint:comments": "d=node_modules/.cache/no-comment-9cc7617; [ -f $d/check.mjs ] || { mkdir -p $d && for f in lib comments marker check; do curl -fsSL -o $d/$f.mjs https://raw.githubusercontent.com/ai-ecoverse/slicc/9cc7617c94c24b84c4d6fd8edf92441378257d07/packages/dev-tools/no-comment/$f.mjs || exit 1; done; } && node $d/check.mjs --force",
45
- "lint:no-unit-tests": "! git ls-files --cached --others --exclude-standard | grep -E '(^|/)(tests?|__tests__)/|\\.(test|spec)\\.' | grep -vE '^test/integration/'",
42
+ "lint": "slicc-lint",
46
43
  "format": "biome check --write ."
47
44
  },
48
45
  "devDependencies": {
46
+ "@ai-ecoverse/slicc-shared-web": "1.1.0",
49
47
  "@ai-ecoverse/wasm-bash": "5.3.0-7",
50
48
  "@ai-ecoverse/wasm-coreutils": "9.7.0-3",
49
+ "@ai-ecoverse/wasm-curl": "8.22.0-1",
50
+ "@ai-ecoverse/wasm-tls-engine": "3.6.5-1",
51
51
  "@biomejs/biome": "2.5.15",
52
52
  "@types/node": "24.19.1",
53
53
  "esbuild": "0.28.2",
54
+ "fake-indexeddb": "6.2.5",
54
55
  "lefthook": "2.1.16",
55
56
  "monocart-coverage-reports": "2.13.0",
56
57
  "playwright-core": "1.63.0",