mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -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
|
@ -1,4 +1,4 @@
|
|||
var CryptoJS = require("crypto-js");
|
||||
import CryptoJS from "crypto-js";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ var CryptoJS = require("crypto-js");
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var Utils = module.exports = {
|
||||
const Utils = {
|
||||
|
||||
/**
|
||||
* Translates an ordinal into a character.
|
||||
|
@ -1169,6 +1169,8 @@ var Utils = module.exports = {
|
|||
|
||||
};
|
||||
|
||||
export default Utils;
|
||||
|
||||
|
||||
/**
|
||||
* Removes all duplicates from an array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue