@kernlang/review 3.1.0 → 3.1.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 +24 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @kernlang/review
|
|
2
|
+
|
|
3
|
+
Kern Review -- 68+ rules, taint tracking, OWASP LLM01 coverage
|
|
4
|
+
|
|
5
|
+
Part of the [KERN monorepo](https://github.com/KERNlang/kern).
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @kernlang/review
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { reviewFile, reviewSource, reviewDirectory } from '@kernlang/review';
|
|
17
|
+
|
|
18
|
+
const report = reviewFile('src/handler.ts');
|
|
19
|
+
console.log(report.findings);
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
|
|
24
|
+
AGPL-3.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernlang/review",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Kern Review — scan TS, infer .kern IR, roundtrip diff, report",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "AGPL-3.0",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"ts-morph": "^27.0.0",
|
|
20
|
-
"@kernlang/core": "3.1.
|
|
20
|
+
"@kernlang/core": "3.1.1"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc -b",
|