Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/docs/src/content/docs/methodology.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,10 @@ Installed using the CLI with the following setup:
on, or blank if any detected feature is not yet Baseline.
- Features is the number of unique web platform feature IDs detected in the
browser-facing build output.
- For Nuxt, the `temporal` feature is temporarily excluded. Nuxt bundles
devalue's optional Temporal deserializer, but that branch only runs when an
application has itself serialized a Temporal value.
- For Nuxt, SvelteKit, and TanStack Start, the `temporal` feature is temporarily
excluded. These starters bundle optional Temporal serialization support
(devalue in Nuxt and SvelteKit, seroval in TanStack Start), but their
application code does not serialize Temporal values.

### Minimum Node Version

Expand Down
13 changes: 10 additions & 3 deletions packages/stats-generator/src/run-browser-baseline-scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,16 @@ async function main() {
console.info(` Staged ${copiedFileCount} browser source file(s).`)

const featuresByFile = await detectFeatures({ cwd: scanDir })
// Nuxt only reaches devalue's Temporal deserializer when application code
// has already serialized a Temporal value.
if (packageName === 'starter-nuxt') {
// These starters bundle optional Temporal serialization support (devalue
// in Nuxt/SvelteKit, seroval in TanStack Start). Their application code
// does not serialize Temporal values, so this is not a browser requirement.
if (
[
'starter-nuxt',
'starter-sveltekit',
'starter-tanstack-start-react',
].includes(packageName)
) {
for (const features of featuresByFile.values())
features.delete('temporal')
}
Expand Down
8 changes: 4 additions & 4 deletions results/sveltekit/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2904,10 +2904,10 @@
"project": "starter",
"result": {
"name": "browserBaseline",
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 48
"baselineStatus": "high",
"baselineYear": 2021,
"baselineReason": null,
"baselineFeatureCount": 47
}
},
"minimumNodeVersion": {
Expand Down
8 changes: 4 additions & 4 deletions results/sveltekit/versions/3.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@
"browserBaselineTests": {
"project": "starter",
"result": {
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 48
"baselineStatus": "high",
"baselineYear": 2021,
"baselineReason": null,
"baselineFeatureCount": 47
}
},
"frameworkDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions results/sveltekit/versions/3.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -2904,10 +2904,10 @@
"project": "starter",
"result": {
"name": "browserBaseline",
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 48
"baselineStatus": "high",
"baselineYear": 2021,
"baselineReason": null,
"baselineFeatureCount": 47
}
},
"minimumNodeVersion": {
Expand Down
8 changes: 4 additions & 4 deletions results/tanstack/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5054,10 +5054,10 @@
"project": "starter",
"result": {
"name": "browserBaseline",
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 49
"baselineStatus": "high",
"baselineYear": 2022,
"baselineReason": null,
"baselineFeatureCount": 48
}
},
"minimumNodeVersion": {
Expand Down
8 changes: 4 additions & 4 deletions results/tanstack/versions/1.167.65.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@
"browserBaselineTests": {
"project": "starter",
"result": {
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 47
"baselineStatus": "high",
"baselineYear": 2022,
"baselineReason": null,
"baselineFeatureCount": 46
}
},
"frameworkDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions results/tanstack/versions/1.168.59.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@
"browserBaselineTests": {
"project": "starter",
"result": {
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 49
"baselineStatus": "high",
"baselineYear": 2022,
"baselineReason": null,
"baselineFeatureCount": 48
}
},
"frameworkDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions results/tanstack/versions/1.169.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -5054,10 +5054,10 @@
"project": "starter",
"result": {
"name": "browserBaseline",
"baselineStatus": false,
"baselineYear": null,
"baselineReason": "temporal",
"baselineFeatureCount": 49
"baselineStatus": "high",
"baselineYear": 2022,
"baselineReason": null,
"baselineFeatureCount": 48
}
},
"minimumNodeVersion": {
Expand Down
Loading