Commit Graph

41 Commits

Author SHA1 Message Date
d98762625
c70f14419a rename dishTranslationTypes 2019-07-05 09:44:01 +01:00
d98762625
1a9c9a5ddf Actually need to return the translation 2019-05-24 16:46:07 +01:00
d98762625
aa9bf08157 amend comments, remove return type from Dish translate 2019-05-03 14:38:29 +01:00
d98762625
65a3897f87 add dish translation tests for node 2019-05-03 13:36:08 +01:00
d98762625
de8c99eceb merge init-dish & update tests 2019-04-08 18:06:01 +01:00
d98762625
cdc15c0f20 change empty Dish initialisation to use ArrayBuffer 2019-04-08 17:58:46 +01:00
d98762625
a210f951da more linting 2019-04-05 17:40:52 +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
n1474335
7d03be3a77 Dish._translate now uses ArrayBuffer as its intermediate type instead of byteArray. This should speed up operations on large files. 2019-04-02 15:34:30 +01:00
d98762625
638093d40e correct translation from node Buffer to byte array 2019-03-22 09:42:25 +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
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
b48c16b4db Refactor Dish _translate to handle sync and async depending on environment. 2019-03-01 16:38:54 +00:00
d98762625
0a1ca18de5 refactor Dish get to handle sync and async 2019-03-01 08:59:18 +00:00
d98762625
ff2521aa9f WIP Dish now working on dev with dynamically loaded _translate and get functions 2019-02-15 16:26:22 +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
39c68ff26e Merge branch 'dynamic-import' into node-lib-dynamic 2019-02-11 16:56:50 +00:00
n1474335
d2b4c40357 Fixed BigNumber/XRegExp incompatibility. CLoses #481 2019-02-08 16:54:04 +00:00
d98762625
a4de937eb6 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-01-04 09:27:32 +00:00
n1474335
b29bb6fdd7 Added 'DishError' and refined test results. 2018-12-25 22:38:53 +00:00
d98762625
431f1d4be0 housekeeping & add repl command to package 2018-09-27 17:51:44 +01:00
d98762625
5047619e54 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2018-09-04 09:42:05 +01:00
d98762625
f6c4b5073c Expose Dish (SyncDish) in API and make it composable. 2018-08-31 13:09:22 +01:00
d98762625
55f7cac526 Remove Buffer from Dish. Convert into ByteArray in api and then pass in as ArrayBuffer. Add some PNG files to tests 2018-08-31 13:08:55 +01:00
n1474335
0d63b3cbae JSON output is now indented by default. Closes #350. 2018-08-29 19:05:58 +00:00
d98762625
223e2e0b73 add Buffer translation to Dish. Cannot work in SyncDish as typeEnums are static. Seeing as they will never be hit in the broswer, shouldnt be an issue 2018-08-17 17:16:24 +01:00
d98762625
7c1ac4392e merge 8.0.1 release -> node-lib 2018-08-11 22:15:09 +01:00
n1474335
9b7f4e824a Improvements and basic tests for Magic op and addition of deep cloning for dishes 2018-08-09 19:17:24 +01:00
d98762625
3d672802a3 remove find Type - not used any more 2018-04-27 16:47:52 +01:00
d98762625
c238862efe in/out typing working. Added translateTo function 2018-04-27 16:45:02 +01:00
n1474335
b0a8ca56bc Added File and JSON Dish types and updated types for compression ops. 2018-04-27 10:44:40 +01:00
n1474335
fbec0a1c7d The raw, unpresented dish is now returned to the app after baking, where it can be retrieved as various different data types. 2018-04-27 10:44:40 +01:00
n1474335
a8aa1bc5e8 Added File and JSON Dish types and updated types for compression ops. 2018-04-21 13:41:42 +01:00
n1474335
76a066ab74 The raw, unpresented dish is now returned to the app after baking, where it can be retrieved as various different data types. 2018-04-21 12:25:48 +01:00
d98762625
59877b5138 Exporing options with API. 2018-04-13 12:14:40 +01:00
n1474335
b7ed1becba ESM: Added new List<File> Dish type. Added present() method for displaying operation output in a nice way. Testing required. 2018-04-06 18:11:13 +00:00
n1474335
9b4fc3d3aa Converted the core to ES modules 2018-03-26 23:14:23 +01:00