Simon Holthausen
8905877bab
fix: add any fallback to generic
...
was like this in Svelte 3
2023-06-22 15:17:29 +02:00
Puru Vijay
0b09e1f4d0
fix(repl): components -> files
2023-06-22 18:37:06 +05:30
Jimmy Wärting
7cbd36d6b2
chore: Remove the need for node:process
( #8795 )
...
performance.now() exist in all envs we support now
2023-06-22 15:03:15 +02:00
Puru Vijay
980b325989
fix: Apps styles ( #8797 )
...
* Push
* Remove reference to $types
2023-06-22 18:27:40 +05:30
Simon Holthausen
23fc113d31
docs: note type enhancements breaking change
2023-06-22 14:46:34 +02:00
Puru Vijay
d8599c8267
chore(site): Reorganize imports
2023-06-22 18:05:44 +05:30
Puru Vijay
dbc714f6c0
fix(site): Style fixes ( #8794 )
...
* Style fixes
* Bump site-kit
2023-06-22 17:59:21 +05:30
Puru Vijay
3d21b00fa1
fix: search scrolling ( #8792 )
...
* Push basic stuff
* Push
* Bump site-kit
2023-06-22 17:44:21 +05:30
github-actions[bot]
82cc48390c
Version Packages (next) ( #8772 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-22 13:34:50 +02:00
Simon H
ef1b98f9d9
fix: account for sourcemap in meta info ( #8778 )
...
We need to use a different method for getting the meta info because `locate` is used to help construct the source map that references the preprocessed Svelte file. If we would now add source maps to that `locate` function it would go the the original source directly which means skipping potentially intermediate source maps which we would need in other situations. Sadly we can't map the character offset because for that we would need to the original source contents which we don't have in this context.
fixes #8360
closes #8362
2023-06-22 11:59:28 +02:00
gtmnayan
5702142d9e
feat: attach Svelte major version info to window global ( #8761 )
...
Can be opt out by setting discloseVersion to false
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-22 10:48:23 +02:00
gtmnayan
03942162f8
chore: deindent cjs output for compiler ( #8785 )
...
makes package size a tiny bit smaller
2023-06-22 10:41:23 +02:00
Jimmy Wärting
f76a75b97d
chore: remove btoa fallback ( #8783 )
...
Since we're targeting NodeJS >16 we don't need any Buffer fallback as it's now built in globally from that version onwards.
2023-06-22 10:10:48 +02:00
Ben McCann
b582baa570
docs: list minimum versions for r-p-s and svelte-loader ( #8788 )
2023-06-22 09:57:15 +02:00
Puru Vijay
3c8a07136a
fix(site): renderer new link format ( #8787 )
...
* adapt
* Uncomment
* Push
* Bump site-kit
2023-06-22 08:42:09 +05:30
Puru Vijay
c808ebf2c4
fix: Flash of inAccurate coloR Theme (FART)
2023-06-22 06:47:30 +05:30
Puru Vijay
22cc4756e0
feat(site): site-kit renderer ( #8757 )
...
* Push
* Weirdass fix
* Unified renderer
* Move a bit
* Accomodate to new renderer
* update site-kit
* bump site-kit
* Fix script
* Bump site-kit
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-22 06:39:20 +05:30
Puru Vijay
cf32fa2497
fix(site): update tutorial links ( #8780 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-21 15:12:58 -07:00
Ben McCann
be5742aefe
docs: update link
2023-06-21 15:00:04 -07:00
Ben McCann
68570424a2
site: alternate footer design ( #8774 )
2023-06-21 11:49:14 -07:00
Puru Vijay
b8918faf48
chore: Bump REPL to 0.5.0-next.5
2023-06-21 20:50:01 +05:30
Puru Vijay
fe60894066
fix(sites): fix REPL styles ( #8770 )
...
* Push
* Push fixes
* Delete vite.config.js.timestamp-1687278902174-a59162675b2f6.mjs
* Remove log
* bump site-ki
2023-06-21 20:44:26 +05:30
Simon Holthausen
3858321b32
chore: remove warning from pull request template
2023-06-21 11:33:54 +02:00
Simon H
203490c3e4
breaking: use CustomEvent
constructor instead of deprecated createEvent
method ( #8775 )
...
closes #8474
2023-06-21 10:07:24 +02:00
Puru Vijay
78749101e7
fix: update/add links to website ( #8729 )
...
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-06-21 09:49:58 +02:00
Simon Holthausen
963cbcdb06
chore: adjust changeset config
2023-06-21 09:47:55 +02:00
gtmnayan
de8dfda049
chore: move tests to the correct place ( #8773 )
2023-06-21 09:33:07 +02:00
Ben McCann
386d1c5a42
remove package-lock.json
2023-06-20 14:30:59 -07:00
Ben McCann
0cd79fd0c3
remove docs workflow
2023-06-20 14:04:39 -07:00
Ben McCann
9319cbb1dc
chore: update changesets branch
2023-06-20 13:59:56 -07:00
Ben McCann
4d491d41cc
merge changelog for 3.59.2
2023-06-20 13:35:14 -07:00
Ben McCann
a856128d80
merge master
2023-06-20 12:36:41 -07:00
Conduitry
06553d9b09
-> v3.59.2
2023-06-20 12:33:27 -04:00
Simon H
a31dec5eb3
Merge pull request from GHSA-gw32-9rmw-qwww
...
* rename previous test
* add new <textarea bind:value> test
* escape value in <textarea bind:value>
---------
Co-authored-by: Conduitry <git@chor.date>
2023-06-20 11:45:53 -04:00
gtmnayan
914529fa76
feat: smaller destructor chunk ( #8763 )
...
technically a breaking change because someone with a mutation observer could rely on the order of operations
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-06-20 17:42:50 +02:00
Puru Vijay
88504ee90a
docs(sites): Auto-generated CompileOptions ( #8756 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-06-20 09:31:31 +02:00
gtmnayan
f8139e5a6e
chore(site): fix build ( #8762 )
...
* fix: 404 instead of 500
* omit legacy entrypoints
* fix prefetch
2023-06-20 12:48:58 +05:45
GrygrFlzr
54f72f4545
fix: update onMount type to allow async to return any ( #8714 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-06-19 17:58:35 +02:00
Ben McCann
0724261b4d
chore: update code-red ( #8719 )
...
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
2023-06-19 15:48:53 +02:00
Puru Vijay
67b4e4ff1c
docs: normalize svelte compiler headings ( #8755 )
...
The `svelte.` prefix was a remnant of CJS times
2023-06-19 14:13:34 +02:00
Ben McCann
be7a266e4a
docs: fix broken link ( #8746 )
2023-06-19 14:09:12 +02:00
gtmnayan
882e079a17
chore: exclude sites from build script ( #8754 )
2023-06-19 14:08:07 +02:00
gtmnayan
d4416c0bf8
chore: cleanup generated files ( #8749 )
2023-06-19 14:07:42 +02:00
Simon H
752ee69e6b
chore: a11y tests cleanup ( #8759 )
...
closes #8728
Turns out all the removed previous test failures are indeed correct to be removed, according to the test adjustments in https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/937
2023-06-19 14:05:54 +02:00
Simon H
75917ee1a5
docs: migration page ( #8739 )
2023-06-19 11:55:14 +02:00
Simon Holthausen
0eca1c758a
make sites private
2023-06-18 21:17:49 +02:00
github-actions[bot]
520a5784fb
Version Packages (next) ( #8733 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-18 21:13:25 +02:00
gtmnayan
cc82d5ddcb
fix: expose types for all TS resolution modes, fix SvelteComponent export ( #8721 )
...
also add some legacy import paths which should be changed in usage sites ASAP
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-06-18 21:12:00 +02:00
Puru Vijay
aec4137d72
chore(sites): update deps ( #8752 )
...
* Push
* Fix Ts 5.1 type generation error
2023-06-18 00:30:34 +05:30
Puru Vijay
ae38d6425e
fix(site-2): Prerender nav data ( #8747 )
...
* simplify nav
* updates
* fix link
* Dont need this anymore
* Push
* minor re-arrangement
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-17 12:32:43 +05:30