Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

feat(intake): implement MIME type coercion for intake email attachments (#896)

Corentin Thomassetfdd955e20c7b
diff --git a/.changeset/full-trams-unite.md b/.changeset/full-trams-unite.md
new file mode 100644
index 00000000..718ebc95
--- /dev/null
+++ b/.changeset/full-trams-unite.md
@@ -0,0 +1,5 @@
+---
+"@papra/app": patch
+---
+
+Coerce MIME type of intake email attachments when declared as `application/octet-stream` or empty, using magic bytes detection with extension-based fallback.
diff --git a/.gitignore b/.gitignore
index 88735271..5ad57319 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,4 +45,5 @@ ingestion
.eslintcache
.claude
-.opencode
\ No newline at end of file
+.opencode
+AGENTS.md
\ No newline at end of file
diff --git a/apps/papra-server/package.json b/apps/papra-server/package.json
index 146e89a0..c74963ce 100644
--- a/apps/papra-server/package.json
+++ b/apps/papra-server/package.json
@@ -66,6 +66,7 @@
"drizzle-kit": "^0.30.6",
"drizzle-orm": "^0.38.4",
"figue": "^3.1.1",
+ "file-type": "^21.3.0",
"hono": "^4.10.7",
"lodash-es": "^4.17.21",
"mime-types": "^3.0.1",
diff --git a/apps/papra-server/src/modules/ingestion-folders/ingestion-folders.services.ts b/apps/papra-server/src/modules/ingestion-folders/ingestion-folders.services.ts
index 11073fb5..99de990c 100644
--- a/apps/papra-server/src/modules/ingestion-folders/ingestion-folders.services.ts
+++ b/apps/papra-server/src/modules/ingestion-folders/ingestion-folders.services.ts
@@ -2,10 +2,10 @@ import type {
FsServices,
} from '../shared/fs/fs.services';
import { parse } from 'node:path';
-import mime from 'mime-types';
import {
createFsServices,
} from '../shared/fs/fs.services';
+import { getMimeTypeFromFileName } from '../shared/mime-types/mime-types.models';
export function getFile({
filePath,
@@ -15,9 +15,7 @@ export function getFile({
fs?: Pick<FsServices, 'createReadStream'>;
}) {
const fileStream = fs.createReadStream({ filePath });
- // lookup returns false if the mime type is not found
- const lookedUpMimeType = mime.lookup(filePath);
- const mimeType = lookedUpMimeType === false ? 'application/octet-stream' : lookedUpMimeType;
+ const mimeType = getMimeTypeFromFileName(filePath);
const { base: fileName } = parse(filePath);
diff --git a/apps/papra-server/src/modules/intake-emails/e2e/ingest-intake-emails.e2e.test.ts b/apps/papra-server/src/modules/intake-emails/e2e/ingest-intake-emails.e2e.test.ts
index 861e7b08..a2344128 100644
--- a/apps/papra-server/src/modules/intake-emails/e2e/ingest-intake-emails.e2e.test.ts
+++ b/apps/papra-server/src/modules/intake-emails/e2e/ingest-intake-emails.e2e.test.ts
@@ -1,3 +1,4 @@
+import type { Document } from '../../documents/documents.types';
import { serializeEmailForWebhook, signBody } from '@owlrelay/webhook';
import { pick } from 'lodash-es';
import { describe, expect, test } from 'vitest';
@@ -5,8 +6,8 @@ import { createInMemoryDatabase } from '../../app/database/database.test-utils';
import { createServer } from '../../app/server';
import { createTestServerDependencies } from '../../app/server.test-utils';
import { overrideConfig } from '../../config/config.test-utils';
-import { documentsTable } from '../../documents/documents.table';
import { ORGANIZATION_ROLES } from '../../organizations/organizations.constants';
+import { MIME_TYPES } from '../../shared/mime-types/mime-types.constants';
describe('intake-emails e2e', () => {
describe('ingest an intake email', () => {
@@ -109,15 +110,16 @@ describe('intake-emails e2e', () => {
test('when the ingestion is enabled and the request signature is valid, the email attachments are added to the organization', async () => {
const { db } = await createInMemoryDatabase({
- users: [{ id: 'user_1', email: '[email protected]' }],
- organizations: [{ id: 'org_1', name: 'Organization 1' }],
- organizationMembers: [{ id: 'org_member_1', organizationId: 'org_1', userId: 'user_1', role: ORGANIZATION_ROLES.OWNER }],
- intakeEmails: [{ id: 'ie_1', organizationId: 'org_1', emailAddress: '[email protected]', allowedOrigins: ['[email protected]'] }],
+ users: [{ id: 'usr_111111111111111111111111', email: '[email protected]' }],
+ organizations: [{ id: 'org_111111111111111111111111', name: 'Organization 1' }],
+ organizationMembers: [{ id: 'org_member_1', organizationId: 'org_111111111111111111111111', userId: 'usr_111111111111111111111111', role: ORGANIZATION_ROLES.OWNER }],
+ intakeEmails: [{ id: 'ie_1', organizationId: 'org_111111111111111111111111', emailAddress: '[email protected]', allowedOrigins: ['[email protected]'] }],
});
const { app } = createServer(createTestServerDependencies({
db,
config: overrideConfig({
+ env: 'test',
intakeEmails: { isEnabled: true, webhookSecret: 'super-secret' },
}),
}));
@@ -140,29 +142,120 @@ describe('intake-emails e2e', () => {
headers['X-Signature'] = signature;
- const response = await app.request('/api/intake-emails/ingest', {
+ const ingestionResponse = await app.request('/api/intake-emails/ingest', {
method: 'POST',
headers,
body: bodyArrayBuffer,
});
- expect(response.status).to.eql(202);
+ expect(ingestionResponse.status).to.eql(202);
+
+ const documentsResponse = await app.request(
+ '/api/organizations/org_111111111111111111111111/documents',
+ { method: 'GET' },
+ { loggedInUserId: 'usr_111111111111111111111111' },
+ );
- const documents = await db.select().from(documentsTable);
+ expect(documentsResponse.status).to.eql(200);
+ const { documents } = await documentsResponse.json() as { documents: Document[] };
expect(documents).to.have.length(1);
- const [document] = documents;
+ const document = documents[0]!;
expect(
pick(document, ['organizationId', 'createdBy', 'mimeType', 'originalName', 'originalSize']),
).to.eql({
- organizationId: 'org_1',
+ organizationId: 'org_111111111111111111111111',
createdBy: null,
mimeType: 'text/plain',
originalName: 'test.txt',
originalSize: 11,
});
+
+ const storedFileContentResponse = await app.request(
+ `/api/organizations/org_111111111111111111111111/documents/${document.id}/file`,
+ { method: 'GET' },
+ { loggedInUserId: 'usr_111111111111111111111111' },
+ );
+
+ expect(storedFileContentResponse.status).to.eql(200);
+ const storedFileContent = await storedFileContentResponse.text();
+
+ expect(storedFileContent).to.eql('hello world');
+ });
+
+ test('when the attachment is a PDF with an octet-stream mime type, the mime type is correctly detected and the file is stored with the correct mime type', async () => {
+ const minimalPdfBytes = new Uint8Array([0x25, 0x50, 0x44, 0x46, 0x2D, 0x31, 0x2E, 0x34]);
+
+ const { db } = await createInMemoryDatabase({
+ users: [{ id: 'usr_111111111111111111111111', email: '[email protected]' }],
+ organizations: [{ id: 'org_111111111111111111111111', name: 'Organization 1' }],
+ organizationMembers: [{ id: 'org_member_1', organizationId: 'org_111111111111111111111111', userId: 'usr_111111111111111111111111', role: ORGANIZATION_ROLES.OWNER }],
+ intakeEmails: [{ id: 'ie_1', organizationId: 'org_111111111111111111111111', emailAddress: '[email protected]', allowedOrigins: ['[email protected]'] }],
+ });
+
+ const { app } = createServer(createTestServerDependencies({
+ db,
+ config: overrideConfig({
+ env: 'test',
+ intakeEmails: { isEnabled: true, webhookSecret: 'super-secret' },
+ }),
+ }));
+
+ const { body } = serializeEmailForWebhook({ email: {
+ from: { address: '[email protected]', name: 'Foo' },
+ to: [{ address: '[email protected]', name: 'Bar' }],
+ attachments: [{ filename: 'test.pdf', mimeType: MIME_TYPES.OCTET_STREAM, content: minimalPdfBytes.buffer }],
+ } });
+ const bodyResponse = new Response(body);
+ const headers = Object.fromEntries(bodyResponse.headers.entries());
+ const bodyArrayBuffer = await bodyResponse.arrayBuffer();
+ const { signature } = await signBody({ bodyBuffer: bodyArrayBuffer, secret: 'super-secret' });
+
+ headers['X-Signature'] = signature;
+
+ const ingestionResponse = await app.request('/api/intake-emails/ingest', {
+ method: 'POST',
+ headers,
+ body: bodyArrayBuffer,
+ });
+
+ expect(ingestionResponse.status).to.eql(202);
+
+ const documentsResponse = await app.request(
+ '/api/organizations/org_111111111111111111111111/documents',
+ { method: 'GET' },
+ { loggedInUserId: 'usr_111111111111111111111111' },
+ );
+
+ expect(documentsResponse.status).to.eql(200);
+ const { documents } = await documentsResponse.json() as { documents: Document[] };
+
+ expect(documents).to.have.length(1);
+
+ const document = documents[0]!;
+
+ expect(
+ pick(document, ['organizationId', 'createdBy', 'mimeType', 'originalName', 'originalSize']),
+ ).to.eql({
+ organizationId: 'org_111111111111111111111111',
+ createdBy: null,
+ mimeType: 'application/pdf',
+ originalName: 'test.pdf',
+ originalSize: minimalPdfBytes.length,
+ });
+
+ const storedFileContentResponse = await app.request(
+ `/api/organizations/org_111111111111111111111111/documents/${document.id}/file`,
+ { method: 'GET' },
+ { loggedInUserId: 'usr_111111111111111111111111' },
+ );
+
+ expect(storedFileContentResponse.status).to.eql(200);
+ const storedFileContent = new Uint8Array(await storedFileContentResponse.arrayBuffer());
+
+ expect(storedFileContent).to.eql(minimalPdfBytes);
});
});
});
diff --git a/apps/papra-server/src/modules/intake-emails/intake-emails.usecases.ts b/apps/papra-server/src/modules/intake-emails/intake-emails.usecases.ts
index b891195b..bc6b8c80 100644
--- a/apps/papra-server/src/modules/intake-emails/intake-emails.usecases.ts
+++ b/apps/papra-server/src/modules/intake-emails/intake-emails.usecases.ts
@@ -8,6 +8,7 @@ import type { IntakeEmailUsernameServices } from './username-drivers/intake-emai
import { safely } from '@corentinth/chisels';
import { getOrganizationPlan } from '../plans/plans.usecases';
import { addLogContext, createLogger } from '../shared/logger/logger';
+import { coerceFileMimeType } from '../shared/mime-types/mime-types.usecases';
import { fileToReadableStream } from '../shared/streams/readable-stream';
import { createIntakeEmailLimitReachedError, createIntakeEmailNotFoundError } from './intake-emails.errors';
import { getIsFromAllowedOrigin } from './intake-emails.models';
@@ -114,10 +115,12 @@ export async function ingestEmailForRecipient({
}
await Promise.all(attachments.map(async (file) => {
+ const { mimeType } = await coerceFileMimeType({ file });
+
const [result, error] = await safely(createDocument({
fileStream: fileToReadableStream(file),
fileName: file.name,
- mimeType: file.type,
+ mimeType,
organizationId: intakeEmail.organizationId,
}));
diff --git a/apps/papra-server/src/modules/shared/mime-types/mime-types.constants.ts b/apps/papra-server/src/modules/shared/mime-types/mime-types.constants.ts
new file mode 100644
index 00000000..1f78f126
--- /dev/null
+++ b/apps/papra-server/src/modules/shared/mime-types/mime-types.constants.ts
@@ -0,0 +1,3 @@
+export const MIME_TYPES = {
+ OCTET_STREAM: 'application/octet-stream',
+};
diff --git a/apps/papra-server/src/modules/shared/mime-types/mime-types.models.ts b/apps/papra-server/src/modules/shared/mime-types/mime-types.models.ts
new file mode 100644
index 00000000..b75bbef4
--- /dev/null
+++ b/apps/papra-server/src/modules/shared/mime-types/mime-types.models.ts
@@ -0,0 +1,8 @@
+import mime from 'mime-types';
+import { MIME_TYPES } from './mime-types.constants';
+
+export function getMimeTypeFromFileName(fileName: string): string {
+ const mimeType = mime.lookup(fileName);
+
+ return mimeType === false ? MIME_TYPES.OCTET_STREAM : mimeType;
+}
diff --git a/apps/papra-server/src/modules/shared/mime-types/mime-types.usecases.test.ts b/apps/papra-server/src/modules/shared/mime-types/mime-types.usecases.test.ts
new file mode 100644
index 00000000..b443ee26
--- /dev/null
+++ b/apps/papra-server/src/modules/shared/mime-types/mime-types.usecases.test.ts
@@ -0,0 +1,57 @@
+import { describe, expect, test } from 'vitest';
+import { coerceFileMimeType } from './mime-types.usecases';
+
+// A PDF file starts with the %PDF magic bytes
+const minimalPdfBytes = new Uint8Array([0x25, 0x50, 0x44, 0x46, 0x2D, 0x31, 0x2E, 0x34]);
+
+describe('mime-types usecases', () => {
+ describe('coerceFileMimeType', () => {
+ test('when the file already has a specific (non-octet-stream) mime type, it is preserved as-is', async () => {
+ const file = new File(['hello'], 'document.txt', { type: 'text/plain' });
+
+ const { mimeType } = await coerceFileMimeType({ file });
+
+ expect(mimeType).to.eql('text/plain');
+ });
+
+ test('when the file has application/octet-stream, the mime type is detected from content magic bytes', async () => {
+ const file = new File([minimalPdfBytes], 'document.pdf', { type: 'application/octet-stream' });
+
+ const { mimeType } = await coerceFileMimeType({ file });
+
+ expect(mimeType).to.eql('application/pdf');
+ });
+
+ test('when the file has an empty mime type, the mime type is detected from content magic bytes', async () => {
+ const file = new File([minimalPdfBytes], 'document.pdf', { type: '' });
+
+ const { mimeType } = await coerceFileMimeType({ file });
+
+ expect(mimeType).to.eql('application/pdf');
+ });
+
+ test('when magic bytes detection fails, the mime type is inferred from the file extension', async () => {
+ const file = new File(['not-a-real-pdf'], 'report.pdf', { type: 'application/octet-stream' });
+
+ const { mimeType } = await coerceFileMimeType({ file });
+
+ expect(mimeType).to.eql('application/pdf');
+ });
+
+ test('when neither magic bytes nor extension match, application/octet-stream is returned', async () => {
+ const file = new File(['unknown content'], 'file.unknownext', { type: 'application/octet-stream' });
+
+ const { mimeType } = await coerceFileMimeType({ file });
+
+ expect(mimeType).to.eql('application/octet-stream');
+ });
+
+ test('when the file has an empty mime type and no detection matches, application/octet-stream is returned', async () => {
+ const file = new File(['unknown content'], 'file.unknownext', { type: '' });
+
+ const { mimeType } = await coerceFileMimeType({ file });
+
+ expect(mimeType).to.eql('application/octet-stream');
+ });
+ });
+});
diff --git a/apps/papra-server/src/modules/shared/mime-types/mime-types.usecases.ts b/apps/papra-server/src/modules/shared/mime-types/mime-types.usecases.ts
new file mode 100644
index 00000000..4a0d3209
--- /dev/null
+++ b/apps/papra-server/src/modules/shared/mime-types/mime-types.usecases.ts
@@ -0,0 +1,21 @@
+import { safely } from '@corentinth/chisels';
+import { fileTypeFromBlob } from 'file-type';
+import { isNilOrEmptyString } from '../utils';
+import { getMimeTypeFromFileName } from './mime-types.models';
+
+export async function coerceFileMimeType({ file }: { file: File }): Promise<{ mimeType: string }> {
+ const declaredMimeType = file.type;
+
+ if (!isNilOrEmptyString(declaredMimeType) && declaredMimeType !== 'application/octet-stream') {
+ return { mimeType: declaredMimeType };
+ }
+
+ const [detected] = await safely(fileTypeFromBlob(file));
+ if (detected) {
+ return { mimeType: detected.mime };
+ }
+
+ const extensionMimeType = getMimeTypeFromFileName(file.name);
+
+ return { mimeType: extensionMimeType };
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index eef71bf0..bd247509 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -155,7 +155,7 @@ importers:
dependencies:
'@better-auth/expo':
specifier: 'catalog:'
'@corentinth/chisels':
specifier: 'catalog:'
version: 2.1.0
@@ -439,7 +439,7 @@ importers:
version: 12.27.0
'@better-auth/expo':
specifier: 'catalog:'
'@cadence-mq/core':
specifier: ^0.2.1
version: 0.2.1
@@ -509,6 +509,9 @@ importers:
figue:
specifier: ^3.1.1
version: 3.1.1
+ file-type:
+ specifier: ^21.3.0
+ version: 21.3.0
hono:
specifier: ^4.10.7
version: 4.10.7
@@ -1883,6 +1886,9 @@ packages:
'@better-fetch/[email protected]':
resolution: {integrity: sha512-rEFOE1MYIsBmoMJtQbl32PGHHXuG2hDxvEd7rUHE0vCBoFQVSDqaVs9hkZEtHCxRoY+CljXKFCOuJ8uxqw1LcA==}
+ '@borewit/[email protected]':
+ resolution: {integrity: sha512-k7vvKPbf7J2fZ5klGRD9AeKfUvojuZIQ3BT5u7Jfv+puwXkUBUT5PVyMDfJZpy30CBDXGMgw7fguK/lpOMBvgw==}
+
'@branchlet/[email protected]':
resolution: {integrity: sha512-qEFl0VeaIfdtVxHzIGeTu1HW7rpt4haMCV81YYBoFYTJZUBb0YZ2BN3Z6L2klwQ/6XxGJO61Cm5J6RMOKkvFmA==}
engines: {node: '>=22.0.0'}
@@ -5045,6 +5051,13 @@ packages:
'@testcontainers/[email protected]':
resolution: {integrity: sha512-uDlPLfRD9sG4X4Dtc1jOAMWAcl//2ISSii/W07vP3/JPseQmSb5cd7P7pGxhqL5xdbk5vjamdaMXAGdIzYZxvg==}
+ '@tokenizer/[email protected]':
+ resolution: {integrity: sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==}
+ engines: {node: '>=18'}
+
+ '@tokenizer/[email protected]':
+ resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==}
+
'@total-typescript/[email protected]':
resolution: {integrity: sha512-cka47fVSo6lfQDIATYqb/vO1nvFfbPw7uWLayIXIhGETj0wcOOlrlkobOMDNQOFr9QOafegUPq13V2+6vtD7yg==}
@@ -7849,6 +7862,10 @@ packages:
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
engines: {node: '>=16.0.0'}
+ resolution: {integrity: sha512-8kPJMIGz1Yt/aPEwOsrR97ZyZaD1Iqm8PClb1nYFclUCkBi0Ma5IsYNQzvSFS9ib51lWyIw5mIT9rWzI/xjpzA==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==}
@@ -11217,6 +11234,10 @@ packages:
resolution: {integrity: sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==}
+ resolution: {integrity: sha512-KIy5nylvC5le1OdaaoCJ07L+8iQzJHGH6pWDuzS+d07Cu7n1MZ2x26P8ZKIWfbK02+XIL8Mp4RkWeqdUCrDMfg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-0MP/Cxx5SzeeZ10p/bZI0S6MpgD+yxAhi1BOQ34jgnMXsCq3j1t6tQnZu+KdlL7dvJTLT3g9xN8tl10TqgFMcg==}
@@ -11425,6 +11446,10 @@ packages:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
+ resolution: {integrity: sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==}
+ engines: {node: '>=14.16'}
+
resolution: {integrity: sha512-A5F0cM6+mDleacLIEUkmfpkBbnHJFV1d2rprHU2MXNk7mlxHq2zGojA+SRvQD1RoMo9gqjZPWEaKG4v1BQ48lw==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
@@ -14283,12 +14308,12 @@ snapshots:
'@bcoe/[email protected]': {}
dependencies:
'@better-auth/utils': 0.3.0
'@better-fetch/fetch': 1.1.18
'@standard-schema/spec': 1.0.0
- better-call: 1.1.5([email protected])
+ better-call: 1.1.5([email protected])
jose: 6.1.0
kysely: 0.28.8
nanostores: 1.0.1
@@ -14299,15 +14324,15 @@ snapshots:
'@better-auth/utils': 0.3.0
'@better-fetch/fetch': 1.1.18
'@standard-schema/spec': 1.0.0
- better-call: 1.1.5([email protected])
+ better-call: 1.1.5([email protected])
jose: 6.1.0
kysely: 0.28.8
nanostores: 1.0.1
zod: 4.1.12
dependencies:
'@better-fetch/fetch': 1.1.18
better-call: 1.1.5([email protected])
@@ -14341,6 +14366,8 @@ snapshots:
'@better-fetch/[email protected]': {}
+ '@borewit/[email protected]': {}
+
'@branchlet/[email protected]': {}
'@cadence-mq/[email protected]':
@@ -17863,6 +17890,15 @@ snapshots:
- bare-buffer
- supports-color
+ '@tokenizer/[email protected]':
+ dependencies:
+ debug: 4.4.3([email protected])
+ token-types: 6.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@tokenizer/[email protected]': {}
+
'@total-typescript/[email protected]': {}
'@tsconfig/[email protected]': {}
@@ -19427,7 +19463,7 @@ snapshots:
'@better-fetch/fetch': 1.1.18
'@noble/ciphers': 2.0.1
'@noble/hashes': 2.0.1
- better-call: 1.1.5([email protected])
+ better-call: 1.1.5([email protected])
defu: 6.1.4
jose: 6.1.0
kysely: 0.28.8
@@ -21547,6 +21583,15 @@ snapshots:
dependencies:
flat-cache: 4.0.1
+ dependencies:
+ '@tokenizer/inflate': 0.4.1
+ strtok3: 10.3.4
+ token-types: 6.1.2
+ uint8array-extras: 1.4.0
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
minimatch: 5.1.6
@@ -25982,6 +26027,10 @@ snapshots:
+ dependencies:
+ '@tokenizer/token': 0.3.0
+
@@ -26241,6 +26290,12 @@ snapshots:
+ dependencies:
+ '@borewit/text-codec': 0.2.1
+ '@tokenizer/token': 0.3.0
+ ieee754: 1.2.1
+
dependencies:
eslint-visitor-keys: 5.0.0