@inixiative/json-rules 4.3.0 → 4.5.1
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/README.md +50 -9
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +114 -26
- package/dist/index.d.ts +114 -26
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inixiative/json-rules",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"description": "Serializable JSON rules engine for TypeScript: one rule AST runs in memory (check), as a Prisma query (toPrisma) and as SQL WHERE (toSql)",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"check:catalog": "bun test test/operatorCatalog.integrity.test.ts",
|
|
21
21
|
"generate:rails": "cd test/rails && prisma generate && prisma migrate diff --from-empty --to-schema schema.prisma --script -o generated/schema.sql",
|
|
22
22
|
"check": "bun run generate:rails && bun run typecheck && bun run lint && bun run test",
|
|
23
|
-
"prepare": "if git rev-parse --git-dir >/dev/null 2>&1; then lefthook install; fi && bun run generate:rails",
|
|
23
|
+
"prepare": "if git rev-parse --git-dir >/dev/null 2>&1; then root=\"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\"; if [ -x \"$root/node_modules/.bin/lefthook\" ]; then (cd \"$root\" && ./node_modules/.bin/lefthook install); fi; fi && bun run generate:rails",
|
|
24
24
|
"prepublishOnly": "bun run check && bun run build"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@biomejs/biome": "2.5.2",
|
|
46
46
|
"@electric-sql/pglite": "^0.4.1",
|
|
47
47
|
"@electric-sql/pglite-socket": "0.1.1",
|
|
48
|
-
"@inixiative/config": "^0.5.
|
|
48
|
+
"@inixiative/config": "^0.5.241",
|
|
49
49
|
"@prisma/adapter-pg": "7.8.0",
|
|
50
50
|
"@prisma/client": "7.8.0",
|
|
51
51
|
"@types/bun": "1.4.4",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@inixiative/field-map": "^0.1.
|
|
73
|
+
"@inixiative/field-map": "^0.1.2",
|
|
74
74
|
"dayjs": "^1.11.13",
|
|
75
75
|
"fastest-levenshtein": "^1.0.16",
|
|
76
76
|
"re2js": "^2.8.6"
|