Skip to content

Commit

Permalink
chore(deps): update all dependencies (#787)
Browse files Browse the repository at this point in the history
* chore(deps): update all dependencies

* chore: fix the tests and lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Germain Bergeron <[email protected]>
  • Loading branch information
renovate[bot] and GermainBergeron authored Sep 13, 2024
1 parent 26ca58e commit 1d75a22
Show file tree
Hide file tree
Showing 16 changed files with 438 additions and 420 deletions.
8 changes: 4 additions & 4 deletions .github/actions/merge-commit/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check merge commit
description: Ensure that the merge commit message is conventional
runs:
using: composite
steps:
- run: npx commitlint --last --verbose
shell: bash
using: composite
steps:
- run: npx commitlint --last --verbose
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Install Node & NPM dependencies'
runs:
using: composite
steps:
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
environment: Release
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- name: Setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: CI
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup
uses: ./.github/actions/setup
- name: Check lockfiles
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@8214744c546c1e5c8f03dde8fab3a7353211988d # v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -88,7 +88,7 @@ jobs:
exit 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@8214744c546c1e5c8f03dde8fab3a7353211988d # v3
with:
category: '/language:${{matrix.language}}'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/renovate-config-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
renovate-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
cache: 'npm'
node-version-file: '.nvmrc'
Expand Down
7 changes: 3 additions & 4 deletions jest.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const unmockedDependencies = ['query-string-esm', 'decode-uri-component', 'split-on-first', 'filter-obj'];
const unmockedDependencies = ['decode-uri-component', 'split-on-first', 'filter-obj'];

// /*
// * For a detailed explanation regarding each configuration property, visit:
Expand All @@ -19,11 +19,10 @@ export default {
preset: 'ts-jest/presets/default-esm',
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
'^#query-string': 'query-string-esm',
'^#query-string': 'query-string-cjs',
},
globals: {'ts-jest': {tsconfig: '<rootDir>/../tsconfig.test.json', useESM: true}},
transform: {
'^.+\\.[tj]s$': ['ts-jest'],
'^.+\\.[tj]s$': ['ts-jest', {tsconfig: '<rootDir>/../tsconfig.test.json', useESM: true}],
},
clearMocks: true,
collectCoverage: true,
Expand Down
4 changes: 2 additions & 2 deletions jest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import fetchMock from 'jest-fetch-mock';
fetchMock.enableFetchMocks();
import {enableFetchMocks} from 'jest-fetch-mock';
enableFetchMocks();
Loading

0 comments on commit 1d75a22

Please sign in to comment.