Commit bfb2e4c
committed
ref(nitro, nuxt): inline
Replaces the two duplicated `isEmptyValue` helpers with inline `x == null` checks, matching the idiom already used across the codebase, rather than adding a shared helper to core.== null checks for nullish detection1 parent 48b1434 commit bfb2e4c
2 files changed
Lines changed: 5 additions & 16 deletions
File tree
- packages
- nitro/src/runtime/hooks
- nuxt/src/runtime/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
| |||
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
119 | | - | |
| 115 | + | |
120 | 116 | | |
121 | 117 | | |
122 | 118 | | |
| |||
133 | 129 | | |
134 | 130 | | |
135 | 131 | | |
136 | | - | |
| 132 | + | |
137 | 133 | | |
138 | 134 | | |
139 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 212 | | |
220 | 213 | | |
221 | 214 | | |
| |||
267 | 260 | | |
268 | 261 | | |
269 | 262 | | |
270 | | - | |
| 263 | + | |
271 | 264 | | |
272 | 265 | | |
273 | 266 | | |
| |||
280 | 273 | | |
281 | 274 | | |
282 | 275 | | |
283 | | - | |
| 276 | + | |
284 | 277 | | |
285 | 278 | | |
286 | 279 | | |
| |||
301 | 294 | | |
302 | 295 | | |
303 | 296 | | |
304 | | - | |
| 297 | + | |
305 | 298 | | |
306 | 299 | | |
307 | 300 | | |
| |||
0 commit comments