elit 3.6.6 → 3.6.7
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 +1 -1
- package/Cargo.toml +1 -1
- package/dist/build.cjs +421 -331
- package/dist/build.d.ts +1 -19
- package/dist/build.js +420 -330
- package/dist/build.mjs +420 -330
- package/dist/chokidar.cjs +219 -182
- package/dist/chokidar.d.ts +25 -10
- package/dist/chokidar.js +217 -182
- package/dist/chokidar.mjs +218 -183
- package/dist/cli.cjs +22439 -21563
- package/dist/cli.d.ts +19 -37
- package/dist/cli.mjs +24113 -23252
- package/dist/config.cjs +357 -350
- package/dist/config.d.ts +17 -245
- package/dist/config.js +520 -515
- package/dist/config.mjs +346 -341
- package/dist/contracts-BeW9k0yZ.d.ts +54 -0
- package/dist/contracts-D7KIS-TK.d.ts +36 -0
- package/dist/coverage.cjs +448 -485
- package/dist/coverage.d.ts +13 -62
- package/dist/coverage.js +447 -484
- package/dist/coverage.mjs +447 -484
- package/dist/database.cjs +819 -828
- package/dist/database.d.ts +8 -24
- package/dist/database.js +818 -829
- package/dist/database.mjs +818 -829
- package/dist/desktop-auto-render.cjs +1700 -1523
- package/dist/desktop-auto-render.d.ts +4 -12
- package/dist/desktop-auto-render.js +1695 -1518
- package/dist/desktop-auto-render.mjs +1696 -1519
- package/dist/desktop.cjs +3 -1
- package/dist/desktop.d.ts +4 -1
- package/dist/desktop.js +1 -1
- package/dist/desktop.mjs +1 -1
- package/dist/dev-build.cjs +830 -0
- package/dist/dev-build.d.ts +53 -0
- package/dist/dev-build.js +3318 -0
- package/dist/dev-build.mjs +797 -0
- package/dist/dom.cjs +717 -591
- package/dist/dom.d.ts +2 -17
- package/dist/dom.js +714 -588
- package/dist/dom.mjs +716 -590
- package/dist/el.cjs +62 -52
- package/dist/el.d.ts +5 -12
- package/dist/el.js +60 -52
- package/dist/el.mjs +60 -52
- package/dist/fs.cjs +72 -63
- package/dist/fs.d.ts +22 -19
- package/dist/fs.js +71 -62
- package/dist/fs.mjs +71 -62
- package/dist/hmr.cjs +40 -14
- package/dist/hmr.d.ts +11 -23
- package/dist/hmr.js +38 -14
- package/dist/hmr.mjs +38 -14
- package/dist/http.cjs +251 -99
- package/dist/http.d.ts +38 -104
- package/dist/http.js +249 -99
- package/dist/http.mjs +249 -99
- package/dist/https.cjs +524 -228
- package/dist/https.d.ts +44 -36
- package/dist/https.js +520 -226
- package/dist/https.mjs +522 -228
- package/dist/index.cjs +7502 -7691
- package/dist/index.d.ts +6 -3
- package/dist/index.js +7486 -7677
- package/dist/index.mjs +7497 -7687
- package/dist/mime-types.cjs +10 -4
- package/dist/mime-types.d.ts +8 -11
- package/dist/mime-types.js +9 -3
- package/dist/mime-types.mjs +9 -3
- package/dist/native.cjs +8616 -8870
- package/dist/native.d.ts +7 -10
- package/dist/native.js +8682 -8936
- package/dist/native.mjs +8615 -8869
- package/dist/path.cjs +83 -77
- package/dist/path.d.ts +29 -29
- package/dist/path.js +82 -76
- package/dist/path.mjs +82 -76
- package/dist/pm.cjs +3300 -0
- package/dist/pm.d.ts +256 -0
- package/dist/pm.js +5638 -0
- package/dist/pm.mjs +3196 -0
- package/dist/preview-build.cjs +712 -0
- package/dist/preview-build.d.ts +59 -0
- package/dist/preview-build.js +3194 -0
- package/dist/preview-build.mjs +676 -0
- package/dist/render-context.cjs +13 -2
- package/dist/render-context.d.ts +9 -34
- package/dist/render-context.js +11 -2
- package/dist/render-context.mjs +11 -2
- package/dist/router.cjs +787 -646
- package/dist/router.d.ts +8 -14
- package/dist/router.js +786 -645
- package/dist/router.mjs +786 -645
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/server.cjs +3254 -2684
- package/dist/server.d.ts +47 -5
- package/dist/server.js +3427 -2859
- package/dist/server.mjs +3397 -2829
- package/dist/smtp-server.cjs +16 -3
- package/dist/smtp-server.d.ts +12 -26
- package/dist/smtp-server.js +18 -5
- package/dist/smtp-server.mjs +16 -3
- package/dist/state-DvEkDehk.d.ts +195 -0
- package/dist/state.cjs +768 -659
- package/dist/state.d.ts +11 -71
- package/dist/state.js +760 -651
- package/dist/state.mjs +767 -658
- package/dist/style.cjs +1011 -968
- package/dist/style.d.ts +13 -127
- package/dist/style.js +1009 -970
- package/dist/style.mjs +1011 -971
- package/dist/test-reporter.cjs +332 -316
- package/dist/test-reporter.d.ts +28 -33
- package/dist/test-reporter.js +328 -312
- package/dist/test-reporter.mjs +328 -312
- package/dist/test-runtime.cjs +927 -968
- package/dist/test-runtime.d.ts +24 -99
- package/dist/test-runtime.js +922 -965
- package/dist/test-runtime.mjs +922 -965
- package/dist/test.cjs +4428 -4273
- package/dist/test.d.ts +2 -8
- package/dist/test.js +4307 -4154
- package/dist/test.mjs +4419 -4267
- package/dist/types-BONVzPtp.d.ts +59 -0
- package/dist/types-BR4wMiVx.d.ts +32 -0
- package/dist/types-C4gKykuG.d.ts +23 -0
- package/dist/types-CIhpN1-K.d.ts +64 -0
- package/dist/types-Ckj8md_j.d.ts +84 -0
- package/dist/types-CpjQTAkX.d.ts +24 -0
- package/dist/types-D0LjrYjS.d.ts +14 -0
- package/dist/types-DAisuVr5.d.ts +75 -0
- package/dist/types-tJn88E1N.d.ts +242 -0
- package/dist/types.d.ts +50 -237
- package/dist/universal.cjs +1 -1
- package/dist/universal.d.ts +1 -7
- package/dist/universal.js +1 -1
- package/dist/universal.mjs +1 -1
- package/dist/websocket-XfyK23zD.d.ts +119 -0
- package/dist/ws.cjs +129 -108
- package/dist/ws.d.ts +21 -131
- package/dist/ws.js +128 -109
- package/dist/ws.mjs +128 -109
- package/dist/wss.cjs +757 -479
- package/dist/wss.d.ts +31 -28
- package/dist/wss.js +755 -479
- package/dist/wss.mjs +758 -482
- package/package.json +8 -1
- package/vendor/epaint-0.31.1/src/image.rs +418 -0
- package/dist/server-uMQvZAll.d.ts +0 -458
package/dist/coverage.d.ts
CHANGED
|
@@ -1,50 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './http.js';
|
|
3
|
-
import 'node:events';
|
|
4
|
-
import './ws.js';
|
|
5
|
-
import 'events';
|
|
6
|
-
import 'http';
|
|
7
|
-
import 'ws';
|
|
8
|
-
import './smtp-server.js';
|
|
9
|
-
import 'net';
|
|
10
|
-
import 'smtp-server';
|
|
1
|
+
import { T as TestCoverageReporter } from './contracts-BeW9k0yZ.js';
|
|
11
2
|
|
|
12
|
-
/**
|
|
13
|
-
* Coverage collection and reporting with vitest-style output
|
|
14
|
-
*
|
|
15
|
-
* This module provides coverage collection using V8 native coverage
|
|
16
|
-
* with beautiful vitest-style text and HTML reports.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Mark a file as covered (being tracked)
|
|
21
|
-
* This is called when a file is imported/loaded during tests
|
|
22
|
-
* NOTE: We DON'T mark all lines as executed here - we just track that the file is loaded
|
|
23
|
-
* The coveredFiles Set in test-runner already tracks this
|
|
24
|
-
*/
|
|
25
|
-
declare function markFileAsCovered(_filePath: string): void;
|
|
26
|
-
/**
|
|
27
|
-
* Track that a specific line was executed during testing
|
|
28
|
-
* Call this during test execution to mark lines as covered
|
|
29
|
-
*/
|
|
30
|
-
declare function markLineExecuted(filePath: string, lineNumber: number): void;
|
|
31
|
-
/**
|
|
32
|
-
* Get all executed lines for a file
|
|
33
|
-
*/
|
|
34
|
-
declare function getExecutedLines(filePath: string): Set<number>;
|
|
35
|
-
/**
|
|
36
|
-
* Calculate uncovered lines by comparing executable lines vs executed lines
|
|
37
|
-
*/
|
|
38
|
-
declare function calculateUncoveredLines(filePath: string): number[];
|
|
39
|
-
/**
|
|
40
|
-
* Reset coverage tracking (call before running tests)
|
|
41
|
-
*/
|
|
42
|
-
declare function resetCoverageTracking(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Initialize coverage tracking in the global scope
|
|
45
|
-
* Call this once before running tests
|
|
46
|
-
*/
|
|
47
|
-
declare function initializeCoverageTracking(): void;
|
|
48
3
|
interface CoverageOptions {
|
|
49
4
|
reportsDirectory: string;
|
|
50
5
|
include?: string[];
|
|
@@ -64,25 +19,21 @@ interface FileCoverage {
|
|
|
64
19
|
coveredLines: number;
|
|
65
20
|
uncoveredLines?: number[];
|
|
66
21
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
22
|
+
|
|
23
|
+
declare function markFileAsCovered(_filePath: string): void;
|
|
24
|
+
declare function markLineExecuted(filePath: string, lineNumber: number): void;
|
|
25
|
+
declare function getExecutedLines(filePath: string): Set<number>;
|
|
26
|
+
declare function calculateUncoveredLines(filePath: string): number[];
|
|
27
|
+
declare function resetCoverageTracking(): void;
|
|
28
|
+
declare function initializeCoverageTracking(): void;
|
|
29
|
+
|
|
70
30
|
declare function processCoverage(options: CoverageOptions): Promise<Map<string, FileCoverage>>;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
declare function generateTextReport(coverageMap: Map<string, FileCoverage>, testResults?: any[]): string;
|
|
75
|
-
/**
|
|
76
|
-
* Generate HTML coverage report - vitest dark theme style
|
|
77
|
-
*/
|
|
31
|
+
|
|
32
|
+
declare function generateTextReport(coverageMap: Map<string, FileCoverage>, testResults?: unknown[]): string;
|
|
33
|
+
|
|
78
34
|
declare function generateHtmlReport(coverageMap: Map<string, FileCoverage>, reportsDir: string): void;
|
|
79
|
-
|
|
80
|
-
* Generate coverage-final.json (Code Climate/Codecov format)
|
|
81
|
-
*/
|
|
35
|
+
|
|
82
36
|
declare function generateCoverageFinalJson(coverageMap: Map<string, FileCoverage>, reportsDir: string): void;
|
|
83
|
-
/**
|
|
84
|
-
* Generate clover.xml report
|
|
85
|
-
*/
|
|
86
37
|
declare function generateCloverXml(coverageMap: Map<string, FileCoverage>, reportsDir: string): void;
|
|
87
38
|
|
|
88
39
|
export { type CoverageOptions, type FileCoverage, calculateUncoveredLines, generateCloverXml, generateCoverageFinalJson, generateHtmlReport, generateTextReport, getExecutedLines, initializeCoverageTracking, markFileAsCovered, markLineExecuted, processCoverage, resetCoverageTracking };
|