mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26: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
|
@ -1,4 +1,4 @@
|
|||
var punycode = require("punycode");
|
||||
import punycode from "punycode";
|
||||
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ var punycode = require("punycode");
|
|||
*
|
||||
* @namespace
|
||||
*/
|
||||
var Punycode = module.exports = {
|
||||
const Punycode = {
|
||||
|
||||
/**
|
||||
* @constant
|
||||
|
@ -54,3 +54,5 @@ var Punycode = module.exports = {
|
|||
},
|
||||
|
||||
};
|
||||
|
||||
export default Punycode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue