0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

7107 Commits

Author SHA1 Message Date
Rich Harris
952ca44fb1 empty commit to try and trigger a deploy 2023-02-02 10:35:30 -05:00
Puru Vijay
7d3f565f3f Merge remote-tracking branch 'origin/master' into sites 2023-01-30 14:22:02 +05:30
Ben McCann
e875a76ad1 update changelog 2023-01-28 08:51:35 -08:00
Ben McCann
34ae6aaf1f
fix: make noreferrer warning less zealous (#8230)
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-28 08:50:14 -08:00
Ben McCann
eb90a15c29 update changelog 2023-01-27 16:27:19 -08:00
Jay Harris
4f42daeff7
feat: trusted-types CSP compatibility for Web Components (#8135) 2023-01-27 16:25:04 -08:00
Gabriel Francisco
79fa5b36a1
Update license year (#8227) 2023-01-27 11:22:52 -05:00
Puru Vijay
ae2a089221 feat: Initialize sites 2023-01-25 14:37:21 +05:30
Yuichiro Yamashita
967e9f51ff
chore: add Node18 for CI (#8078) 2023-01-11 18:11:14 -08:00
Conduitry
3b3e1c839c -> v3.55.1 2023-01-10 12:17:09 -05:00
Simon H
492d7d6f67
update changelog 2023-01-10 09:41:59 +01:00
Emil Tholin
b06e435684
[fix] Spread component props immutably during SSR (#8176)
By passing an empty object literal as first argument to Object.assign we can avoid having objects spread as props on a component being mutated during SSR.

Fixes #8171
2023-01-10 09:39:50 +01:00
Josh
aa98397440
[docs] fix typo (#8180) 2023-01-10 09:38:47 +01:00
Simon H
be38cec3c1
update changelog 2023-01-10 09:38:16 +01:00
Chris Reade
7e6acbece3
[fix] Adding part HTML attribute to typings (#8182)
fixes #8181
2023-01-10 09:36:51 +01:00
cunzaizhuyi
f0dcf1416c
[chore] shorten import statement (#8178) 2023-01-09 08:37:28 -08:00
dependabot[bot]
1f8e53a37f
Bump json5 from 1.0.1 to 1.0.2 (#8175)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:35:13 -08:00
Yuichiro Yamashita
dd11917fe5
Update CHANGELOG.md 2023-01-03 12:49:02 +09:00
Yuichiro Yamashita
4b84c4df3a
[fix] Improve is_promise handling (#8162)
* correctly handle promises that are of function type

* add License

Co-authored-by: Vilsol <me@vil.so>
2023-01-03 12:48:06 +09:00
Yuichiro Yamashita
e1a1c7fa87
[chore] Fix CI (#8160)
* ci build

* fix test

* add test for #7938
2023-01-02 15:55:14 +09:00
Yuichiro Yamashita
26c0d3f17d
Update CHANGELOG.md 2023-01-02 15:47:14 +09:00
Simon H
762d0429b1
[fix] propagate bindings correctly (#8114)
Fixes #8103 introduced through #7981
Keeps the infinite loop from happening but reopens #6298 and #5689
2023-01-02 14:51:01 +09:00
Tan Li Hau
1d658e7501
Update CHANGELOG.md 2023-01-02 10:51:01 +08:00
Mathias Picker
c9e98e6bba
[fix]: remove double up initialization on svelte:element (#8142)
* fixed double up initialization on svelte:element elements

* updated test and fixed bug

* update other svelte:element test

* removed whitespace

* refactor

* correctly update expected ouput resulting from #7938

* remove .solo

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-02 10:48:34 +08:00
Tan Li Hau
14d09a0850
Update CHANGELOG.md 2023-01-02 10:26:58 +08:00
Ming07
1f021226c5
[fix] named slots breaks svelte-ignore comments (#8105)
* [fix] Named slots breaks svelte-ignore comments

Fixes #8075

* test: add tests

* refactor

* refactor test

Co-authored-by: mojinming <mojinming@cmcm.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-02 10:23:35 +08:00
Tan Li Hau
4f365f0171
Update CHANGELOG.md 2023-01-02 10:20:38 +08:00
Gus Wezerek
a5d6713c8e
Fix bug with transition draw when delay is passed (#8094)
Signed-off-by: Gus Wezerek <gustav.wezerek@nytimes.com>

Signed-off-by: Gus Wezerek <gustav.wezerek@nytimes.com>
Co-authored-by: Gus Wezerek <gustav.wezerek@nytimes.com>
2023-01-02 10:18:52 +08:00
wackbyte
094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for a11y-no-noninteractive-tabindex (#8126) 2023-01-02 09:39:55 +08:00
Tan Li Hau
06648d1f65
Update CHANGELOG.md 2023-01-01 16:43:46 +08:00
Ramon Snir
f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
* [fix] static svelte:element not replaced with tag in production mode

* [fix] static svelte:element not replaced with tag in production mode

* add optimization of static <svelte:element> and fix a bug

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-01 16:41:00 +08:00
Yuichiro Yamashita
de6821a1de
[ chore] disable puppeteer on Linux for Node8 and 10 (#8155) 2022-12-31 10:13:52 +09:00
Simon H
b8f32c0b1a
[docs] clear timeout on destroy
backported from https://github.com/sveltejs/learn.svelte.dev/pull/166
2022-12-22 17:47:52 +01:00
Simon H
786505d6bc
update changelog 2022-12-22 13:13:31 +01:00
Simon H
c73b9a00ea
[fix] add submitter property to submit event 2022-12-22 13:08:06 +01:00
Geoff Rich
6a23d9b65f
[docs] fix transition direction options (#8133) 2022-12-22 09:39:36 +09:00
Rich Harris
b8bc1be0a8
remove blog content. it now lives in sites repo (#8117) 2022-12-20 08:09:50 -08:00
gaac510
eef125f6c1
[docs] update outdated SvelteKit release info (#8128)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-12-19 22:47:31 +01:00
Simon H
670f458056
[docs] adjust code snippet to conform with previous one
Backported from https://github.com/sveltejs/learn.svelte.dev/pull/143
2022-12-16 10:33:36 +01:00
Nilesh
ad8dbfb9b9
[docs] Add comment about generating a Svelte project without Kit (#8115) 2022-12-15 13:47:02 +01:00
Conduitry
3ba0e30416 -> v3.55.0 2022-12-13 09:04:08 -05:00
Simon H
512eda7a84
[feat] add html typings (#7649)
This adds typings for HTML elements and their attributes. It's supposed to be used by the new transformation in language-tools.

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
Co-authored-by: Lyu, Wei-Da <36730922+jasonlyu123@users.noreply.github.com>
2022-12-11 21:45:11 +01:00
Ben McCann
a0a6bd1f54
[docs] add some basic docs about bundler plugins (#8092) 2022-12-07 11:04:50 -08:00
Conduitry
aa5a1cdf1a -> v3.54.0 2022-12-06 14:25:16 -05:00
Conduitry
86524181a9 update changelog 2022-12-06 14:24:27 -05:00
Yuichiro Yamashita
94e51df07b
[fix] escape style attribute for SSR (#8087) 2022-12-06 14:23:23 -05:00
Conduitry
75c3a48245 update changelog 2022-12-06 14:22:36 -05:00
Yuichiro Yamashita
cc52dc442b
[docs] add explanation about property binding order (#7833)
* update document

* update sentence and position

* update the sentence

* update
2022-12-05 23:18:29 +08:00
Daniel Huang
f45b823770
[docs] fix inconsistent margin in svelte/motion spring tutorial (#8081) 2022-12-06 00:14:11 +09:00
Yuichiro Yamashita
d8c6ab87df
Update CHANGELOG.md 2022-12-06 00:02:21 +09:00