Commit Graph

2159 Commits

Author SHA1 Message Date
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
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
Adria Navarro b28890b401 Load 2024-02-06 10:04:54 +01:00
Adria Navarro f28417a776 Move bundle for ivm to server 2024-02-05 18:26:39 +01:00
Adria Navarro 8dfcc3aeb1
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00
Adria Navarro 45ea6a6fd6
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-01 16:47:41 +01:00
Adria Navarro 16749ec3dd
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-01 16:30:34 +01:00
Adria Navarro 480476bcfe Lint 2024-02-01 12:32:39 +01:00
Adria Navarro 843d95c3bb Lint 2024-02-01 12:30:59 +01:00
Adria Navarro 1439eb9b27 Fix stripProtocol 2024-02-01 12:20:31 +01:00
Adria Navarro 4461c49f48 Allow skipping tests 2024-02-01 10:58:20 +01:00
Adria Navarro 82db76627f Better typing 2024-02-01 10:56:59 +01:00
Adria Navarro e6ae364918 Register server helpers 2024-01-31 17:49:55 +01:00
Adria Navarro b96ca1cf54 Run hbs on server tests 2024-01-31 17:49:55 +01:00
Adria Navarro de4d7d95c3 Move code to test helpers 2024-01-31 17:49:55 +01:00
Adria Navarro a5ccb9f0e8 Dry 2024-01-31 17:47:07 +01:00
Adria Navarro 507aa8af93 Simplify and remove magic strings 2024-01-31 17:05:20 +01:00