diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ece70766..1210ffff 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3469,7 +3469,7 @@ packages:
/@types/lodash-es@4.17.10:
resolution: {integrity: sha512-YJP+w/2khSBwbUSFdGsSqmDvmnN3cCKoPOL7Zjle6s30ZtemkkqhjVfFqGwPN7ASil5VyjE2GtyU/yqYY6mC0A==}
dependencies:
- '@types/lodash': 4.14.192
+ '@types/lodash': 4.14.200
dev: false
/@types/lodash.defaultsdeep@4.6.9:
@@ -3492,6 +3492,7 @@ packages:
/@types/lodash@4.14.192:
resolution: {integrity: sha512-km+Vyn3BYm5ytMO13k9KTp27O75rbQ0NFw+U//g+PX7VZyjCioXaRFisqSIJRECljcTv73G3i6BpglNGHgUQ5A==}
+ dev: true
/@types/lodash@4.14.200:
resolution: {integrity: sha512-YI/M/4HRImtNf3pJgbF+W6FrXovqj+T+/HpENLTooK9PnkacBsDpeP3IpHab40CClUfhNmdM2WTNP2sa2dni5Q==}
@@ -11684,7 +11685,6 @@ packages:
/yamljs@0.3.0:
resolution: {integrity: sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==}
- hasBin: true
dependencies:
argparse: 1.0.10
glob: 7.2.3
diff --git a/src/tools/hex-file-converter/hex-file-converter.vue b/src/tools/hex-file-converter/hex-file-converter.vue
new file mode 100644
index 00000000..1b91e4cb
--- /dev/null
+++ b/src/tools/hex-file-converter/hex-file-converter.vue
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Download file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Copy
+
+
+
+
+
+
diff --git a/src/tools/hex-file-converter/index.ts b/src/tools/hex-file-converter/index.ts
new file mode 100644
index 00000000..885c386e
--- /dev/null
+++ b/src/tools/hex-file-converter/index.ts
@@ -0,0 +1,12 @@
+import { FileDigit } from '@vicons/tabler';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'HEX File Converter',
+ path: '/hex-file-converter',
+ description: 'Convert between file and hexadecimal representation',
+ keywords: ['hex', 'file', 'converter'],
+ component: () => import('./hex-file-converter.vue'),
+ icon: FileDigit,
+ createdAt: new Date('2024-08-15'),
+});
diff --git a/src/tools/index.ts b/src/tools/index.ts
index d3b7bc42..445be7b5 100644
--- a/src/tools/index.ts
+++ b/src/tools/index.ts
@@ -10,6 +10,7 @@ import { tool as currencyConverter } from './currency-converter';
import { tool as emailParser } from './email-parser';
import { tool as outlookParser } from './outlook-parser';
import { tool as fileHasher } from './file-hasher';
+import { tool as hexFileConverter } from './hex-file-converter';
import { tool as cssXpathConverter } from './css-xpath-converter';
import { tool as cssSelectorsMemo } from './css-selectors-memo';
@@ -144,6 +145,7 @@ export const toolsByCategory: ToolCategory[] = [
romanNumeralConverter,
base64StringConverter,
base64FileConverter,
+ hexFileConverter,
colorConverter,
caseConverter,
textToNatoAlphabet,
diff --git a/vite.config.ts b/vite.config.ts
index d9417c30..280fb659 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -16,11 +16,7 @@ import { VitePWA } from 'vite-plugin-pwa';
import markdown from 'vite-plugin-vue-markdown';
import svgLoader from 'vite-svg-loader';
import { configDefaults } from 'vitest/config';
-<<<<<<< HEAD
import topLevelAwait from "vite-plugin-top-level-await";
-=======
-import { nodePolyfills } from 'vite-plugin-node-polyfills';
->>>>>>> feat/email-parser
const baseUrl = process.env.BASE_URL ?? '/';
@@ -104,15 +100,12 @@ export default defineConfig({
}),
Unocss(),
nodePolyfills(),
-<<<<<<< HEAD
topLevelAwait({
// The export name of top-level await promise for each chunk module
promiseExportName: '__tla',
// The function to generate import names of top-level await promise in each chunk module
promiseImportName: i => `__tla_${i}`,
}),
-=======
->>>>>>> feat/email-parser
],
base: baseUrl,
resolve: {