dart-decimate 0.0.18 → 0.0.19

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 CHANGED
@@ -102,7 +102,7 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
102
102
 
103
103
  [[package]]
104
104
  name = "dart-decimate"
105
- version = "0.0.18"
105
+ version = "0.0.19"
106
106
  dependencies = [
107
107
  "clap",
108
108
  "glob",
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "dart-decimate"
3
- version = "0.0.18"
3
+ version = "0.0.19"
4
4
  edition = "2024"
5
5
  rust-version = "1.85"
6
6
  description = "Rust-native codebase intelligence for Dart and Flutter module graphs."
package/README.md CHANGED
@@ -91,7 +91,7 @@ Add this to `package.json` if you want a short project command:
91
91
  "dart-decimate": "dart-decimate json ."
92
92
  },
93
93
  "devDependencies": {
94
- "dart-decimate": "^0.0.18"
94
+ "dart-decimate": "^0.0.19"
95
95
  }
96
96
  }
97
97
  ```
@@ -675,7 +675,7 @@ This repository forbids `unsafe_code`.
675
675
 
676
676
  ## Release Flow
677
677
 
678
- Current version: `0.0.18`.
678
+ Current version: `0.0.19`.
679
679
 
680
680
  After the first public release, changes should go through pull requests. Every
681
681
  PR to `main` must bump both `Cargo.toml` and `package.json` above the base
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dart-decimate",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Rust-native codebase intelligence for Dart and Flutter module graphs.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -2435,6 +2435,7 @@ fn literal_looks_like_user_facing_copy(value: &str) -> bool {
2435
2435
  "password reset",
2436
2436
  "enter password",
2437
2437
  "confirm password",
2438
+ "confirm your password",
2438
2439
  "password must",
2439
2440
  "password is",
2440
2441
  "password should",
package/src/symbols.rs CHANGED
@@ -348,7 +348,7 @@ fn unused_member_from_declaration(
348
348
  &indexed.member.owner,
349
349
  &indexed.member.name,
350
350
  reachable_files,
351
- )
351
+ ) + index.qualified_reference_count(&indexed.member.owner, "values", reachable_files)
352
352
  } else {
353
353
  let library = index.library_path(&indexed.path);
354
354
  index.library_reference_count(&indexed.member.name, library, reachable_files)