5604 Commits

Author SHA1 Message Date
Michael Rawlings
c19cfb023b
feat: if hydration (#135) 2023-01-26 16:19:18 -05:00
Michael Rawlings
56e3c9a17d
fix: use staticNodeFragment by default, associate non-default fragments with renderers (#134) 2023-01-25 14:52:09 -05:00
Luke LaValva
c3061ad726
fix: event listeners are now active by default (#133) 2023-01-24 14:48:08 -05:00
dependabot[bot]
c382e00199
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#117)
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-24 13:28:30 -05:00
Luke LaValva
f84681e604
feat(dynamic-tag): add native tag (#132) 2023-01-24 13:28:11 -05:00
Michael Rawlings
d885825307
Debug info (#128) 2023-01-20 12:02:26 -05:00
Michael Rawlings
c05ef09e4d
refactor: remove walker.skip, reserve.size (#127) 2023-01-19 18:32:25 -05:00
Michael Rawlings
ea76ccd057
fix: text hydration (#126) 2023-01-18 13:21:44 -05:00
github-actions[bot]
ef20de41fd
[ci] release (#1881)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@marko/compiler@5.23.2 @marko/translator-default@5.22.2 marko@5.22.2
2023-01-18 09:12:32 -07:00
Dylan Piercey
c4cce33e8c
fix: ensure delimeter added when scripts merged across async writers (#1880) 2023-01-18 08:38:15 -07:00
Michael Rawlings
3a7c12d909
fix: attrs signal subscriber (#125) 2023-01-13 18:05:18 -05:00
Michael Rawlings
481636cd68
fix: don't unnecessarily hoist functions (#124) 2023-01-13 17:54:38 -05:00
Ryan Turnquist
07e4ca1a7e
Fixes lifecycle/effect (#123)
* fix: lifecycle methods access instance `this`

* fix: let assignments in effects

* fix: lifecycle test

* fix: assignments in lifecycle tag methods
2023-01-12 16:28:30 -05:00
Michael Rawlings
a6e00b8a07
fix: html (#122) 2023-01-11 15:21:43 -05:00
Luke LaValva
7da306e177
fix: assignment expressions (#120)
* fix: nested assignment expressions

* fix: postfix update expressions

* fix: returned assignments

* fix: reassignment expressions (+=, *=, etc.)
2023-01-11 13:59:41 -05:00
Michael Rawlings
15b14c08b6
Test cleanup (#118)
* test: remove redundant manual fixtures

* test: add skip statements to manual fixtures

* test: fix event handler casing and use <attrs> in manual fixtures

* test: convert manual fixtures to compiled
2023-01-10 12:47:11 -05:00
Dylan Piercey
2956962fd5
chore: inline codegen scripts from babel (#1877) @marko/compiler@5.23.1 @marko/translator-default@5.22.1 marko@5.22.1 2023-01-08 14:57:03 -07:00
github-actions[bot]
ae0da720b9
[ci] release (#1876)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-08 14:23:29 -07:00
Dylan Piercey
b744720db5
chore: upgrade magic-string module and lock file (#1875) 2023-01-08 14:04:28 -07:00
Luke LaValva
86e1c041b5
feat(custom-tag): added return and tag variables (#116)
* feat(custom-tag): added return and tag variables
* fix: duplicate WalkCodes
2022-12-22 15:38:41 -05:00
Ryan Turnquist
7a3fcb3186
feat: context dom (#114)
* feat: context dom
2022-12-10 00:11:34 -05:00
Luke LaValva
2f2df97cee
feat(native-tag): add native tag refs (#112)
* feat(native-tag): add native tag refs

* chore: switch to c8 from nyc

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
2022-12-08 15:32:56 -05:00
Taylor Hunt
a0970494e0
Update URLs (#1871)
- `http://`→`https://`
- Fixed the broken Code of Conduct links
- Updated stale reference URLs in the core taglib definition to point at current docs pages
- `www.ebaytechblog.com` started redirecting to `tech.ebayinc.com`, so I updated those URLs too
2022-12-07 13:46:50 -05:00
Voon Siong Wong
3077d39a27
Showcase interpolation in shorthand notation (#1869) 2022-11-30 08:09:13 -07:00
Taylor Hunt
bc7d2c98e3
Update Express docs (#1868)
* Update Express docs

Addresses #1867, fixes a dead link to available bundlers, and copyediting improvements.
2022-11-28 13:25:06 -07:00
LuLaValva
0eedead9c2 feat(native-tag): align event handler naming conventions with v5 2022-11-22 14:15:20 -05:00
dependabot[bot]
3f73900e7b chore(deps): bump parse-path and lerna
Bumps [parse-path](https://github.com/IonicaBizau/parse-path) to 7.0.0 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna). These dependencies need to be updated together.


Updates `parse-path` from 4.0.3 to 7.0.0
- [Release notes](https://github.com/IonicaBizau/parse-path/releases)
- [Commits](https://github.com/IonicaBizau/parse-path/compare/4.0.3...7.0.0)

Updates `lerna` from 4.0.0 to 6.0.3
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v6.0.3/core/lerna)

---
updated-dependencies:
- dependency-name: parse-path
  dependency-type: indirect
- dependency-name: lerna
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 13:44:06 -05:00
dependabot[bot]
98264b18e0 chore(deps): bump terser from 5.10.0 to 5.15.1
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.15.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.10.0...v5.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 13:43:55 -05:00
dependabot[bot]
75aa6c4e94 chore(deps): bump minimatch from 3.0.4 to 3.1.2
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 13:43:46 -05:00
Ryan Turnquist
f9f84e50d5 feat: style tag 2022-11-10 18:06:47 -05:00
Ryan Turnquist
c2e7cc63b0 chore: update @marko/compiler 2022-11-10 18:06:47 -05:00
Michael Rawlings
239e8bfca1 refactor: always put scopeId first in the hydration data 2022-11-08 13:25:06 -05:00
Michael Rawlings
af429de84c fix: use enum from same module 2022-11-07 13:37:10 -05:00
Michael Rawlings
e8e0bd9b83 test: merge runtime/translator fixtures 2022-11-07 13:37:10 -05:00
Michael Rawlings
db1445b8fa test: use public imports 2022-11-07 13:37:10 -05:00
Michael Rawlings
f6cc5c86b2 test: prepare to merge runtime/translator tests (3) 2022-11-07 13:37:10 -05:00
Michael Rawlings
661507fc0b test: fix async tests 2022-11-07 13:37:10 -05:00
Michael Rawlings
0e5c26cb90 refactor: runtime tests use @marko/runtime-fluurt rather than relative imports 2022-11-07 13:37:10 -05:00
Michael Rawlings
b979b1b72e test: allow equivalence test to work when there is new input 2022-11-07 13:37:10 -05:00
Michael Rawlings
7d853396da test: prepare to merge runtime/translator tests (2) 2022-11-07 13:37:10 -05:00
Michael Rawlings
48264a112e test: prepare to merge runtime/translator tests 2022-11-07 13:37:10 -05:00
Michael Rawlings
77b071c698 test: improve mutation logs 2022-11-07 13:37:10 -05:00
Michael Rawlings
2b5a6388dd refactor: move all compile snapshots into dom.expected/html.expected directories 2022-11-07 13:37:10 -05:00
Michael Rawlings
3134846f21 test: add sanitized snapshots 2022-11-07 13:37:10 -05:00
Michael Rawlings
e0ecdf7624 refactor: split ssr/hydrate snapshots and tests 2022-11-07 13:37:10 -05:00
Michael Rawlings
2b2fae7744 refactor: translator tests, lazy/cached execution, sanitization in tracker 2022-11-07 13:37:10 -05:00
Michael Rawlings
a906ea8fa2
refactor: remove scope ___id and old queue impls that relied on it (#103) 2022-11-04 11:33:51 -04:00
Michael Rawlings
cdfda27473
feat: hydrate runtime for if (#102)
* feat: hydrate runtime for if
2022-11-03 21:04:37 -04:00
Ryan Turnquist
169fe3506e feat: lifecycle tag 2022-11-03 18:30:39 -04:00
github-actions[bot]
e27c61bc91
[ci] release (#1866)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@marko/compiler@5.23.0 @marko/translator-default@5.22.0 marko@5.22.0
2022-11-02 10:16:38 -07:00