@daml-tools/daml-lint 0.4.0 → 0.6.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/README.md +4 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -207,6 +207,10 @@ rule's `SEVERITY` applies to all its findings. Node shapes are declared in
|
|
|
207
207
|
[src/ir.rs](src/ir.rs); statement nodes in `body` are objects keyed by kind,
|
|
208
208
|
e.g. `"Create" in stmt`.
|
|
209
209
|
|
|
210
|
+
Choice consumption and import forms are surfaced as string enums (`choice.consuming`
|
|
211
|
+
is `"consuming" | "non-consuming"`; `import.qualified` is `"qualified" | "unqualified"`)
|
|
212
|
+
to avoid boolean ambiguity.
|
|
213
|
+
|
|
210
214
|
Statements carry a typed expression AST: `stmt.Let.value`,
|
|
211
215
|
`stmt.Assert.condition_expr`, `stmt.Exercise.cid`/`.argument`, and
|
|
212
216
|
`stmt.Other.expr` are `Expr` nodes — tagged unions like
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daml-tools/daml-lint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Static analysis scanner for Daml smart contracts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"daml",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"node": ">=18"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@daml-tools/daml-lint-darwin-arm64": "0.
|
|
26
|
-
"@daml-tools/daml-lint-linux-arm64": "0.
|
|
27
|
-
"@daml-tools/daml-lint-linux-x64": "0.
|
|
28
|
-
"@daml-tools/daml-lint-win32-x64": "0.
|
|
25
|
+
"@daml-tools/daml-lint-darwin-arm64": "0.6.0",
|
|
26
|
+
"@daml-tools/daml-lint-linux-arm64": "0.6.0",
|
|
27
|
+
"@daml-tools/daml-lint-linux-x64": "0.6.0",
|
|
28
|
+
"@daml-tools/daml-lint-win32-x64": "0.6.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|