mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Fixed tests and Node version to work with modules
This commit is contained in:
@@ -11,7 +11,7 @@ import Punycode from "../../operations/Punycode.js";
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
let OpModules = self.OpModules || {};
|
||||
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
||||
|
||||
OpModules.Encodings = {
|
||||
"To Punycode": Punycode.runToAscii,
|
||||
|
||||
Reference in New Issue
Block a user