Commit graph

106 commits

Author SHA1 Message Date
n1474335
75dba51f56 Improve CJS and ESM module support #1037 2022-03-28 10:52:28 +01:00
n1474335
9e3733b33b Fixed Node imports 2022-03-25 18:28:01 +00:00
n1474335
b09f98fbb4 Updated to Node 17 2022-03-25 14:59:54 +00:00
Thomas Weißschuh
cfc29ef821 Always use mjs imports
This is needed for Node/NPM 16 compat
2021-09-17 08:48:04 +02:00
d98762625
4dafa50799 improve some comments, remove unused properties from magic state shim in node API 2020-06-12 12:35:33 +01:00
d98762625
53e69835ff Formally disallow flowcontrol operations from being used in bake recipes 2020-06-05 14:44:34 +01:00
d98762625
939208903a Allow magic in node api 2020-06-05 12:26:17 +01:00
n1474335
4308c717c3 Tests now display a progress bar and report long running tests 2020-03-13 14:59:48 +00:00
n1073645
33464b3388 Linting changes 2019-11-14 08:55:27 +00:00
n1474335
9d73127cae Fixed some typos 2019-10-16 15:38:20 +01:00
d98762625
494279edd8 update gitignore 2019-10-07 18:01:35 +01:00
d98762625
bd6673afed Merge branch 'master' of github.com:gchq/CyberChef into expose-operationerror 2019-10-07 17:59:00 +01:00
d98762625
014e70a7b1 add node index to source 2019-09-20 18:44:13 +01:00
d98762625
5148b16246 Export cyberchef error types to be used in consuming applications 2019-09-20 18:40:21 +01:00
d98762625
111546ad1a update function comments 2019-09-06 12:26:24 +01:00
d98762625
a8fbd5164e Update NodeRecipe so args is optional in bake config 2019-09-06 12:21:53 +01:00
n1474335
094d352e5f Added eslint space-before-blocks rule 2019-08-27 18:13:33 +01:00
d98762625
e4d98eba6b use std/esm to make chef compatible with cjs projects. Remove webpack work for node 2019-07-19 13:14:32 +01:00
n1474335
566517d20f Imports now specify the file extension to support Node v12 2019-07-09 12:23:59 +01:00
d98762625
0de89f3145 Merge branch 'v9' of github.com:gchq/CyberChef into node-lib 2019-07-05 13:10:44 +01:00
d98762625
a1cf20bd67 gitignore fix 2019-07-05 10:24:29 +01:00
d98762625
d2ff2ec9c6 improve comments and re-add some excluded operations 2019-07-05 10:22:14 +01:00
d98762625
1c24c05647 swap ENVIRONMENT_IS_* functions for Utils named exports 2019-07-05 10:17:52 +01:00
d98762625
6084759907 Merge branch 'use-node-lts' into node-lib 2019-05-03 13:42:45 +01:00
d98762625
d3e6200385 remove babel-polyfill and update plugins to work with uplifted version 2019-04-05 17:15:21 +01:00
d98762625
af504891e4 incorporate ArrayBuffer base Dish type. Add global file shim to node index. Fix Buffer -> ArrayBuffer transformation 2019-04-05 16:51:14 +01:00
d98762625
e4ee0fc397 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-04-04 15:21:52 +01:00
d98762625
a7874cc351 improve naming in API 2019-04-04 11:28:46 +01:00
n1474335
2385f1cbf8 Updated dependencies 2019-03-30 14:56:43 +00:00
d98762625
638093d40e correct translation from node Buffer to byte array 2019-03-22 09:42:25 +00:00
d98762625
b98cab7d62 pass full dish into NodeDish Apply to allow apply from ArrayBuffer type to work 2019-03-20 17:46:01 +00:00
d98762625
9e2aac0696 update tests file name and linting 2019-03-20 16:34:20 +00:00
d98762625
b48a55bd74 add all options to argOptions. Add some extra test case for Zip 2019-03-20 16:27:35 +00:00
d98762625
aad1bc898e update file shim to use detectFileType. 2019-03-20 12:38:49 +00:00
d98762625
8eed2232ee add immutable presentAs method to Dish for node REPL display. add test for exact match help 2019-03-20 11:57:47 +00:00
d98762625
8f5f3e56cb prefer exact matches in help function 2019-03-20 10:23:03 +00:00
d98762625
b8cb7e9ba8 add tests for File and test based operations. Only unzip to go 2019-03-14 17:54:06 +00:00
d98762625
2019ae43d7 File shim now translates correctly 2019-03-14 16:33:09 +00:00
d98762625
d080c5dd14 debugging File shim 2019-03-14 08:27:06 +00:00
d98762625
14d591caa1 more debugging 2019-03-11 09:47:58 +00:00
d98762625
6d219ade2d remove legacy async api from NodeRecipe 2019-03-01 16:56:14 +00:00
d98762625
573a292e16 WIP dynamically define async functions in Dish, only if needed 2019-02-15 15:40:29 +00:00
d98762625
04b7f2fa8c WIP HAD to move NodeDish out - NONE of it is async! 2019-02-15 15:20:05 +00:00
d98762625
7522e5de33 remove unnecessary operationConfig manipulation 2019-01-23 09:55:29 +00:00
d98762625
83fa50bf13 linting 2018-12-21 10:24:20 +00:00
d98762625
a010bba047 add test and change name of property to argOptions 2018-12-21 09:46:30 +00:00
d98762625
19366e3624 arg array options to wrapped func 2018-12-07 15:46:05 +00:00
d98762625
fa87fc8325 replace operations on Dish with apply 2018-10-12 11:44:19 +01:00
d98762625
48f3a3b18f Do not mangle names on minification for Node prod build - property names are used for search in bake 2018-10-05 18:24:06 +01:00
d98762625
25e0585742 Improve use of files as input. Add dish to repl 2018-10-05 18:06:15 +01:00