mirror of
https://github.com/gchq/CyberChef
synced 2026-01-02 08:33:18 +00:00
Expose Dish (SyncDish) in API and make it composable.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
|
||||
import "babel-polyfill";
|
||||
import SyncDish from "./SyncDish";
|
||||
import { wrap, help, bake } from "./api";
|
||||
import {
|
||||
ADD as core_ADD,
|
||||
@@ -514,6 +515,7 @@ function generateChef() {
|
||||
|
||||
const chef = generateChef();
|
||||
chef.help = help;
|
||||
chef.dish = SyncDish;
|
||||
const ADD = chef.ADD;
|
||||
const AESDecrypt = chef.AESDecrypt;
|
||||
const AESEncrypt = chef.AESEncrypt;
|
||||
@@ -1237,4 +1239,5 @@ export {
|
||||
XPathExpression,
|
||||
zlibDeflate,
|
||||
zlibInflate,
|
||||
SyncDish as Dish
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user