@absolutejs/absolute 0.20.0-beta.74 → 0.20.0-beta.76
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/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +19 -5
- package/dist/build.js.map +3 -3
- package/dist/cli/{doctor-a8afwvf9.js → doctor-mbh9bk05.js} +0 -7
- package/dist/cli/index.js +1 -1
- package/dist/dev/importCostReport.js +45 -0
- package/dist/index.js +19 -5
- package/dist/index.js.map +3 -3
- package/dist/src/dev/importCost/dominators.d.ts +15 -2
- package/dist/src/dev/importCost/format.d.ts +4 -0
- package/package.json +4 -14
|
@@ -14,6 +14,14 @@ export type ImportSavings = {
|
|
|
14
14
|
attributedCount: number;
|
|
15
15
|
attributedMs: number;
|
|
16
16
|
candidates: ImportSaving[];
|
|
17
|
+
/** What deferring EVERY candidate at once removes. For overlapping
|
|
18
|
+
* subgraphs this is strictly larger than the sum of the per-candidate
|
|
19
|
+
* savings, because a shared module only leaves the graph when the last
|
|
20
|
+
* edge into it does. */
|
|
21
|
+
combined: {
|
|
22
|
+
count: number;
|
|
23
|
+
savingMs: number;
|
|
24
|
+
};
|
|
17
25
|
reachableCount: number;
|
|
18
26
|
sharedBaseCount: number;
|
|
19
27
|
sharedBaseMs: number;
|
|
@@ -27,11 +35,16 @@ export type SavingsInput = {
|
|
|
27
35
|
/** Process root (the dev bootstrap), where reachability starts. */
|
|
28
36
|
root: number;
|
|
29
37
|
selfMs: readonly number[];
|
|
38
|
+
/** Candidates the caller considers actually deferrable. The combined
|
|
39
|
+
* figure is computed over these alone, because a ceiling that includes
|
|
40
|
+
* imports nobody can defer is not a number anyone can act on. Defaults
|
|
41
|
+
* to every candidate. */
|
|
42
|
+
groupSpecifiers?: ReadonlySet<string>;
|
|
30
43
|
};
|
|
31
44
|
/** The modules dominated by the edge `from -> to`: reachable from the root
|
|
32
45
|
* today, unreachable once that edge is gone. */
|
|
33
46
|
export declare const dominatedByEdge: (edges: ReadonlyArray<readonly number[]>, root: number, fromIndex: number, toIndex: number, reachable?: Uint8Array) => number[];
|
|
34
|
-
|
|
35
|
-
* `skipFrom -> skipTo` removed. */
|
|
47
|
+
export declare const dominatedByEdges: (edges: ReadonlyArray<readonly number[]>, root: number, fromIndex: number, targets: ReadonlySet<number>, reachable: Uint8Array) => number[];
|
|
36
48
|
export declare const reachableFrom: (edges: ReadonlyArray<readonly number[]>, root: number, skipFrom?: number, skipTo?: number) => Uint8Array<ArrayBuffer>;
|
|
49
|
+
export declare const reachableWithoutEdges: (edges: ReadonlyArray<readonly number[]>, root: number, skipFrom: number, skipTargets: ReadonlySet<number>) => Uint8Array<ArrayBuffer>;
|
|
37
50
|
export declare const summarizeImportSavings: (input: SavingsInput) => ImportSavings;
|
|
@@ -18,6 +18,10 @@ export type ImportCostReport = {
|
|
|
18
18
|
rows: readonly ImportCostRow[];
|
|
19
19
|
sharedBaseCount: number;
|
|
20
20
|
sharedBaseMs: number;
|
|
21
|
+
/** What deferring every listed import TOGETHER would remove. The per-row
|
|
22
|
+
* figures are single-edge dominators, so they do not sum to this. */
|
|
23
|
+
combinedCount: number;
|
|
24
|
+
combinedMs: number;
|
|
21
25
|
totalMs: number;
|
|
22
26
|
};
|
|
23
27
|
export type ImportCostRow = {
|
package/package.json
CHANGED
|
@@ -299,14 +299,6 @@
|
|
|
299
299
|
"license": "BSL-1.1",
|
|
300
300
|
"main": "./dist/index.js",
|
|
301
301
|
"name": "@absolutejs/absolute",
|
|
302
|
-
"optionalDependencies": {
|
|
303
|
-
"@absolutejs/native-darwin-arm64": "0.20.0-beta.74",
|
|
304
|
-
"@absolutejs/native-darwin-x64": "0.20.0-beta.74",
|
|
305
|
-
"@absolutejs/native-linux-arm64": "0.20.0-beta.74",
|
|
306
|
-
"@absolutejs/native-linux-x64": "0.20.0-beta.74",
|
|
307
|
-
"@absolutejs/native-windows-arm64": "0.20.0-beta.74",
|
|
308
|
-
"@absolutejs/native-windows-x64": "0.20.0-beta.74"
|
|
309
|
-
},
|
|
310
302
|
"overrides": {
|
|
311
303
|
"@sinclair/typebox": "0.34.52",
|
|
312
304
|
"@typescript-eslint/utils": "8.56.1",
|
|
@@ -446,7 +438,6 @@
|
|
|
446
438
|
"scripts": {
|
|
447
439
|
"bd": "bun run scripts/build.ts && bun",
|
|
448
440
|
"build": "bun run scripts/build.ts",
|
|
449
|
-
"build:native": "./native/build.sh",
|
|
450
441
|
"config": "bun run src/cli/index.ts config",
|
|
451
442
|
"config:studio": "bun run src/cli/index.ts config --config example/absolute.config.ts",
|
|
452
443
|
"db:push": "drizzle-kit push",
|
|
@@ -456,8 +447,8 @@
|
|
|
456
447
|
"format:check": "bun run src/cli/index.ts prettier --check",
|
|
457
448
|
"lint": "bun run src/cli/index.ts eslint",
|
|
458
449
|
"ls": "bun run src/cli/index.ts ls",
|
|
459
|
-
"release": "bun run release:gate &&
|
|
460
|
-
"release:beta": "bun run release:gate &&
|
|
450
|
+
"release": "bun run release:gate && bun publish",
|
|
451
|
+
"release:beta": "bun run release:gate && bun publish --tag beta",
|
|
461
452
|
"release:gate": "bun run scripts/releaseGate.ts",
|
|
462
453
|
"start": "TELEMETRY_OFF=1 bun run src/cli/index.ts start example/server.ts --outdir example/dist --config example/absolute.config.ts",
|
|
463
454
|
"test": "bun run test:unit && bun run test:integration",
|
|
@@ -478,8 +469,7 @@
|
|
|
478
469
|
"test:packed-compile": "bun run scripts/testPackedCompile.ts",
|
|
479
470
|
"test:unit": "bun test --max-concurrency 1 tests/unit",
|
|
480
471
|
"typecheck": "bun run src/cli/index.ts typecheck --config example/absolute.config.ts",
|
|
481
|
-
"verify:client-bundle": "bun run scripts/verifyPublishedClientBundle.ts"
|
|
482
|
-
"verify:release-versions": "bun run scripts/verifyReleaseVersions.ts"
|
|
472
|
+
"verify:client-bundle": "bun run scripts/verifyPublishedClientBundle.ts"
|
|
483
473
|
},
|
|
484
474
|
"types": "./dist/src/index.d.ts",
|
|
485
475
|
"typesVersions": {
|
|
@@ -525,7 +515,7 @@
|
|
|
525
515
|
]
|
|
526
516
|
}
|
|
527
517
|
},
|
|
528
|
-
"version": "0.20.0-beta.
|
|
518
|
+
"version": "0.20.0-beta.76",
|
|
529
519
|
"workspaces": [
|
|
530
520
|
"tests/fixtures/*",
|
|
531
521
|
"tests/fixtures/_packages/*"
|