Commit Graph

57 Commits

Author SHA1 Message Date
n1474335
1abc46058c Added a CodeQL workflow to check for bugs through code analysis. Fixed numerous bugs and implemented safeguards as already reported. 2021-02-10 13:13:19 +00:00
n1474335
9d73127cae Fixed some typos 2019-10-16 15:38:20 +01:00
n1474335
eb769c7fb4 Tidied up Steganography operations. FileType and toBase64 functions now accept ArrayBuffers. 2019-09-04 13:54:59 +01:00
n1474335
82b94fad5d Fixed BigNumber type coercion issues when passed between workers 2019-07-29 15:14:29 +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
n1474335
aa362ba18b Removed async from detectDishType 2019-07-05 12:41:47 +01:00
n1474335
e4e32a9c56 Merge branch 'master' into v9 2019-07-05 12:30:28 +01:00
n1474335
5eb3979504 Updated dependencies and linter 2019-07-05 12:22:52 +01:00
d98762625
368f508b17 Merge branch 'v9' of github.com:gchq/CyberChef into node-lib 2019-07-05 11:07:31 +01:00
d98762625
1c24c05647 swap ENVIRONMENT_IS_* functions for Utils named exports 2019-07-05 10:17:52 +01:00
d98762625
c70f14419a rename dishTranslationTypes 2019-07-05 09:44:01 +01:00
n1474335
2007cfd3a0 Improved efficiency of Dish title generation 2019-07-04 15:43:50 +01:00
j433866
86c37bab3f Clone dish instead of using the current dish.
Use Dish.STRING instead of "string" for get()
2019-07-01 13:41:48 +01:00
j433866
34d03973f9 Improve queueing for getDish... messages.
Force wheel event to be not passive.
Change maxworkers to be navigator.hardwareConcurrency - 1
2019-06-13 14:48:28 +01:00
j433866
84204c1d12 Add mime type detection to tab title.
Move addition of close tab button back
2019-06-13 11:13:53 +01:00
j433866
6ee76e3bf0 Add getDishTitle function 2019-06-13 09:43:58 +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