mike12345567
bbc33d37e6
PR comments.
2024-08-15 11:04:57 +01:00
mike12345567
87999db659
Adding test cases.
2024-08-14 18:12:33 +01:00
Michael Drury
165eff2e5a
First pass - no tests yet, had to make some changes to how pre-processing works, as well as updating the string based on context, if there is any overlap between the helpers and context it will prefix the overlap with ./ - this means to look in context.
2024-08-14 17:21:40 +01:00
Peter Clement
c417a5e627
Replace multiple spaces in bindings with one space ( #14018 )
...
* replace multiple spaces in bindings with one space
* add some tests and update regex to account for strings
* update regex to character based approach
* simplify regex to only look for spaces after {{
---------
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-06-28 14:18:15 +01:00
Adria Navarro
a88924a418
Remove // eslint-disable-next-line no-unused-vars
2024-04-17 12:24:41 +02:00
Adria Navarro
c3531ac8ba
Types
2024-03-14 17:17:38 +01:00
Adria Navarro
05c8f9b956
Fix js
2024-03-14 17:17:18 +01:00
Adria Navarro
a572cc980f
Fix ts
2024-03-14 17:17:10 +01:00
Adria Navarro
046e27c737
Change from js to ts
2024-03-14 17:17:10 +01:00
Adria Navarro
cdf251f9cc
Processors to esm
2024-03-14 17:17:10 +01:00
mike12345567
aac6bc48a7
Fix for issue discovered by test case.
2022-05-04 17:36:30 +01:00
mike12345567
07a285843e
Fixing issue with isValid function found by testcase.
2022-02-08 17:22:44 +00:00
mike12345567
a35a8cb81c
Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped.
2022-02-07 17:56:01 +00:00
Andrew Kingston
c8121ed0e3
Transform the output of JS expressions to be actual types rather than strings
2022-01-18 13:20:06 +00:00
Kyle Harrison
2d451bb3a9
apply fixes for common spelling mistakes
2021-07-09 17:54:49 +01:00
mike12345567
de91822ce7
Adding test case for issue found by Andrew with formulas, HBS in deep context objects was being evaluated which is not valid and breaks things.
2021-05-27 11:45:17 +01:00
Andrew Kingston
797e8a8b67
Add explicit prettier options
2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti
0afbf1649e
lint:fix
2021-05-03 09:31:09 +02:00
Andrew Kingston
5276cd7117
Fix edge case bug where the literal handlebars helper would not work with objects including a dash character
2021-03-16 18:16:56 +00:00
mike12345567
32b0816ecb
Quick fix for string-templates, was being a bit too fuzzy in its lookup of possible helper names.
2021-02-03 11:41:33 +00:00
mike12345567
182353d555
Linting.
2021-01-26 12:43:26 +00:00
mike12345567
673ae8d031
Adding a literal helper which can make sure the output of an operation is a literal value.
2021-01-25 18:14:45 +00:00
mike12345567
766200e59e
Linting.
2021-01-25 17:08:38 +00:00
mike12345567
a254567bec
Updating string templates to have test cases for all the main helpers we want to make use of and adding a readme.
2021-01-25 17:08:21 +00:00
mike12345567
1d38dda79b
Linting.
2021-01-22 17:58:01 +00:00
mike12345567
d3d840e42a
Adding error checking to our handlebars syntax inputs as well as making all handlebars helpers available due to space pre-processor being removed.
2021-01-22 17:57:38 +00:00
mike12345567
094c0335e9
Quick fix for an issue found while checking string templates.
2021-01-22 13:56:29 +00:00
mike12345567
90dce862f1
Fixing some issues CI linting found.
2021-01-21 18:08:04 +00:00
mike12345567
decc1aba5e
Linting.
2021-01-21 17:56:22 +00:00
mike12345567
5076c2f064
Changing up how processors work to make it a bit easier to add to them.
2021-01-21 17:56:00 +00:00