dart-decimate 0.0.73 → 0.0.74
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/Cargo.lock +3 -3
- package/Cargo.toml +1 -1
- package/README.md +8 -8
- package/package.json +1 -1
- package/src/output/route_cycle.rs +1 -5
package/Cargo.lock
CHANGED
|
@@ -102,7 +102,7 @@ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
|
102
102
|
|
|
103
103
|
[[package]]
|
|
104
104
|
name = "dart-decimate"
|
|
105
|
-
version = "0.0.
|
|
105
|
+
version = "0.0.74"
|
|
106
106
|
dependencies = [
|
|
107
107
|
"clap",
|
|
108
108
|
"glob",
|
|
@@ -397,9 +397,9 @@ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
|
397
397
|
|
|
398
398
|
[[package]]
|
|
399
399
|
name = "rustix"
|
|
400
|
-
version = "1.1.
|
|
400
|
+
version = "1.1.6"
|
|
401
401
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
-
checksum = "
|
|
402
|
+
checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa"
|
|
403
403
|
dependencies = [
|
|
404
404
|
"bitflags",
|
|
405
405
|
"errno",
|
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ You do not need to install anything permanently. Use the command above.
|
|
|
90
90
|
For repeatable automation, pin the version:
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
pnpm dlx dart-decimate@0.0.
|
|
93
|
+
pnpm dlx dart-decimate@0.0.74
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Add this to `package.json` if you want a short project command:
|
|
@@ -101,7 +101,7 @@ Add this to `package.json` if you want a short project command:
|
|
|
101
101
|
"dart-decimate": "dart-decimate json ."
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"dart-decimate": "0.0.
|
|
104
|
+
"dart-decimate": "0.0.74"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
```
|
|
@@ -117,7 +117,7 @@ pnpm run dart-decimate
|
|
|
117
117
|
If you prefer Cargo, install the matching tagged source:
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
|
-
cargo install --git https://github.com/sgaabdu4/dart-decimate.git --tag v0.0.
|
|
120
|
+
cargo install --git https://github.com/sgaabdu4/dart-decimate.git --tag v0.0.74 --locked
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
The npm release `X.Y.Z` and Cargo tag `vX.Y.Z` are verified against each other
|
|
@@ -128,7 +128,7 @@ Confirm a Cargo build's version with:
|
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
130
|
dart-decimate --version
|
|
131
|
-
# dart-decimate 0.0.
|
|
131
|
+
# dart-decimate 0.0.74
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
## pnpm dlx
|
|
@@ -539,7 +539,7 @@ Example shape:
|
|
|
539
539
|
{
|
|
540
540
|
"schema_version": "dart-decimate.report.v1",
|
|
541
541
|
"kind": "combined",
|
|
542
|
-
"tool": "dart-decimate 0.0.
|
|
542
|
+
"tool": "dart-decimate 0.0.74",
|
|
543
543
|
"command": "check",
|
|
544
544
|
"verdict": "fail",
|
|
545
545
|
"summary": {
|
|
@@ -555,7 +555,7 @@ Example shape:
|
|
|
555
555
|
|
|
556
556
|
The `dart-decimate.report.v1` field layout is unchanged. Its existing `tool`
|
|
557
557
|
string includes the producing version so saved reports identify the exact
|
|
558
|
-
build, for example `dart-decimate 0.0.
|
|
558
|
+
build, for example `dart-decimate 0.0.74`.
|
|
559
559
|
|
|
560
560
|
When grouped security findings hide additional occurrences, `next_steps` can
|
|
561
561
|
include `review-security-surface`, which reruns
|
|
@@ -643,7 +643,7 @@ you need the installed binary's exact list.
|
|
|
643
643
|
For a complete repository check, including discovered local packages:
|
|
644
644
|
|
|
645
645
|
```bash
|
|
646
|
-
pnpm dlx dart-decimate@0.0.
|
|
646
|
+
pnpm dlx dart-decimate@0.0.74 --strict
|
|
647
647
|
```
|
|
648
648
|
|
|
649
649
|
This runs every enabled check from the repository root. The default duplication
|
|
@@ -686,7 +686,7 @@ This repository forbids `unsafe_code`.
|
|
|
686
686
|
|
|
687
687
|
## Release Flow
|
|
688
688
|
|
|
689
|
-
Current source version: `0.0.
|
|
689
|
+
Current source version: `0.0.74`.
|
|
690
690
|
|
|
691
691
|
After the first public release, changes should go through pull requests. PRs to
|
|
692
692
|
`main` must bump both `Cargo.toml` and `package.json` above the base branch and to
|
package/package.json
CHANGED
|
@@ -306,14 +306,10 @@ pub(super) fn route_constructor_receiver(
|
|
|
306
306
|
.named_children(&mut cursor)
|
|
307
307
|
.any(|child| route_constructor_receiver(root, child, route_classes, source));
|
|
308
308
|
}
|
|
309
|
-
|
|
309
|
+
matches!(
|
|
310
310
|
node.kind(),
|
|
311
311
|
"constructor_invocation" | "const_object_expression" | "new_expression"
|
|
312
312
|
) && constructor_receiver_matches_route(root, node, route_classes, source)
|
|
313
|
-
{
|
|
314
|
-
return true;
|
|
315
|
-
}
|
|
316
|
-
false
|
|
317
313
|
}
|
|
318
314
|
|
|
319
315
|
fn constructor_receiver_matches_route(
|