mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Imports now specify the file extension to support Node v12
This commit is contained in:
parent
d7d50337f9
commit
566517d20f
469 changed files with 1098 additions and 1093 deletions
|
@ -6,7 +6,7 @@
|
|||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import Dish from "../../core/Dish";
|
||||
import Dish from "../../core/Dish.mjs";
|
||||
|
||||
self.addEventListener("message", function(e) {
|
||||
// Handle message from the main thread
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import Utils from "../../core/Utils";
|
||||
import {detectFileType} from "../../core/lib/FileType";
|
||||
import Utils from "../../core/Utils.mjs";
|
||||
import {detectFileType} from "../../core/lib/FileType.mjs";
|
||||
|
||||
// Default max values
|
||||
// These will be correctly calculated automatically
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import zip from "zlibjs/bin/zip.min";
|
||||
import Utils from "../../core/Utils";
|
||||
import Dish from "../../core/Dish";
|
||||
import {detectFileType} from "../../core/lib/FileType";
|
||||
import zip from "zlibjs/bin/zip.min.js";
|
||||
import Utils from "../../core/Utils.mjs";
|
||||
import Dish from "../../core/Dish.mjs";
|
||||
import {detectFileType} from "../../core/lib/FileType.mjs";
|
||||
|
||||
const Zlib = zip.Zlib;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue