From 5872c4c73a6744247886a23d62c2b2e78c849cc3 Mon Sep 17 00:00:00 2001 From: Oleg Shilov Date: Thu, 29 Aug 2024 07:44:16 +0700 Subject: [PATCH] chore: fix snyk warnings --- libs/data-access/cosmos/jest.config.ts | 2 +- libs/data-access/falconer/jest.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/data-access/cosmos/jest.config.ts b/libs/data-access/cosmos/jest.config.ts index 8736b93ca..58d98d3b7 100644 --- a/libs/data-access/cosmos/jest.config.ts +++ b/libs/data-access/cosmos/jest.config.ts @@ -4,7 +4,7 @@ import { readFileSync } from 'fs'; // Reading the SWC compilation config and remove the "exclude" // for the test files to be compiled by SWC const { exclude: _, ...swcJestConfig } = JSON.parse( - readFileSync(`${__dirname}/.swcrc`, 'utf-8'), + readFileSync(`${__dirname}/.swcrc`, 'utf8'), ); // disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves. diff --git a/libs/data-access/falconer/jest.config.ts b/libs/data-access/falconer/jest.config.ts index e46349e36..5b9cdb97f 100644 --- a/libs/data-access/falconer/jest.config.ts +++ b/libs/data-access/falconer/jest.config.ts @@ -4,7 +4,7 @@ import { readFileSync } from 'fs'; // Reading the SWC compilation config and remove the "exclude" // for the test files to be compiled by SWC const { exclude: _, ...swcJestConfig } = JSON.parse( - readFileSync(`${__dirname}/.swcrc`, 'utf-8'), + readFileSync(`${__dirname}/.swcrc`, 'utf8'), ); // disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves.