Commit Graph

99 Commits (418f4c2381cb094106e7896addc2fc4246d630ec)

Author SHA1 Message Date
Simon Holthausen 418f4c2381 Merge branch 'master' into version-4
3 years ago
Vaibhav Rai 37c8bd7e67
fix: var scope should not extend outside the reactive block (#6800)
3 years ago
Nguyen Tran 17bf6db541
fix: Array rest property fix (#8553)
3 years ago
Simon H d083f8a3f2
feat: custom elements rework (#8457)
3 years ago
Tan Li Hau df2f656557
feat: improve hydration, claim static html elements using innerHTML instead of deopt to claiming every nodes (#7426)
3 years ago
Ben McCann d7cffa6840 chore: upgrade to TypeScript 5 (#8488)
3 years ago
Simon H 68e492eaff
fix: revert buggy reactive vars optimization (#8382)
3 years ago
Ben McCann b336b16204
chore: upgrade to code-red 1.0 (#8349)
3 years ago
Vaibhav Rai 26104eaaba
fix: no error assigning to a `const` property (#7966)
3 years ago
Tan Li Hau 53de73d08c
feat: simpler output for reactive vars if dependencies are all static (#7942)
3 years ago
Billy Levin 88ed9931f2
warn on assignment to const (#4960)
3 years ago
Hofer Ivan 0eba57113b
[chore]: store regexp as variable instead of defining it inline (#7716)
3 years ago
Yuichiro Yamashita feb8dfce61
[fix] add all global objects / functions (#7786)
3 years ago
rgossiaux e2adf6a211
fix: do not generate unused-export-let inside <script context="module"> (#7232)
4 years ago
Yuichiro Yamashita 5665f711fd
[fix] raise compile error if variable name is same as imported variable name (#7145)
4 years ago
Tan Li Hau 6ecc3e4d6a
[feat] opt-out loopGuard for async loops (#6963)
4 years ago
Bjorn Lu be1eff0305
[feat] add enableSourcemap option (#6835)
4 years ago
Shinobu Hayashi f1f7d90240
[fix] handle AssignmentPattern with ObjectPattern in rewrite_identifier (#6715)
4 years ago
Oliver Ford f48239914d
[fix] warning on reactive use of module const (#6606) (#6607)
4 years ago
Dominik G e94d1f50bc
[fix] use consistent relative source filename for js sourcemaps (#6598)
4 years ago
Tan Li Hau b720f0e620
[feat] support destructured declaration of props (#6578)
4 years ago
Tan Li Hau c550f604f2
[feat] enable export ... from (#6574)
4 years ago
Tan Li Hau 365b5e300c
[fix] store reactivity in reactive declarations (#6559)
4 years ago
Tan Li Hau ef14280e28
use simpler insert and append functions when not compiling with hydration (#6525)
4 years ago
Tan Li Hau cb189ad0ec
[chore] update code-red, estree-walker, is-reference (#6551)
4 years ago
Ben McCann f6a9804275
Upgrade Periscopic (#6549)
4 years ago
Maxime LUCE 0cf5511ae0
[feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) (#6194)
4 years ago
Tan Li Hau fd031105aa
[fix] do not warn if module variables are not the only dependencies in reactive statements (#6510)
4 years ago
Simon H a8c35daa9a
[fix] be able to silence more warnings (#6504)
4 years ago
Simon H b662c7fd41
[chore] move compiler warnings/errors to dedicate files (#6503)
4 years ago
Tan Li Hau 98ddf8b588
update periscopic (#6471)
4 years ago
Maxime LUCE aedf69c1cf
Add compilation variables report option to allow getting all variables (even undeclared or internal) (#6192)
4 years ago
Conduitry 286c60da4d
fix missing slotted elements in AST (#6148)
5 years ago
Rich Harris 2925a00eff
add cssHash option (#6026)
5 years ago
Tan Li Hau b764374b62
no warning on contextual-store if declaring it as a parameter / variable (#6008)
5 years ago
Tan Li Hau 6589aa2548
warn module variables are nonreactive and make them truly nonreactive (#5847)
5 years ago
halfnelson a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652)
5 years ago
Andreas Ehrencrona abf11bb02b
Refactored preprocess for readability (#5763)
5 years ago
halfnelson dcfbd69516
Preprocessor sourcemap support (#5584)
5 years ago
Ben McCann 240f5410f3
Curly brace cleanup and enforcement (#5647)
5 years ago
Ben McCann 7ea6a2994a
Curly braces linting fixes (#5585)
5 years ago
Ben McCann 229a16d6e7
upgrade ESLint config (#5472)
5 years ago
Tan Li Hau 2d88dc460e
warn for possible use of component without uppercase tag name (#5302)
5 years ago
Tan Li Hau 967b88186b
scope CSS sibling combinators (#5427)
5 years ago
Tan Li Hau 1ce6ac5d48
fix destructuring to get multiple stores (#5390)
5 years ago
Antony Jones 82dc26a31c
Fix lint warnings (#5263)
5 years ago
Tan Li Hau f739b4772a
error on expression scope store (#5079)
5 years ago
Bassam Ismail 0e2bc352df
fix hoisting of imported, mutated stores (#5022)
5 years ago
Billy Levin 3d811311b7
disable loop protection inside generators (#4716)
6 years ago
Tan Li Hau aabb23cc34
fix mutation to imported variable (#4713)
6 years ago