Add file extensions which are mandatory for the latest Node 12.x.

Note: This doesn't solve the upstream import's which still don't
comply but it preps CyberChef for it.
This commit is contained in:
Derrick Karpo 2019-11-06 06:01:52 -07:00
parent 05e65a74ce
commit 03a1c566fc
4 changed files with 10 additions and 10 deletions

View file

@ -4,12 +4,12 @@
* @license Apache-2.0 * @license Apache-2.0
*/ */
import Operation from "../Operation"; import Operation from "../Operation.mjs";
import { import {
BACON_ALPHABETS, BACON_ALPHABETS,
BACON_TRANSLATION_CASE, BACON_TRANSLATION_AMNZ, BACON_TRANSLATIONS, BACON_CLEARER_MAP, BACON_NORMALIZE_MAP, BACON_TRANSLATION_CASE, BACON_TRANSLATION_AMNZ, BACON_TRANSLATIONS, BACON_CLEARER_MAP, BACON_NORMALIZE_MAP,
swapZeroAndOne swapZeroAndOne
} from "../lib/Bacon"; } from "../lib/Bacon.mjs";
/** /**
* Bacon Cipher Decode operation * Bacon Cipher Decode operation

View file

@ -4,12 +4,12 @@
* @license Apache-2.0 * @license Apache-2.0
*/ */
import Operation from "../Operation"; import Operation from "../Operation.mjs";
import { import {
BACON_ALPHABETS, BACON_ALPHABETS,
BACON_TRANSLATIONS_FOR_ENCODING, BACON_TRANSLATION_AB, BACON_TRANSLATIONS_FOR_ENCODING, BACON_TRANSLATION_AB,
swapZeroAndOne swapZeroAndOne
} from "../lib/Bacon"; } from "../lib/Bacon.mjs";
/** /**
* Bacon Cipher Encode operation * Bacon Cipher Encode operation

View file

@ -4,7 +4,7 @@
* @license Apache-2.0 * @license Apache-2.0
*/ */
import Operation from "../Operation"; import Operation from "../Operation.mjs";
/** /**

View file

@ -4,11 +4,11 @@
* @license Apache-2.0 * @license Apache-2.0
*/ */
import Operation from "../Operation"; import Operation from "../Operation.mjs";
import OperationError from "../errors/OperationError"; import OperationError from "../errors/OperationError.mjs";
import Utils from "../Utils"; import Utils from "../Utils.mjs";
import { fromBase64 } from "../lib/Base64"; import { fromBase64 } from "../lib/Base64.mjs";
import { fromHex, toHexFast } from "../lib/Hex"; import { fromHex, toHexFast } from "../lib/Hex.mjs";
/** /**
* Parse SSH Host Key operation * Parse SSH Host Key operation