5476 Commits

Author SHA1 Message Date
github-actions[bot]
2239b143c2 [ci] release @marko/compiler@5.23.5 @marko/translator-default@5.22.5 marko@5.22.5 2023-02-17 16:15:30 -07:00
DylanPiercey
f19f1c61d2 [ci] format 2023-02-17 16:10:23 -07:00
Dylan Piercey
d110b0b5f6 chore: improve typescript support 2023-02-17 16:10:23 -07:00
github-actions[bot]
ae33e8779d [ci] release @marko/babel-utils@5.21.4 @marko/compiler@5.23.4 @marko/translator-default@5.22.4 marko@5.22.4 2023-02-10 20:44:18 -07:00
Dylan Piercey
d920e833df
fix: add missing type definition for taglib 2023-02-10 20:29:50 -07:00
Dylan Piercey
23e36a04b0
fix: ensure marko type definitions are exposed 2023-02-10 20:22:39 -07:00
github-actions[bot]
25f9744805 [ci] release @marko/compiler@5.23.3 @marko/translator-default@5.22.3 marko@5.22.3 2023-02-10 20:12:06 -07:00
Dylan Piercey
7504bdf042
fix: add missing compiler api types 2023-02-10 18:09:58 -07:00
Taylor Hunt
ee8303ca15 Overhaul Rollup docs
- Better sell why you might want to use this integration in the first place
- More examples
- Copyediting
2023-02-10 18:07:06 -07:00
Taylor Hunt
a8bf4df09d
Mention TLS record sizes & MIME sniffing (#1882)
Smaller record sizes can have massive TTFB improvements for clients, and `X-CTO: nosniff` is something sites should really be doing anyway for security reasons.
2023-02-10 18:05:33 -07:00
Dylan Piercey
f1efd707aa
feat: add taglib extensions and type definitions for typescript support (#1885)
* feat: add taglib extensions and type definitions for typescript support

* [ci] format

---------

Co-authored-by: DylanPiercey <DylanPiercey@users.noreply.github.com>
2023-02-10 15:58:52 -07:00
Luke LaValva
55a97b07ae
Remove skip_ from tests (#148)
* test: attr-escape

* test: attr-falsey

* test: attr-scoped

* test: attr-template-literal-escape

* test: basic-dynamic-native-tag

* test: basic-execution-order

* test: basic-layout

* test: basic-toggle-show

* test: batched-updates

* test: batched-updates-cleanup

* test: const-tag

* test: custom-tag-child-analyze

* test: custom-tag-parameters

* test: custom-tag-render-body

* test: custom-tag-template

* test: dynamic-event-handlers

* test: effect-tag

* test: entities

* test(remove): event-handlers [redundant and unhelpful]

* test: for-tag-siblings

* test: for-tag-with-state

* fix: !{undefined} is now empty string instead of space

* test: hello-dynamic

* test: html-entity

* test: if-tag

* test: import-tag-conflict

* test: import-destructure [rename, still skipping ssr and csr]

* test: let-tag

* test: lifecycle-tag

* test: lifecycle-tag-assignment

* test: lifecycle-tag-this

* test: native-tag-ref-effect

* test: placeholders

* test: toggle-first-child

* test: update-attr

* test: user-effect-cleanup

* test: return-tag [rename from yield-tag]

* fix(attrs): use comment node instead of empty string

* refactor(ts): add generics to `write`
2023-02-10 13:21:11 -05:00
Luke LaValva
54cbd7312d
fix(attrs): replace true with empty string (#146) 2023-02-06 18:56:05 -05:00
Michael Rawlings
afd168ba0d
feat: for tag resuming (#142) 2023-02-06 13:07:32 -05:00
Luke LaValva
700c1a6185
fix: change default to value for let and const tag (#144) 2023-02-06 13:07:20 -05:00
dependabot[bot]
43340a4ee7
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#141)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 00:09:31 -05:00
Luke LaValva
2cfef7b89e
fix: replace empty text nodes with zero width joiners (#140) 2023-02-02 19:30:52 -05:00
Taylor Hunt
aaa1a91ccc
Renovate README (#1870)
See PR #1870 for deets
2023-02-01 15:45:21 -05:00
Luke LaValva
00e9076ca1
Dynamic tag hydration (#138) 2023-01-31 15:39:34 -05:00
Michael Rawlings
7ad567dc3b
fix: serialize intersections (#136) 2023-01-31 13:40:21 -05:00
Michael Rawlings
4f23d3c03a chore: bundle html runtime helpers used by translator (fix) 2023-01-26 17:44:33 -05:00
Michael Rawlings
5cd8fe6902 chore: bundle html runtime helpers used by translator 2023-01-26 17:33:08 -05:00
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