mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Converted the core to ES modules
This commit is contained in:
parent
c1bb93eec1
commit
9b4fc3d3aa
154 changed files with 1901 additions and 2223 deletions
|
@ -1,4 +1,4 @@
|
|||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
import Manager from "./Manager.js";
|
||||
import HTMLCategory from "./HTMLCategory.js";
|
||||
import HTMLOperation from "./HTMLOperation.js";
|
||||
|
@ -24,7 +24,7 @@ const App = function(categories, operations, defaultFavourites, defaultOptions)
|
|||
this.operations = operations;
|
||||
this.dfavourites = defaultFavourites;
|
||||
this.doptions = defaultOptions;
|
||||
this.options = Utils.extend({}, defaultOptions);
|
||||
this.options = Object.assign({}, defaultOptions);
|
||||
|
||||
this.manager = new Manager(this);
|
||||
|
||||
|
|
0
src/web/BindingsWaiter.js
Normal file → Executable file
0
src/web/BindingsWaiter.js
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import LoaderWorker from "worker-loader?inline&fallback=false!./LoaderWorker.js";
|
||||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
|
||||
|
||||
/**
|
||||
|
|
0
src/web/LoaderWorker.js
Normal file → Executable file
0
src/web/LoaderWorker.js
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
import FileSaver from "file-saver";
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import HTMLOperation from "./HTMLOperation.js";
|
||||
import Sortable from "sortablejs";
|
||||
import Utils from "../core/Utils.js";
|
||||
import Utils from "../core/Utils";
|
||||
|
||||
|
||||
/**
|
||||
|
|
0
src/web/WorkerWaiter.js
Normal file → Executable file
0
src/web/WorkerWaiter.js
Normal file → Executable file
|
@ -13,12 +13,12 @@ import "bootstrap";
|
|||
import "bootstrap-switch";
|
||||
import "bootstrap-colorpicker";
|
||||
import moment from "moment-timezone";
|
||||
import CanvasComponents from "../core/lib/canvascomponents.js";
|
||||
import CanvasComponents from "../core/vendor/canvascomponents.js";
|
||||
|
||||
// CyberChef
|
||||
import App from "./App.js";
|
||||
import Categories from "../core/config/Categories.js";
|
||||
import OperationConfig from "../core/config/MetaConfig.js";
|
||||
import OperationConfig from "../core/config/OperationConfig.json";
|
||||
|
||||
|
||||
/**
|
||||
|
|
0
src/web/static/ga.html
Normal file → Executable file
0
src/web/static/ga.html
Normal file → Executable file
0
src/web/static/images/file-128x128.png
Normal file → Executable file
0
src/web/static/images/file-128x128.png
Normal file → Executable file
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
0
src/web/static/images/file-32x32.png
Normal file → Executable file
0
src/web/static/images/file-32x32.png
Normal file → Executable file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -1,5 +1,5 @@
|
|||
import sm from "sitemap";
|
||||
import OperationConfig from "../../core/config/MetaConfig.js";
|
||||
import OperationConfig from "../../core/config/OperationConfig.json";
|
||||
|
||||
|
||||
/**
|
||||
|
|
0
src/web/static/structuredData.json
Normal file → Executable file
0
src/web/static/structuredData.json
Normal file → Executable file
0
src/web/stylesheets/components/_alert.css
Normal file → Executable file
0
src/web/stylesheets/components/_alert.css
Normal file → Executable file
0
src/web/stylesheets/components/_button.css
Normal file → Executable file
0
src/web/stylesheets/components/_button.css
Normal file → Executable file
0
src/web/stylesheets/components/_list.css
Normal file → Executable file
0
src/web/stylesheets/components/_list.css
Normal file → Executable file
0
src/web/stylesheets/components/_operation.css
Normal file → Executable file
0
src/web/stylesheets/components/_operation.css
Normal file → Executable file
0
src/web/stylesheets/components/_pane.css
Normal file → Executable file
0
src/web/stylesheets/components/_pane.css
Normal file → Executable file
0
src/web/stylesheets/index.css
Normal file → Executable file
0
src/web/stylesheets/index.css
Normal file → Executable file
0
src/web/stylesheets/index.js
Normal file → Executable file
0
src/web/stylesheets/index.js
Normal file → Executable file
0
src/web/stylesheets/layout/_banner.css
Normal file → Executable file
0
src/web/stylesheets/layout/_banner.css
Normal file → Executable file
0
src/web/stylesheets/layout/_controls.css
Normal file → Executable file
0
src/web/stylesheets/layout/_controls.css
Normal file → Executable file
0
src/web/stylesheets/layout/_io.css
Normal file → Executable file
0
src/web/stylesheets/layout/_io.css
Normal file → Executable file
0
src/web/stylesheets/layout/_modals.css
Normal file → Executable file
0
src/web/stylesheets/layout/_modals.css
Normal file → Executable file
0
src/web/stylesheets/layout/_operations.css
Normal file → Executable file
0
src/web/stylesheets/layout/_operations.css
Normal file → Executable file
0
src/web/stylesheets/layout/_recipe.css
Normal file → Executable file
0
src/web/stylesheets/layout/_recipe.css
Normal file → Executable file
0
src/web/stylesheets/layout/_structure.css
Normal file → Executable file
0
src/web/stylesheets/layout/_structure.css
Normal file → Executable file
0
src/web/stylesheets/preloader.css
Normal file → Executable file
0
src/web/stylesheets/preloader.css
Normal file → Executable file
0
src/web/stylesheets/themes/_dark.css
Normal file → Executable file
0
src/web/stylesheets/themes/_dark.css
Normal file → Executable file
0
src/web/stylesheets/vendors/bootstrap.less
vendored
Normal file → Executable file
0
src/web/stylesheets/vendors/bootstrap.less
vendored
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue