mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Converted all modules from CommonJS to ES6
This commit is contained in:
parent
0f2a5014be
commit
131b3a83c1
75 changed files with 395 additions and 282 deletions
|
@ -6,9 +6,9 @@
|
|||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
var Chef = require("../core/Chef.js");
|
||||
var Chef = require("../core/Chef.js").default;
|
||||
|
||||
module.exports = {
|
||||
const CyberChef = module.exports = {
|
||||
|
||||
bake: function(input, recipeConfig) {
|
||||
this.chef = new Chef();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue