mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var UAParser = require("exports-loader?UAS_parser!../lib/uas_parser.js");
|
||||
import {UAS_parser as UAParser} from "../lib/uas_parser.js";
|
||||
|
||||
|
||||
/**
|
||||
@@ -10,7 +10,7 @@ var UAParser = require("exports-loader?UAS_parser!../lib/uas_parser.js");
|
||||
*
|
||||
* @namespace
|
||||
*/
|
||||
var HTTP = module.exports = {
|
||||
const HTTP = {
|
||||
|
||||
/**
|
||||
* Strip HTTP headers operation.
|
||||
@@ -52,3 +52,5 @@ var HTTP = module.exports = {
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
export default HTTP;
|
||||
|
||||
Reference in New Issue
Block a user