mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -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,6 +1,6 @@
|
|||
var Utils = require("../Utils.js"),
|
||||
Checksum = require("./Checksum.js"),
|
||||
BigInteger = require("jsbn").BigInteger;
|
||||
import Utils from "../Utils.js";
|
||||
import Checksum from "./Checksum.js";
|
||||
import {BigInteger} from "jsbn";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -12,7 +12,7 @@ var Utils = require("../Utils.js"),
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var IP = module.exports = {
|
||||
const IP = {
|
||||
|
||||
/**
|
||||
* @constant
|
||||
|
@ -1060,5 +1060,6 @@ var IP = module.exports = {
|
|||
255: {keyword: "Reserved", protocol: ""}
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
|
||||
export default IP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue