4776 Commits

Author SHA1 Message Date
Dylan Piercey
abf5b8ce12
fix(translator-default): avoid vdom hoisting for directive attrs 2020-11-20 12:33:35 -07:00
Dylan Piercey
2e0779f20d
chore: publish v5.0.0-next.57 2020-11-20 11:03:51 -07:00
Dylan Piercey
46ceab34a5
feat: add default attribute support (#1631) 2020-11-20 11:02:26 -07:00
Dylan Piercey
43c4433cb0
feat: add parser support for tag variables (#1630) 2020-11-20 10:34:37 -07:00
Dylan Piercey
c4b036058e
fix(translator-default): ensure accruate component id metadata 2020-11-20 10:29:09 -07:00
Dylan Piercey
3da9897ee1
chore: publish v5.0.0-next.56 2020-11-19 20:39:30 -07:00
Dylan Piercey
fe84fb345a
fix(compiler): no longer error when compiling from root dir 2020-11-19 20:38:55 -07:00
Dylan Piercey
01ffa38cc2
chore: publish v5.0.0-next.55 2020-11-19 16:36:01 -07:00
Dylan Piercey
c429ffb0aa
fix: babel-utils doesnt depend on compiler 2020-11-19 16:34:55 -07:00
Dylan Piercey
0006479d5a
chore: publish v5.0.0-next.54 2020-11-17 12:09:29 -08:00
Dylan Piercey
20bd91d7a3
chore: publish v5.0.0-next.53 2020-11-17 11:58:14 -08:00
Dylan Piercey
1d6ccb983d
feat(babel-utils): expose taglib types 2020-11-17 11:57:55 -08:00
Dylan Piercey
f6b0a707f7
chore: publish v5.0.0-next.52 2020-11-12 13:13:17 -08:00
Dylan Piercey
6c270eeab3
chore: improve types 2020-11-12 13:13:00 -08:00
Dylan Piercey
388411597a
chore: publish v5.0.0-next.51 2020-11-11 12:37:03 -08:00
Dylan Piercey
61900a0d11 feat(babel-utils): add basic types 2020-11-11 13:35:00 -07:00
Dylan Piercey
1e890574bd
fix: regression with no-update-body with no renderBody
(cherry picked from commit 5bd753b3798315a62ac6a0b44e1a2cffa7797adc)
2020-11-11 10:42:26 -08:00
Ruslan P
cabaf81aa4
Fixed "docs" url in the README.md
Fixed "docs" url in the README.md that gives 404

from:
https://markojs.com/docs/

to:
https://markojs.com/docs/getting-started/
(cherry picked from commit e5d5769c52cb1d704781c4ba71955570032f4566)
2020-11-11 10:42:10 -08:00
Dylan Piercey
7e1d0588c5 fix: refactor and optimize optimizers 2020-11-11 11:40:00 -07:00
Dylan Piercey
74d5f104b8 feat: cached compilations, nested tag analysis 2020-11-11 11:40:00 -07:00
Ryan Carniato
f35324962c
Hoist Static VDOM Node Creation (#1598)
* perf: vdom-node hoisting

* fix: remove keyScope hoisting

* fix: better attribute detection for hoisting

* fix: broken runtime tests

* perf: reduce evals and remove empty class attr

* refactor: expose isLoopTag and prevent while hoisting

* fix: inconsistencies from rebase

* chore: run formatting

* perf: hoist visitor in static optimization
2020-11-09 16:02:00 -08:00
Ryan Carniato
51bd454ea1
feat: add typescript types for babel-types (#1623)
* feat: add typescript types for babel-types

* feat: add Marko specific traverse types

* chore: refactor script and outputs

* chore: remove extraneous files entry
2020-11-05 14:44:37 -08:00
Michael Rawlings
769078b26e
Refactor types (#1622)
* refactor: isolate babel-types patching
2020-11-04 15:21:53 -08:00
Dylan Piercey
a8746841cc
chore: publish v5.0.0-next.50 2020-10-12 12:26:44 -07:00
Dylan Piercey
22e9322a7e
fix: no longer use fragments for preserved native els
(cherry picked from commit c167cfa1ab0d9d6db3aecc264fd830d804456f25)
2020-10-12 12:26:05 -07:00
Dylan Piercey
7ee0cd1f0a
fix: regression serializing empty component data with custom runtimeid
(cherry picked from commit d5897375e4b95d587c307612050f8e0d8144e996)
2020-10-12 10:48:47 -07:00
Dylan Piercey
bae4a3d388 fix: dynamic tag html attr normalize 2020-10-12 10:47:40 -07:00
Dylan Piercey
aa1ef05f96 fix(translator-default): body only if being preserved incorrectly 2020-10-12 10:33:32 -07:00
Dylan Piercey
50b4e9746b fix(translator-default): owner component missing for text nodes 2020-10-12 10:33:32 -07:00
Dylan Piercey
e20c68f856
chore: publish v5.0.0-next.49 2020-09-28 15:02:02 -07:00
Dylan Piercey
bf393c85ad
perf: misc optimizations (#1610)
(cherry picked from commit a389d6f42047a9d620901040346643c101fdd37d)
2020-09-28 15:01:04 -07:00
achou11
06899ec10c
docs: fix a couple of typos in the guides
(cherry picked from commit 680ea0b8ac114d5eb075e7d0791ea31fe1be21aa)
2020-09-28 14:59:04 -07:00
Dylan Piercey
db4793df11
fix(marko): output esm for module-code 2020-09-28 14:57:11 -07:00
Dylan Piercey
ffb7431790 refactor: move helpers into @marko/babel-utils 2020-09-22 13:55:59 -07:00
Dylan Piercey
d2c3d17dd5
chore: publish v5.0.0-next.48 2020-09-18 09:54:55 -07:00
Dylan Piercey
d11174853f
fix(compiler): improve hash template id performance and consistency 2020-09-18 09:51:53 -07:00
Dylan Piercey
4b679de133
chore: publish v5.0.0-next.47 2020-09-18 08:35:11 -07:00
Dylan Piercey
daf2b1af37
fix(compiler): normalize windows paths when creating relative requires 2020-09-18 08:34:46 -07:00
Dylan Piercey
d8d4c32004
chore: publish v5.0.0-next.46 2020-09-17 14:22:09 -07:00
Dylan Piercey
e1b39e18c4 fix: only include template path with meta option enabled 2020-09-17 14:20:38 -07:00
Dylan Piercey
585d6be9c2
perf: prevent bundlers from pulling in setImmediate shim
(cherry picked from commit 970a788259c74b39eb65d2f9a8d2610bb285125f)
2020-09-17 13:06:49 -07:00
Dylan Piercey
33ae635fec
perf: remove unecessary function for template load api
(cherry picked from commit 697e13b234cc9aac97a9d5fc9027380c7fc8bf45)
2020-09-17 13:05:53 -07:00
ckeenan23
4a66da9aff
updated error emitted to keep the init error obj (#1600)
(cherry picked from commit c0ab18fe0e53d6e6e2695118cd46ef76130b28e0)
2020-09-17 13:04:49 -07:00
Dylan Piercey
1647f709af
chore: publish v5.0.0-next.45 2020-08-26 09:16:21 -07:00
Dylan Piercey
ec6e670dbc
fix: regression with manual component init with custom runtimeid
(cherry picked from commit f08a60a3f64ab53fa387575a7658990c145c0fdd)
2020-08-26 09:16:08 -07:00
Dylan Piercey
1af5d84f7b
chore: publish v5.0.0-next.44 2020-08-26 08:22:21 -07:00
Dylan Piercey
f499634679
fix: typo with aria-describedby autocomplete
(cherry picked from commit cd12a3a68873c9ce72a3d94d861fe2f48b6a2228)
2020-08-26 08:22:03 -07:00
Dylan Piercey
b254da509a
chore: publish v5.0.0-next.43 2020-08-20 11:54:58 -07:00
Dylan Piercey
c975b878cc
fix: issue with hydrating body-only content
(cherry picked from commit 7837185073b3ccd203267d5e853e03d2b8d72e7a)
2020-08-20 11:52:08 -07:00
Dylan Piercey
60d1177ddd
chore: publish v5.0.0-next.42 2020-08-18 14:40:26 -07:00