From 03a1c566fc9cd5de617faa6957c1ffadf2374c7f Mon Sep 17 00:00:00 2001 From: Derrick Karpo Date: Wed, 6 Nov 2019 06:01:52 -0700 Subject: [PATCH] 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. --- src/core/operations/BaconCipherDecode.mjs | 4 ++-- src/core/operations/BaconCipherEncode.mjs | 4 ++-- src/core/operations/DefangIPAddresses.mjs | 2 +- src/core/operations/ParseSSHHostKey.mjs | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/core/operations/BaconCipherDecode.mjs b/src/core/operations/BaconCipherDecode.mjs index 05d90d12..56d0946b 100644 --- a/src/core/operations/BaconCipherDecode.mjs +++ b/src/core/operations/BaconCipherDecode.mjs @@ -4,12 +4,12 @@ * @license Apache-2.0 */ -import Operation from "../Operation"; +import Operation from "../Operation.mjs"; import { BACON_ALPHABETS, BACON_TRANSLATION_CASE, BACON_TRANSLATION_AMNZ, BACON_TRANSLATIONS, BACON_CLEARER_MAP, BACON_NORMALIZE_MAP, swapZeroAndOne -} from "../lib/Bacon"; +} from "../lib/Bacon.mjs"; /** * Bacon Cipher Decode operation diff --git a/src/core/operations/BaconCipherEncode.mjs b/src/core/operations/BaconCipherEncode.mjs index fd06e9b7..3eb66b57 100644 --- a/src/core/operations/BaconCipherEncode.mjs +++ b/src/core/operations/BaconCipherEncode.mjs @@ -4,12 +4,12 @@ * @license Apache-2.0 */ -import Operation from "../Operation"; +import Operation from "../Operation.mjs"; import { BACON_ALPHABETS, BACON_TRANSLATIONS_FOR_ENCODING, BACON_TRANSLATION_AB, swapZeroAndOne -} from "../lib/Bacon"; +} from "../lib/Bacon.mjs"; /** * Bacon Cipher Encode operation diff --git a/src/core/operations/DefangIPAddresses.mjs b/src/core/operations/DefangIPAddresses.mjs index 74e03500..5623a049 100644 --- a/src/core/operations/DefangIPAddresses.mjs +++ b/src/core/operations/DefangIPAddresses.mjs @@ -4,7 +4,7 @@ * @license Apache-2.0 */ -import Operation from "../Operation"; +import Operation from "../Operation.mjs"; /** diff --git a/src/core/operations/ParseSSHHostKey.mjs b/src/core/operations/ParseSSHHostKey.mjs index 17b1a8d1..c9b0c295 100644 --- a/src/core/operations/ParseSSHHostKey.mjs +++ b/src/core/operations/ParseSSHHostKey.mjs @@ -4,11 +4,11 @@ * @license Apache-2.0 */ -import Operation from "../Operation"; -import OperationError from "../errors/OperationError"; -import Utils from "../Utils"; -import { fromBase64 } from "../lib/Base64"; -import { fromHex, toHexFast } from "../lib/Hex"; +import Operation from "../Operation.mjs"; +import OperationError from "../errors/OperationError.mjs"; +import Utils from "../Utils.mjs"; +import { fromBase64 } from "../lib/Base64.mjs"; +import { fromHex, toHexFast } from "../lib/Hex.mjs"; /** * Parse SSH Host Key operation