Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump axios from 1.3.5 to 1.6.1 #133

Merged
merged 6 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ jobs:
expected: "Parmaq"
api_key: "N_A" # pragma: allowlist secret
steps:
- uses: actions/checkout@v4
- uses: ./
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Translate (${{ matrix.provider }}, ${{ matrix.lang }})
uses: ./
id: result
with:
provider: ${{ matrix.provider }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
container:
image: ghcr.io/fabasoad/pre-commit-container:latest
steps:
- uses: actions/checkout@v4
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update git config
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changelog
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,19 @@ jobs:
matrix:
language: ['javascript']
steps:
- name: Checkout repository
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
yarn-audit:
name: Yarn audit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Yarn audit
run: yarn npm audit --all
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Run Label Syncer
uses: micnncim/action-label-syncer@v1
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Cache yarn dependencies
id: yarn-cache
uses: actions/cache@v3
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/update-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3
- name: Update LICENSE file
uses: FantasticFiasco/action-update-license-year@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
assignees: ${{ github.repository_owner }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
hooks:
- id: gitleaks
- repo: https://github.com/fabasoad/pre-commit-snyk
rev: v0.4.0
rev: v0.5.0
hooks:
- id: snyk-test
stages: ["push"]
Expand All @@ -56,7 +56,7 @@ repos:
stages: ["commit"]
# Yaml
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
rev: v1.33.0
hooks:
- id: yamllint
stages: ["push"]
Expand Down
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,24 @@
"homepage": "https://github.com/fabasoad/translation-action#readme",
"dependencies": {
"@actions/core": "1.10.1",
"deepl-node": "1.10.2",
"deepl-node": "1.11.0",
"google-translate-api-x": "10.6.7",
"node-fetch": "2.6.12",
"node-fetch": "2.7.0",
"typed-rest-client": "1.8.11"
},
"devDependencies": {
"@types/jest": "29.5.6",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"@types/jest": "29.5.8",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"@vercel/ncc": "0.38.1",
"dotenv": "16.3.1",
"eslint": "8.52.0",
"eslint": "8.53.0",
"eslint-config-google": "0.14.0",
"jest": "29.7.0",
"jest-circus": "29.7.0",
"mocha-param": "2.0.1",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
},
"packageManager": "yarn@3.6.4"
"packageManager": "yarn@4.0.2"
}
2 changes: 1 addition & 1 deletion src/providers/MicrosoftProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export default class MicrosoftProvider extends ProviderBase {
},
method: 'POST',
data: { Text: text }
}).then((resp) => resp[0].translations.map((t) => t.text))
}).then((resp) => resp[0].translations.map(({ text }) => text))
}
}
Loading
Loading