mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Fixed tests and Node version to work with modules
This commit is contained in:
parent
a4aee761c2
commit
6af82680f1
12 changed files with 12 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue