Commit 5d8cb15
authored
chore: update dependencies with dedupe and audit fix (#9)
* chore: update dependencies with dedupe and audit fix
* test: enhance ExportParser tests to ignore exports in strings and improve parsing logic
* docs: update README with known limitations of ExportParser and improve clarity
fix: update coverage badge to reflect current coverage percentage
chore: reorganize package.json dependencies and scripts for better clarity
test: add integration tests for ExportParser to validate export extraction logic
refactor: enhance ExportParser to use ts-morph for accurate AST parsing
build: update webpack config to handle ts-morph dependencies and ignore warnings
* feat(logging): enhance OutputChannelLogger with improved error handling and metadata formatting
feat(tests): add comprehensive tests for assertion utilities and error handling
fix(utils): improve guards and formatting functions for better type safety and error handling
chore(tests): organize test structure and add missing test cases for utility functions
refactor(tests): streamline test cases for clarity and maintainability
chore: update tsconfig to enable importHelpers for better code optimization
* feat(FileSystemService): enhance TypeScript file filtering to exclude test files
* feat: add isDirectory method to FileSystemService
- Implemented isDirectory method to check if a given path is a directory.
- Added corresponding unit tests for isDirectory in file-system.service.test.ts.
- Updated file-system.service.ts to include the new method.
- Enhanced index.ts to export the FileSystemService.
chore: add copyright headers to all files
- Added copyright headers to all source and test files for consistency and compliance.
refactor: clean up exports in index files
- Updated index.ts files in core, parser, and types directories to streamline exports.
- Removed unnecessary exports and ensured proper type exports.
test: improve test structure and coverage
- Enhanced test cases in various test files for better coverage and clarity.
- Updated assertions to ensure accuracy in tests across multiple utility functions.
- Refactored test descriptions for better readability.
fix: update logging exports
- Adjusted logging/index.ts to export types and classes correctly.
- Ensured consistent export structure across the logging module.
style: format code and improve readability
- Applied consistent formatting across all files.
- Improved code comments and documentation for better understanding.
* refactor: improve documentation comments across test files for clarity
* fix(format): return an empty string for undefined values in safeStringify
* refactor(array): simplify isEmptyArray function logic
* refactor(ExportParser): create a new project instance for each parsing operation to prevent memory accumulation1 parent 2f79893 commit 5d8cb15
57 files changed
Lines changed: 5345 additions & 1332 deletions
File tree
- badges
- scripts
- codemods
- src
- core
- barrel
- io
- parser
- rules
- logging
- test
- suite
- types
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
231 | 241 | | |
232 | 242 | | |
233 | 243 | | |
| |||
236 | 246 | | |
237 | 247 | | |
238 | 248 | | |
239 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
101 | 121 | | |
102 | 122 | | |
| 123 | + | |
103 | 124 | | |
104 | 125 | | |
105 | 126 | | |
| |||
111 | 132 | | |
112 | 133 | | |
113 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
114 | 156 | | |
115 | 157 | | |
116 | 158 | | |
| |||
168 | 210 | | |
169 | 211 | | |
170 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
171 | 230 | | |
172 | 231 | | |
173 | 232 | | |
| |||
225 | 284 | | |
226 | 285 | | |
227 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
228 | 296 | | |
0 commit comments