mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 05:13:23 +00:00
Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user