forked from sveltejs/kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Tal500/legacy-builds revitalized 2026 bare merge #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Changes from all commits
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
4d60069
#12: Initial commit for differential legacy builds implementation
smertelny b6c04c1
Extracting page data to its own variable; fixes after extraction of data
smertelny f18844a
(try to) merge branch 'legacy-builds' of github.com:smertelny/kit int…
Tal500 bd8e24a
Merge branch 'sveltejs:master' into legacy-builds
Tal500 2ce2297
fixing legacy chunk generation
Tal500 5f12ccd
Merge branch 'legacy-builds' of github.com:Tal500/kit into legacy-builds
Tal500 365fc7c
Merge branch 'master' into legacy-builds
Tal500 992bf32
carefull usage of 'composePath' for legacy
Tal500 ab16dc1
carefull modern code usage in kit.svelte.dev, for legacy support
Tal500 be104be
inject scripts on HTML to the right path and add polyfills
Tal500 9bfd614
install missing & reorder additional legacy polyfills
Tal500 bc688b0
automatic reorder of dependencies
Tal500 245525a
clean unused code, and zero-configuration legacy support
Tal500 4b2d38b
Merge branch 'master' into legacy-builds
Tal500 e0e11fb
remove the 'legacy' option from svelte.config.js
Tal500 dd99a84
uninstall terser from kit
Tal500 9dfaeed
undo svelte versioning
Tal500 906e488
update&fix? pnpm lock
Tal500 01a7fc5
improve disable searching on legacy browsers
Tal500 c67c0fd
use relative import of legacy scripts
Tal500 2140f56
rename ineternal property to 'legacy_assets' and support modern polyf…
Tal500 310a770
improve search unsupport display on legacy
Tal500 7d7bfde
improve legacy&pollyfills script injecting and sharing data, and fixi…
Tal500 0058384
formatting (and linting just works)
Tal500 e1faca6
better description
Tal500 9458254
Merge branch 'master' into legacy-builds
Tal500 0c75ad1
update the minimal vite version to be the one fixes #9807
Tal500 47280df
add a describing changeset
Tal500 81d1d32
add preloading to modern polyfills and make them be loaded earlier
Tal500 1bb0fc5
fix a bug in search box of site on modern browsers
Tal500 647c7fb
show better when search is unsupported in the site
Tal500 dadf8a9
Merge branch 'master' into legacy-builds
Tal500 aaf9ee4
versioning of the fork
Tal500 2f7852c
Merge branch 'master' into legacy-builds
Tal500 c0b7c0e
Merge branch 'master' into legacy-builds
Tal500 e498176
explicitly tell the client start script if the current mode is legacy…
Tal500 5530c5f
fix formatting
Tal500 db50689
downgrade playwright to 1.25.0 in pnpm's lock file
Tal500 67c98bf
Merge branch 'legacy-builds' into legacy-builds-versioning, and relea…
Tal500 893ec3b
make the loading script to be self-destructing
Tal500 fe6b184
fix formatting
Tal500 23e1907
restore package.json
Tal500 1357f13
Merge branch 'master' into legacy-builds, and install Svelte>=3.50 in…
Tal500 90592d4
Merge branch 'master' into legacy-builds
Tal500 f9c1458
use `host` header for Cross-site validation if `origin` is missing
Tal500 f7e82b3
add time in `load_data` on legacy, since the script tags are getting …
Tal500 dd60429
formatting
Tal500 160516d
Merge branch 'master' into legacy-builds
Tal500 e7682c1
fix: use `referer` instead of `host` header in cs protection, if orig…
Tal500 be1e182
fix linting
Tal500 4ba7b1c
Merge branch 'master' into legacy-builds
Tal500 8728261
Merge branch 'master' into legacy-builds
Tal500 2fad78d
use `composedPath` polyfill instead of implementing it
Tal500 1af12dd
Merge branch 'master' into legacy-builds.
Tal500 4a2dcf8
specifying script type for respecting HTML standard
Tal500 46cc4b1
fix credentials header issues with `whatwg-fetch` polyfill
Tal500 bfa6ad3
Merge branch 'master' into legacy-builds
Tal500 582aae0
On kit site, check the availability of Web Workers instead of Service…
Tal500 05b72e7
use `!!import.meta.env.LEGACY` instead of getting it as parameter to …
Tal500 27ec16c
Merge branch 'master' into legacy-builds
Tal500 cd11fbd
remove an old typing part
Tal500 53802e2
minor typo fixes and improving some explanations.
Tal500 7d32123
avoid using the problematic `var` definition for the startup code on …
Tal500 f9cf1fd
Merge branch 'master' into legacy-builds
Tal500 4420bb6
Merge branch 'master' into legacy-builds
Tal500 4d92610
Merge branch 'master' into legacy-builds
Tal500 b4aec49
fix minor issue in legacy scripting
Tal500 ae1f26e
Use `postcss-preset-env` in the site to fix CSS, and support more bro…
Tal500 b89ce2d
Merge branch 'master' into legacy-builds
Tal500 712ed62
Add a basic playwright test to emulate legacy browser
Tal500 fb1a457
cancel polyfill generation in the basic test
Tal500 e3d7023
add js-indicator to tests, and add a sanity check
Tal500 4a1ac37
format test
Tal500 2a609a5
add test command
Tal500 933f706
add back the accidently removed file
Tal500 3b09a89
improve tests
Tal500 6ce3015
register legacy tests in pnpm workspace
Tal500 5cdd1b0
fix flakiness of dev tests, that happen because of overriding the `da…
Tal500 b4baede
remove the useless `polyfills: false` config from test
Tal500 3882ba3
improve legacy test and a case and legacy mode
Tal500 f9fe5e5
fix a test issue by waiting for JS
Tal500 0c35ff0
fix formatting
Tal500 e5dcc6e
Merge master
Tal500 103da14
Merge branch 'master' into legacy-builds
Tal500 2d3739e
fix format
Tal500 41f379b
reset changesets of open PRs in preparation of launch
dummdidumm 9a1f865
Merge branch 'master' into legacy-builds
Tal500 a5e81ca
Merge branch 'master' into legacy-builds
Tal500 70fca5f
fix lockfile
Tal500 b60be61
return&update the changeset file
Tal500 b291a6c
Merge branch 'master' into legacy-builds
Tal500 f58ca3c
move the "intersection-observer" dependency of the kit site to `devDe…
Tal500 841f211
put `browserslist` in `package.json` for simplicity
Tal500 aee9e15
fix a possible issue with `history.scrollRestoration` on legacy and u…
Tal500 ffbac7b
fix formatting
Tal500 33fef71
Merge branch 'master' into legacy-builds
Tal500 fc48483
clearing duplicated function defs
Tal500 cd9497c
Merge branch 'master' into legacy-builds
Tal500 ab09153
Merge branch 'master' into legacy-builds
Tal500 15fd8b0
fix formatting
Tal500 cb9f3b7
use the new automatic browserlist file reading instead of parsing it …
Tal500 be3a632
fix formatting
Tal500 5429384
Merge branch 'master' into legacy-builds
Tal500 896ad47
fix legacy file props in dev mode
Tal500 f3db95f
Merge branch 'master' into legacy-builds
Tal500 559f1b9
fix the root `<div>` warning
Tal500 2f61656
better comment about the legacy polyfills order
Tal500 8853947
improve legacy automated tests
Tal500 b688721
fix test code
Tal500 79cd778
Merge branch 'master' into legacy-builds
Tal500 0041e26
add `legacy/polyfills-loading` tests
Tal500 2c4d26b
fix excecution code of init in client on a special legacy situation
Tal500 5d920f2
better testing for legacy polyfill loading
Tal500 5cb0cbc
fix formatting
Tal500 ac11253
fix the order of kit script initialization on client
Tal500 d0b6624
safer and better local constants handling
Tal500 6448aa1
minor fix on rendered local variable
Tal500 7fe94b8
fix rendered formatting
Tal500 4e40b75
load externaly systemjs on polyfills testing when needed
Tal500 3168b7f
simpler raw import of systemjs for testing
Tal500 8d19a50
insert the "compact" rule to the general linting
Tal500 a409693
put systemjs dep on dev, and fix the modern polyfill check
Tal500 a59f971
minor testing package name fix
Tal500 bf9e41a
Merge branch 'master' into legacy-builds
Tal500 0dfc032
Merge branch 'master' into legacy-builds
Tal500 a0296fc
Merge legacy support PR: Resolve all conflicts and fix type errors
gamesguru 431ec42
Regenerate types
gamesguru 731ead3
fix(kit): support @vitejs/plugin-legacy multi-output and configure fo…
gamesguru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@sveltejs/kit': minor | ||
| --- | ||
|
|
||
| [feat] add legacy support on JS bundling by auto-integrating with @vitejs/plugin-legacy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: The legacy Response fallback drops newline delimiters, so NDJSON chunks can no longer be parsed in environments without
Response.body, breaking data loading there.Prompt for AI agents