From 7a381ee8f0f127728035f88c2da94e7e427b60d1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:42:33 +0800 Subject: [PATCH] chore(deps): update crate-ci/typos action to v1.25.0 (#6200) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [crate-ci/typos](https://redirect.github.com/crate-ci/typos) | action | minor | `v1.24.5` -> `v1.25.0` | --- ### Release Notes
crate-ci/typos (crate-ci/typos) ### [`v1.25.0`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.25.0) [Compare Source](https://redirect.github.com/crate-ci/typos/compare/v1.24.6...v1.25.0) #### \[1.25.0] - 2024-10-01 ##### Fixes - Updated the dictionary with the [September 2024](https://redirect.github.com/crate-ci/typos/issues/1107) changes ### [`v1.24.6`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.24.6) [Compare Source](https://redirect.github.com/crate-ci/typos/compare/v1.24.5...v1.24.6) #### \[1.24.6] - 2024-09-16 ##### Fixes - Respect negation (`!`) in `extend-exclude`
--- ### Configuration ๐Ÿ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). ๐Ÿšฆ **Automerge**: Enabled. โ™ป **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. ๐Ÿ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Boshen --- .github/workflows/ci.yml | 2 +- crates/oxc_linter/src/rules/eslint/no_script_url.rs | 2 +- crates/oxc_linter/src/snapshots/no_script_url.snap | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8c716495..342570852 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,7 +142,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: taiki-e/checkout-action@v1 - - uses: crate-ci/typos@v1.24.5 + - uses: crate-ci/typos@v1.25.0 with: files: . diff --git a/crates/oxc_linter/src/rules/eslint/no_script_url.rs b/crates/oxc_linter/src/rules/eslint/no_script_url.rs index edbfee0c7..29220cc6c 100644 --- a/crates/oxc_linter/src/rules/eslint/no_script_url.rs +++ b/crates/oxc_linter/src/rules/eslint/no_script_url.rs @@ -7,7 +7,7 @@ use oxc_span::Span; use crate::{context::LintContext, rule::Rule, AstNode}; fn no_script_url_diagnostic(span: Span) -> OxcDiagnostic { - OxcDiagnostic::warn("Unexpeced `javascript:` url") + OxcDiagnostic::warn("Unexpected `javascript:` url") .with_help("Execute the code directly instead.") .with_label(span) } diff --git a/crates/oxc_linter/src/snapshots/no_script_url.snap b/crates/oxc_linter/src/snapshots/no_script_url.snap index fba81b970..4376cbf7d 100644 --- a/crates/oxc_linter/src/snapshots/no_script_url.snap +++ b/crates/oxc_linter/src/snapshots/no_script_url.snap @@ -1,28 +1,28 @@ --- source: crates/oxc_linter/src/tester.rs --- - โš  eslint(no-script-url): Unexpeced `javascript:` url + โš  eslint(no-script-url): Unexpected `javascript:` url โ•ญโ”€[no_script_url.tsx:1:9] 1 โ”‚ var a = 'javascript:void(0);'; ยท โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ•ฐโ”€โ”€โ”€โ”€ help: Execute the code directly instead. - โš  eslint(no-script-url): Unexpeced `javascript:` url + โš  eslint(no-script-url): Unexpected `javascript:` url โ•ญโ”€[no_script_url.tsx:1:9] 1 โ”‚ var a = 'javascript:'; ยท โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ•ฐโ”€โ”€โ”€โ”€ help: Execute the code directly instead. - โš  eslint(no-script-url): Unexpeced `javascript:` url + โš  eslint(no-script-url): Unexpected `javascript:` url โ•ญโ”€[no_script_url.tsx:1:9] 1 โ”‚ var a = `javascript:`; ยท โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ•ฐโ”€โ”€โ”€โ”€ help: Execute the code directly instead. - โš  eslint(no-script-url): Unexpeced `javascript:` url + โš  eslint(no-script-url): Unexpected `javascript:` url โ•ญโ”€[no_script_url.tsx:1:9] 1 โ”‚ var a = `JavaScript:`; ยท โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€