55 Commits

Author SHA1 Message Date
Dylan Piercey
e933dac562
Remove unused deps, update package-lock (#1469) 2019-12-31 10:47:31 -07:00
Andrew Gliga
94418617ef Deprecated all tests that will be deprecated in v5 (#1430) 2019-10-24 12:01:36 -07:00
Dylan Piercey
ff3b58d714 Deprecate the partial dynamic tag (#1397) 2019-08-08 16:58:48 -07:00
Taylor Hunt
0f0fd7b1f7 Clean up test noise (#1394)
* Fix warning about differing Node binaries

* Fix npm WARNings on test

* Fix chai deprecation notice

* Fix jsdom <script> parse errors

* Fix jsdom Not Implemented errors
2019-08-07 12:34:00 -07:00
Dylan Piercey
f789907c7e
Add migration for legacy widget with getInitialState and no getTemplateData (#1385)
* Add migration for data = state
2019-07-15 13:30:26 -07:00
Michael Rawlings
839648f7e1
fix body-only-if transform for renderer tags (#1384) 2019-07-12 11:03:46 -07:00
Michael Rawlings
c3444fbaff
Merge pull request #1372 from marko-js/migrate-top-level-named-class
Deprecate and add migrator for top level named classes
2019-07-03 13:08:32 -07:00
Michael Rawlings
c2fdcc40e1
Merge pull request #1374 from marko-js/control-flow-and-looping-fixes
Control flow and looping migration fixes
2019-07-03 13:07:14 -07:00
Michael Rawlings
a80ad077f1 no id:scoped for repeated w-id 2019-07-03 12:32:53 -07:00
Dylan Piercey
e1a1d401ae
Control flow and looping migration fixes 2019-07-02 14:03:47 -07:00
Dylan Piercey
6d70aa18da
Deprecate and add migrator for top level named classes 2019-07-02 12:44:02 -07:00
Andrew Gliga
535daf9451 Readded tests (#1368) 2019-06-27 14:17:13 -07:00
Dylan Piercey
3c6c851563
Fix issue with invoke tag that has control flow (#1366) 2019-06-26 12:04:42 -07:00
Dylan Piercey
b1cdb37cc1
Fix issue with render call binding for dynamic tag migration (#1362) 2019-06-24 14:29:12 -07:00
Dylan Piercey
f11929e36c Remove empty layout-put tags (#1355) 2019-06-24 14:28:50 -07:00
Dylan Piercey
81612e52ee
Fix regression with body-only-if and control flow attribute (#1356) 2019-06-14 17:09:33 -07:00
Andrew Gliga
9a4630a9c7
Fixed relative path issue and added a better variable collision lookup 2019-06-06 12:02:17 -07:00
Andrew Gliga
3b4d8484fe
Fixed test failures and cleaned up code 2019-05-15 14:46:38 -07:00
Andrew Gliga
5981fc3ef0
Added body only if tests and migration path 2019-05-15 13:06:20 -07:00
Dylan Piercey
962673b8da Improve w-body migration (#1318) 2019-04-16 13:02:32 -07:00
Michael Rawlings
9cb22a97eb fix macro with injected renderBody migration (#1300) 2019-03-27 15:31:52 -07:00
Michael Rawlings
a5dfa884ee
fix widget.elId as <var>/<assign> attribute (#1298) 2019-03-20 15:10:22 -07:00
Dylan Piercey
cbf934d576
Prevent logging false positive deprecations for legacy nested tags (#1271) 2019-03-01 16:01:17 -08:00
Dylan Piercey
9e1577fff4
Migrate legacy macro syntax to tag params 2019-02-07 11:54:00 -08:00
Dylan Piercey
59ce9e8f07
Update <for> to use tag params and add migration (#1238) 2019-02-07 11:53:59 -08:00
Dylan Piercey
24753a7674
Upgrade <await> tag to use tag parameters and attribute tags. Add migration from old syntax. (#1244) 2019-02-07 11:50:49 -08:00
Dylan Piercey
f7698fb774
Fix regression with escaped sequences in non standard template literals (#1254) 2019-02-05 11:31:05 -08:00
Dylan Piercey
cf9525c671
Fix regression when migrating include tags with side effects. (#1246) 2019-01-29 13:55:54 -08:00
Dylan Piercey
a0192633e7 Add test for migrating legacy tag params (#1237) 2019-01-23 15:10:02 -08:00
Dylan Piercey
1a268d8368
Fix walkers into some ast nodes (#1233)
Fix walking into some ast nodes
2019-01-15 11:08:34 -08:00
Dylan Piercey
b9a0a98364
Update @marko/migrate and migration tests (#1232) 2019-01-15 11:06:28 -08:00
Dylan Piercey
a05d3c78fa
Add migrator for legacy nested tag syntax (#1229) 2019-01-14 10:54:04 -08:00
Dylan Piercey
0f5e40115a
Fix regression with the include tag migration outputting invalid identifiers for imports (#1231) 2019-01-14 10:53:52 -08:00
Michael Rawlings
b6443ea1f0 Fixes #1219 - transitive widget getEl and events (#1225) 2019-01-10 11:35:51 -08:00
Michael Rawlings
89368b0dab
fix dynamic attribute priority (#1223) 2019-01-07 12:22:34 -08:00
Dylan Piercey
c609ede7b8
Migrate non standard template literals (#1224) 2019-01-07 12:22:25 -08:00
Dylan Piercey
aef04be26d
Fix issue where dynamic tag migrations with imports would duplicate imports (#1222) 2019-01-04 15:04:20 -07:00
Dylan Piercey
2f00460e2c Rename widget identifier when found in attributes (#1220) 2019-01-04 13:08:03 -08:00
Michael Rawlings
edd7d8e9b0 w-id migration key only for components (#1217)
* only add id:scoped for html/dynamic tags
2019-01-03 10:55:07 -07:00
Dylan Piercey
9684fdda39
Add file name migrations (#1216)
* Add file name migrations
2019-01-03 10:27:10 -07:00
Dylan Piercey
4d2242d9d7
Add migrator for w-config (#1214)
* Add mgirator for w-config
2018-12-28 13:55:45 -07:00
Bhavin Patel
714682edac Migrate unless tag (#1210)
* migrator for unless tag
2018-12-28 13:54:27 -07:00
Dylan Piercey
cda14e87cf
Fix regression with w-body (#1213) 2018-12-28 10:59:55 -07:00
Dylan Piercey
ff31597a56
Fix migrator regressions and misc refactoring (#1212)
* Fixes control flow attributes on var tag.
* Fixes w-body to ensure that value exists.
* Ensures w-body and include properly enclose typeof expressions.
2018-12-28 10:14:33 -07:00
Bhavin Patel
f85768f2db Migrate ref attribute (#1207)
Add migrator for ref attribute
2018-12-28 09:56:31 -07:00
Dylan Piercey
e1f60f20ca
Add migrations for marko-init and template-helpers directives (#1209) 2018-12-27 14:03:14 -07:00
Dylan Piercey
db5559cde1
Add migrator for include, layout-use and layout-placeholder tags (#1204)
Add migrator for include tag/directive
Add migrator for layout-placeholder tag
Add migrator for layout-use tag
2018-12-27 13:37:08 -07:00
Bhavin Patel
a8f20a0272 Added a migrator for <layout-put> (#1206)
Add migrator for layout-put tag
2018-12-27 13:16:27 -07:00
Bhavin Patel
b26d2608c7 Migrate w-body attr in favor of using dynamic tags (#1199)
Add migrator for w-body.
2018-12-26 08:13:54 -07:00
Bhavin Patel
1f5f138504 Migrate legacy dynamic attr (#1202)
Add migrator from dynamic attributes to spread attributes.
2018-12-26 08:08:44 -07:00