Commit Graph

2275 Commits

Author SHA1 Message Date
mike12345567 936762c8ee Removing all eval warnings from rollup. 2024-03-27 13:35:47 +00:00
Adria Navarro 89767162bb Add comments 2024-03-21 18:41:23 +01:00
Andrew Kingston 67a1f82ed2 Merge branch 'BUDI-8113/fix-isolated-vm-bundler' of github.com:Budibase/budibase into BUDI-8113/fix-isolated-vm-bundler 2024-03-21 16:59:40 +00:00
Andrew Kingston 4102459f98 Fix additional helpers not working 2024-03-21 16:59:07 +00:00
Adria Navarro 9ba8a21f29
Merge branch 'master' into BUDI-8113/fix-isolated-vm-bundler 2024-03-21 17:35:21 +01:00
Adria Navarro 09368340de Add tests 2024-03-21 17:29:55 +01:00
andz-bb 55e0145fdb fix for boolean values getting stripped when running processObject 2024-03-21 16:10:52 +00:00
Adria Navarro 001e48179a Lint 2024-03-21 17:09:20 +01:00
Adria Navarro c679984a99 Don't use barrel files 2024-03-21 16:10:27 +01:00
Adria Navarro 1a8510358b Fix test 2024-03-21 11:43:50 +01:00
Adria Navarro a6d3840141 Fix bundling 2024-03-21 11:28:06 +01:00
Sam Rose 217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Sam Rose 009c795f54
Reenable no-undefs. 2024-03-19 17:47:39 +00:00
Sam Rose 5749333fc7
Reenable no-useless-escape. 2024-03-19 11:14:16 +00:00
Adria Navarro 236b188630 Add missing devDependency 2024-03-18 17:43:30 +01:00
Adria Navarro 87730918d9 Inject buffer to string-templates dist 2024-03-18 12:37:05 +01:00
Adria Navarro e34f24e2f1 Lint 2024-03-15 20:12:41 +01:00
Adria Navarro a78485e325 Lint 2024-03-15 20:08:59 +01:00
Adria Navarro 21a387f4fe Mutate input 2024-03-15 19:57:04 +01:00
Adria Navarro b1689b38c2 Remove any 2024-03-15 16:56:53 +01:00
Adria Navarro 8f3c21f045 Fix server jest mappers 2024-03-15 16:40:30 +01:00
Adria Navarro ecde5add83 Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-15 13:22:50 +01:00
Adria Navarro 7d6377fa14 Fix types 2024-03-15 13:01:33 +01:00
Adria Navarro 69ecf5183b Fix cli check:types 2024-03-15 10:38:51 +01:00
Adria Navarro 204aadc8e6 Fix 2024-03-15 10:29:59 +01:00
Adria Navarro 987ea60537 Add string-templates check:types 2024-03-15 10:29:47 +01:00
Adria Navarro 9dac9d0a3d Types 2024-03-15 10:18:47 +01:00
Adria Navarro 9671399ca8 Bundle build 2024-03-15 10:04:45 +01:00
Adria Navarro c698b684e4 Lint 2024-03-15 09:59:18 +01:00
Adria Navarro e1512f15de Add nx dependencies back 2024-03-15 09:47:48 +01:00
Adria Navarro 4332034434 Type tests 2024-03-15 09:41:32 +01:00
Adria Navarro 972cbf43b8 Types 2024-03-15 09:35:38 +01:00
Adria Navarro 49cca6d69a Lint 2024-03-15 00:07:05 +01:00
Adria Navarro cfb1665ed9 Fix tests 2024-03-15 00:00:17 +01:00
Adria Navarro bd4b14e995 Fix tests 2024-03-14 23:51:24 +01:00
Adria Navarro acbb06edf7 Split code 2024-03-14 22:32:17 +01:00
Adria Navarro 03122b464f Types 2024-03-14 18:39:08 +01:00
Adria Navarro 029ac07fa2 Fix types 2024-03-14 18:37:49 +01:00
Adria Navarro d4e72e4a0b Fix test/utils exports 2024-03-14 18:26:14 +01:00
Adria Navarro 8bd89a27a5 Fix types 2024-03-14 17:51:43 +01:00
Adria Navarro 215d68715b Declarations 2024-03-14 17:50:31 +01:00
Adria Navarro 81f2fb5aa9 Move manifest.json 2024-03-14 17:50:17 +01:00
Adria Navarro 2407ddbcfb Gen manifest to ts 2024-03-14 17:49:05 +01:00
Adria Navarro a390015757 Fix require 2024-03-14 17:41:30 +01:00
Adria Navarro 68bfa2434b Add json back 2024-03-14 17:37:25 +01:00
Adria Navarro 0627a7f3a8 Remove json plugin 2024-03-14 17:31:07 +01:00
Adria Navarro 379b9a3e8f Fix build 2024-03-14 17:28:35 +01:00
Adria Navarro c60baaa012 More types 2024-03-14 17:17:38 +01:00
Adria Navarro 566c4e5c17 Fix typings 2024-03-14 17:17:38 +01:00
Adria Navarro c3531ac8ba Types 2024-03-14 17:17:38 +01:00
Adria Navarro 9e0e9297f5 Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro 8bbf318f4a Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro 38f64aa704 Lint 2024-03-14 17:17:18 +01:00
Adria Navarro d24ea36c64 Fixes 2024-03-14 17:17:18 +01:00
Adria Navarro af3c4285f0 Fix build 2024-03-14 17:17:18 +01:00
Adria Navarro bbe5f0041d Types 2024-03-14 17:17:18 +01:00
Adria Navarro b05dc6ab49 Fix typings 2024-03-14 17:17:18 +01:00
Adria Navarro 0b292f2e82 Allow ts tests 2024-03-14 17:17:18 +01:00
Adria Navarro f782305219 Change to js 2024-03-14 17:17:18 +01:00
Adria Navarro c9973b5ecd Remove type 2024-03-14 17:17:18 +01:00
Adria Navarro 05c8f9b956 Fix js 2024-03-14 17:17:18 +01:00
Adria Navarro afe2335ed8 Fix rollup config 2024-03-14 17:17:18 +01:00
Adria Navarro 52fd8c2369 Remove not required rollup plugin 2024-03-14 17:17:18 +01:00
Adria Navarro 16ca7bbc45 Fix requires 2024-03-14 17:17:18 +01:00
Adria Navarro 2339030fe2 Build both cjs and mjs versions 2024-03-14 17:17:18 +01:00
Adria Navarro 667a5ab990 Fix package.json refs 2024-03-14 17:17:18 +01:00
Adria Navarro 0ad7bde478 Don't run tsc 2024-03-14 17:17:10 +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 3b757476e0 Setup typescript rollup 2024-03-14 17:17:10 +01:00
Adria Navarro 6b3c4ec651 Update entrypoints 2024-03-14 17:17:10 +01:00
Adria Navarro 8503af6729 Point to src 2024-03-14 17:17:10 +01:00
Adria Navarro 813b96354b Final convertions 2024-03-14 17:17:10 +01:00
Adria Navarro 4aa8456d21 More convertions 2024-03-14 17:17:10 +01:00
Adria Navarro 92f08d84d7 More convertions 2024-03-14 17:17:10 +01:00
Adria Navarro b457b0e023 Convert helpers 2024-03-14 17:17:10 +01:00
Adria Navarro cdf251f9cc Processors to esm 2024-03-14 17:17:10 +01:00
Adria Navarro e0873b359c Mark as module 2024-03-14 17:17:10 +01:00
Adria Navarro efef47b77e Indexjs to esm 2024-03-14 17:17:10 +01:00
Andrew Kingston 95f71efdab Cache snippet evaluations in the browser 2024-03-13 12:52:36 +00:00
Andrew Kingston 861d48dbf3 Transform snippets into a map in the browser for faster access 2024-03-13 12:37:49 +00:00
Andrew Kingston 64855bbdf0 Optimise cloneDeep usage in string templates 2024-03-13 12:11:09 +00:00
Andrew Kingston a1186cd6d3 Remove testing snippet code 2024-03-13 12:01:26 +00:00
Andrew Kingston 706f9b5d4a Update snippets to be an array 2024-03-05 19:11:34 +00:00
Andrew Kingston 5b3280832c Improve logic around swapping binding panel tabs 2024-03-05 18:38:48 +00:00
Andrew Kingston 483fcbe30a Add example of crazy long snippet for performance testing 2024-03-01 15:48:39 +00:00
Andrew Kingston b7b1e95eb8 Add working PoC of snippets for both polyfilled vm and isolated-vm 2024-03-01 15:25:40 +00:00
mike12345567 4e61230c9a Removing unused function. 2024-02-20 17:17:13 +00:00
mike12345567 5dfa460374 Disabling VM by default in string-templates, backend services *MUST* set their JS runner specifically rather than assuming the VM library by default. 2024-02-20 16:23:35 +00:00
Adria Navarro 70db60a360 Move default setJSRunner from mjs to index 2024-02-12 17:04:29 +01:00
Adria Navarro b27ca57e1a Allow loging js execution errors 2024-02-12 14:00:32 +01:00
Adria Navarro 6c78c7a45f Fix tests 2024-02-09 13:28:37 +01:00
Adria Navarro 0db98f7fb1 Move sandbox escape test to server 2024-02-09 10:35:58 +01:00
Adria Navarro 7aee57eb6a Fix javacript runs 2024-02-09 10:33:09 +01:00
Adria Navarro 2cde033783 Remove vm2 2024-02-09 10:27:56 +01:00
Adria Navarro ec7adfb1b1 Remove index.cjs entry point 2024-02-09 10:27:22 +01:00
Adria Navarro 573096e869
Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm 2024-02-08 18:15:36 +01:00
Sam Rose 8e9db069e5
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +00:00
Adria Navarro 6bc5bf5be1 Clean 2024-02-06 10:42:44 +01:00
Adria Navarro 719062ab2f Remove bundles from string-templates 2024-02-06 10:06:26 +01:00