Skip to content

Commit dba66c0

Browse files
committed
fix(theme): correct filter to preserve empty strings without leaking falsy numerics
1 parent 8a5a60d commit dba66c0

File tree

17 files changed

+1
-383
lines changed

17 files changed

+1
-383
lines changed

pages/v5.x/globals.md

Lines changed: 0 additions & 194 deletions
Large diffs are not rendered by default.

pages/v5.x/webpack/namespaces/cache.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#### Constructor
88

9-
0
109
* Returns: {MemoryCachePlugin}
1110

1211
### Methods

pages/v5.x/webpack/namespaces/cli.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
> **isColorSupported**: {object}
2424
25-
0
2625
* Returns: {boolean}
2726

2827
***

pages/v5.x/webpack/namespaces/css.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#### Constructor
88

9-
0
109
* Returns: {CssModulesPlugin}
1110

1211
### Methods

pages/v5.x/webpack/namespaces/dependencies.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777

7878
#### `couldAffectReferencingModule()`
7979

80-
0
8180
* Returns: {boolean|TRANSITIVE}
8281

8382
#### `createIgnoredModule(context)`
@@ -97,7 +96,6 @@
9796

9897
#### `getContext()`
9998

100-
0
10199
* Returns: {string}
102100

103101
#### `getErrors(moduleGraph)`
@@ -121,7 +119,6 @@ Returns the exported names
121119

122120
#### `getNumberOfIdOccurrences()`
123121

124-
0
125122
* Returns: {number}
126123

127124
implement this method to allow the occurrence order plugin to count correctly
@@ -145,7 +142,6 @@ Returns list of exports referenced by this dependency
145142

146143
#### `getResourceIdentifier()`
147144

148-
0
149145
* Returns: {string}
150146

151147
#### `getWarnings(moduleGraph)`
@@ -266,7 +262,6 @@ Update the hash
266262

267263
#### `couldAffectReferencingModule()`
268264

269-
0
270265
* Returns: {boolean|TRANSITIVE}
271266

272267
#### `createIgnoredModule(context)`
@@ -286,7 +281,6 @@ Update the hash
286281

287282
#### `getContext()`
288283

289-
0
290284
* Returns: {string}
291285

292286
#### `getErrors(moduleGraph)`
@@ -333,7 +327,6 @@ Returns the exported names
333327

334328
#### `getNumberOfIdOccurrences()`
335329

336-
0
337330
* Returns: {number}
338331

339332
implement this method to allow the occurrence order plugin to count correctly
@@ -357,7 +350,6 @@ Returns list of exports referenced by this dependency
357350

358351
#### `getResourceIdentifier()`
359352

360-
0
361353
* Returns: {string}
362354

363355
#### `getWarnings(moduleGraph)`
@@ -476,7 +468,6 @@ Update the hash
476468

477469
#### `couldAffectReferencingModule()`
478470

479-
0
480471
* Returns: {boolean|TRANSITIVE}
481472

482473
#### `createIgnoredModule(context)`
@@ -496,7 +487,6 @@ Update the hash
496487

497488
#### `getContext()`
498489

499-
0
500490
* Returns: {string}
501491

502492
#### `getErrors(moduleGraph)`
@@ -520,7 +510,6 @@ Returns the exported names
520510

521511
#### `getNumberOfIdOccurrences()`
522512

523-
0
524513
* Returns: {number}
525514

526515
implement this method to allow the occurrence order plugin to count correctly
@@ -544,7 +533,6 @@ Returns list of exports referenced by this dependency
544533

545534
#### `getResourceIdentifier()`
546535

547-
0
548536
* Returns: {string}
549537

550538
#### `getWarnings(moduleGraph)`
@@ -596,7 +584,6 @@ Update the hash
596584

597585
#### Constructor
598586

599-
0
600587
* Returns: {NullDependency}
601588

602589
### Properties
@@ -658,7 +645,6 @@ Update the hash
658645

659646
#### `couldAffectReferencingModule()`
660647

661-
0
662648
* Returns: {boolean|TRANSITIVE}
663649

664650
#### `createIgnoredModule(context)`
@@ -678,7 +664,6 @@ Update the hash
678664

679665
#### `getContext()`
680666

681-
0
682667
* Returns: {string}
683668

684669
#### `getErrors(moduleGraph)`
@@ -702,7 +687,6 @@ Returns the exported names
702687

703688
#### `getNumberOfIdOccurrences()`
704689

705-
0
706690
* Returns: {number}
707691

708692
implement this method to allow the occurrence order plugin to count correctly
@@ -726,7 +710,6 @@ Returns list of exports referenced by this dependency
726710

727711
#### `getResourceIdentifier()`
728712

729-
0
730713
* Returns: {string}
731714

732715
#### `getWarnings(moduleGraph)`

pages/v5.x/webpack/namespaces/esm.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -295,21 +295,18 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin
295295

296296
#### `cleanupForCache()`
297297

298-
0
299298
* Returns: {void}
300299

301300
Assuming this module is in the cache. Remove internal references to allow freeing some memory.
302301

303302
#### `clearDependenciesAndBlocks()`
304303

305-
0
306304
* Returns: {void}
307305

308306
Removes all dependencies and blocks
309307

310308
#### `clearWarningsAndErrors()`
311309

312-
0
313310
* Returns: {void}
314311

315312
removes all warnings and errors
@@ -326,12 +323,10 @@ removes all warnings and errors
326323

327324
#### `generate()`
328325

329-
0
330326
* Returns: {string}
331327

332328
#### `getChunks()`
333329

334-
0
335330
* Returns: {Chunk[]}
336331

337332
#### `getConcatenationBailoutReason(context)`
@@ -341,7 +336,6 @@ removes all warnings and errors
341336

342337
#### `getErrors()`
343338

344-
0
345339
* Returns: {Iterable}
346340

347341
#### `getExportsType(moduleGraph[, strict])`
@@ -352,27 +346,22 @@ removes all warnings and errors
352346

353347
#### `getGeneratedCode()`
354348

355-
0
356349
* Returns: {string}
357350

358351
#### `getNumberOfChunks()`
359352

360-
0
361353
* Returns: {number}
362354

363355
#### `getNumberOfErrors()`
364356

365-
0
366357
* Returns: {number}
367358

368359
#### `getNumberOfWarnings()`
369360

370-
0
371361
* Returns: {number}
372362

373363
#### `getRootBlock()`
374364

375-
0
376365
* Returns: {DependenciesBlock}
377366

378367
#### `getSideEffectsConnectionState(moduleGraph)`
@@ -382,7 +371,6 @@ removes all warnings and errors
382371

383372
#### `getSourceBasicTypes()`
384373

385-
0
386374
* Returns: {ReadonlySet}
387375

388376
Basic source types are high-level categories like javascript, css, webassembly, etc.
@@ -393,25 +381,21 @@ from getSourceTypes(), but their generated output is still JavaScript, i.e. thei
393381

394382
#### `getSourceTypes()`
395383

396-
0
397384
* Returns: {ReadonlySet}
398385

399386
#### `getUnsafeCacheData()`
400387

401-
0
402388
* Returns: {UnsafeCacheData}
403389

404390
Module should be unsafe cached. Get data that's needed for that.
405391
This data will be passed to restoreFromUnsafeCache later.
406392

407393
#### `getWarnings()`
408394

409-
0
410395
* Returns: {Iterable}
411396

412397
#### `hasChunkCondition()`
413398

414-
0
415399
* Returns: {boolean}
416400

417401
#### `hasReasonForChunk(chunk, moduleGraph, chunkGraph)`
@@ -429,12 +413,10 @@ This data will be passed to restoreFromUnsafeCache later.
429413

430414
#### `identifier()`
431415

432-
0
433416
* Returns: {string}
434417

435418
#### `invalidateBuild()`
436419

437-
0
438420
* Returns: {void}
439421

440422
#### `isAccessibleInChunk(chunkGraph, chunk[, ignoreChunk])`
@@ -453,7 +435,6 @@ This data will be passed to restoreFromUnsafeCache later.
453435

454436
#### `isEntryModule()`
455437

456-
0
457438
* Returns: {boolean}
458439

459440
#### `isInChunk(chunk)`
@@ -478,7 +459,6 @@ This data will be passed to restoreFromUnsafeCache later.
478459

479460
#### `nameForCondition()`
480461

481-
0
482462
* Returns: {string}
483463

484464
#### `needBuild(context, callback)`
@@ -499,7 +479,6 @@ Use needBuild instead
499479

500480
#### `originalSource()`
501481

502-
0
503482
* Returns: {Source}
504483

505484
#### `readableIdentifier(requestShortener)`
@@ -524,7 +503,6 @@ Use needBuild instead
524503

525504
#### `shouldIsolate()`
526505

527-
0
528506
* Returns: {boolean}
529507

530508
#### `size([type])`

pages/v5.x/webpack/namespaces/ids.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ Apply the plugin
150150

151151
#### Constructor
152152

153-
0
154153
* Returns: {NaturalModuleIdsPlugin}
155154

156155
### Methods

pages/v5.x/webpack/namespaces/node.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Apply the plugin
3030

3131
#### Constructor
3232

33-
0
3433
* Returns: {NodeSourcePlugin}
3534

3635
### Methods

pages/v5.x/webpack/namespaces/optimize/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ Apply the plugin
131131

132132
#### Constructor
133133

134-
0
135134
* Returns: {ModuleConcatenationPlugin}
136135

137136
### Methods

pages/v5.x/webpack/namespaces/prefetch.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#### Constructor
88

9-
0
109
* Returns: {ChunkPrefetchPreloadPlugin}
1110

1211
### Methods

0 commit comments

Comments
 (0)