Skip to content

Commit

Permalink
Merge pull request #1677 from Fdawgs/build/deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Sep 28, 2023
2 parents 8e99fee + d2a6398 commit 2e2c7ae
Show file tree
Hide file tree
Showing 11 changed files with 2,476 additions and 768 deletions.
3,208 changes: 2,457 additions & 751 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"@commitlint/config-conventional": "^17.7.0",
"@types/jest": "^29.5.5",
"autocannon": "^7.12.0",
"esbuild": "^0.19.2",
"esbuild-plugin-glob": "^2.2.2",
"esbuild": "^0.19.4",
"esbuild-plugin-glob": "^2.2.3",
"eslint": "^8.50.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/doc-to-txt/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe("DOC-to-TXT conversion plugin", () => {
expect(response.statusCode).toBe(200);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "is missing" },
{
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/docx-to-html/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe("DOCX-to-HTML conversion plugin", () => {
expect(response.statusCode).toBe(200);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "is missing" },
{
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/html-to-txt/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe("HTML-to-TXT conversion plugin", () => {
expect(response.statusCode).toBe(200);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "is missing" },
{
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/pdf-to-html/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("PDF-to-HTML conversion plugin", () => {
]);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{
testName: "Converts PDF file to HTML",
Expand Down Expand Up @@ -124,7 +124,7 @@ describe("PDF-to-HTML conversion plugin", () => {
expect(response.statusCode).toBe(200);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "is missing" },
{
Expand Down
12 changes: 7 additions & 5 deletions src/plugins/pdf-to-txt/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe("PDF-to-TXT conversion plugin", () => {
]);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "Converts PDF file to TXT" },
{
Expand Down Expand Up @@ -83,8 +83,10 @@ describe("PDF-to-TXT conversion plugin", () => {
expect(isHtml(body)).toBe(false);
});

// OCR tests that use pdftocairo and tesseract
// TODO: use `it.concurrent.each()` once it is no longer experimental
/**
* OCR tests that use pdftocairo and tesseract
* @todo use `it.concurrent.each()` once it is no longer experimental
*/
it.each([
{
testName: "Converts PDF file to TXT using OCR",
Expand Down Expand Up @@ -174,7 +176,7 @@ describe("PDF-to-TXT conversion plugin", () => {
expect(response.statusCode).toBe(200);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "is missing" },
{
Expand Down Expand Up @@ -215,7 +217,7 @@ describe("PDF-to-TXT conversion plugin", () => {
}
);

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{
testName: "poppler.pdfToText()",
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/rtf-to-html/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("RTF-to-HTML conversion plugin", () => {
]);
});

// TODO: fix rtf-to-html plugin to include header and footer
/** @todo fix rtf-to-html plugin to include header and footer */
it.failing("Converts RTF file to HTML", async () => {
const response = await server.inject({
method: "POST",
Expand Down Expand Up @@ -110,7 +110,7 @@ describe("RTF-to-HTML conversion plugin", () => {
expect(response.statusCode).toBe(200);
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "is missing" },
{
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/tidy-css/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("Tidy-CSS plugin", () => {
await server.close();
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{
testName: "Tidies CSS in HTML",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/tidy-html/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe("Tidy-HTML plugin", () => {
await server.close();
});

// TODO: use `it.concurrent.each()` once it is no longer experimental
/** @todo use `it.concurrent.each()` once it is no longer experimental */
it.each([
{ testName: "Tidies HTML" },
{
Expand Down
2 changes: 1 addition & 1 deletion src/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ describe("Server deployment", () => {

describe("CORS", () => {
let config;
/** @type {{ [key: string]: any }} */
/** @type {{[key: string]: any}} */
let currentEnv;
/** @type {Fastify.FastifyInstance} */
let server;
Expand Down

0 comments on commit 2e2c7ae

Please sign in to comment.