mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-15 15:36:04 +00:00
* feat(tooling): add noUncheckedIndexedAccess strict-ratchet lane * fix(packages): make indexed access explicit across ratchet packages Burns down all 65 noUncheckedIndexedAccess errors in the seven ratchet packages with behavior-identical restructuring (iteration, charAt/slice, regex-group guards, validated hextet tuple). net-policy invariant violations now throw instead of failing open. Adds @openclaw/normalization-core/expect (expectDefined/first/last) with subpath export and tests. memory-host-sdk fixes kept but the package stays out of the lane: it re-exports core src/** so the flag would apply transitively to all of core. * fix(lint): keep .oxlintrc.json strict-JSON parseable for extension lint wrappers
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"name": "@openclaw/normalization-core",
|
|
"version": "0.0.0-private",
|
|
"private": true,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"main": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./boolean-coercion": {
|
|
"types": "./dist/boolean-coercion.d.mts",
|
|
"import": "./dist/boolean-coercion.mjs",
|
|
"default": "./dist/boolean-coercion.mjs"
|
|
},
|
|
"./error-coercion": {
|
|
"types": "./dist/error-coercion.d.mts",
|
|
"import": "./dist/error-coercion.mjs",
|
|
"default": "./dist/error-coercion.mjs"
|
|
},
|
|
"./expect": {
|
|
"types": "./dist/expect.d.mts",
|
|
"import": "./dist/expect.mjs",
|
|
"default": "./dist/expect.mjs"
|
|
},
|
|
"./number-coercion": {
|
|
"types": "./dist/number-coercion.d.mts",
|
|
"import": "./dist/number-coercion.mjs",
|
|
"default": "./dist/number-coercion.mjs"
|
|
},
|
|
"./record-coerce": {
|
|
"types": "./dist/record-coerce.d.mts",
|
|
"import": "./dist/record-coerce.mjs",
|
|
"default": "./dist/record-coerce.mjs"
|
|
},
|
|
"./string-coerce": {
|
|
"types": "./dist/string-coerce.d.mts",
|
|
"import": "./dist/string-coerce.mjs",
|
|
"default": "./dist/string-coerce.mjs"
|
|
},
|
|
"./string-normalization": {
|
|
"types": "./dist/string-normalization.d.mts",
|
|
"import": "./dist/string-normalization.mjs",
|
|
"default": "./dist/string-normalization.mjs"
|
|
},
|
|
"./utf16-slice": {
|
|
"types": "./dist/utf16-slice.d.mts",
|
|
"import": "./dist/utf16-slice.mjs",
|
|
"default": "./dist/utf16-slice.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown src/index.ts src/boolean-coercion.ts src/error-coercion.ts src/expect.ts src/number-coercion.ts src/record-coerce.ts src/string-coerce.ts src/string-normalization.ts src/utf16-slice.ts --no-config --platform node --format esm --dts --out-dir dist --clean"
|
|
}
|
|
}
|