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

[Snyk] Upgrade cspell from 6.31.3 to 8.12.1 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Aug 19, 2024

snyk-top-banner

Snyk has created this PR to upgrade cspell from 6.31.3 to 8.12.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 59 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: cspell
  • 8.12.1 - 2024-07-22

    Features

    feat: Support custom issue template (#5949)

    feat: Support custom issue template (#5949)

    Related to #5758

    Make it possible to use custom issue templates from the command line:

    cspell . --issue-template='{green $filename}:{yellow $row:$col} $message ({red $text}) $quickFix'

    Template

    option: --issue-template to set the template to use when reporting issues.

    The template is a string that can contain the following placeholders:

    • $filename - the file name
    • $col - the column number
    • $row - the row number
    • $text - the word that is misspelled
    • $message - the issues message: "unknown word", "word is misspelled", etc.
    • $messageColored - the issues message with color based upon the message type.
    • $uri - the URI of the file
    • $suggestions - suggestions for the misspelled word (if requested)
    • $quickFix - possible quick fixes for the misspelled word.
    • $contextFull - the full context of the misspelled word.
    • $contextLeft - the context to the left of the misspelled word.
    • $contextRight - the context to the right of the misspelled word.

    Color is supported using the following template pattern:

    • {<style[.style]> <text>} - where <style> is a style name and <text> is the text to style.
      Styles
    • bold, italic, underline, strikethrough, dim, inverse
    • black, red, green, yellow, blue, magenta, cyan, white

    Example:

    {green $filename}:{yellow $row}:{yellow $col} $message {red $text} $quickFix {dim $suggestions}


    Fixes

    refactor: remove .cjs dependency (#5956)

    refactor: remove .cjs dependency (#5956)


    fix: refactor uri to url (#5943)

    fix: refactor uri to url (#5943)

    Part of moving away from vscode-uri to the standard URL.


    fix: Use stdout and stderr to display text (#5935)

    fix: Use stdout and stderr to display text (#5935)

    1. Do not use console.log/.error/.warn to display text.
    2. Clean up the output so it doesn't use too much space.

    fix: ignore `_` in hex values (#5934)

    fix: ignore _ in hex values (#5934)


    Dictionary Updates

    fix: Workflow Bot -- Update Dictionaries (main) (#5938)

    fix: Workflow Bot -- Update Dictionaries (main) (#5938)

    Update Dictionaries (main)

    Summary

     .../Azure/azure-rest-api-specs/report.yaml         |  6 +--
     .../snapshots/RustPython/RustPython/report.yaml    |  4 +-
     .../snapshots/RustPython/RustPython/snapshot.txt   | 16 ++++---
     .../snapshots/django/django/report.yaml            |  8 ++--
     .../snapshots/django/django/snapshot.txt           |  3 +-
     .../snapshots/eslint/eslint/report.yaml            |  6 +--
     .../snapshots/eslint/eslint/snapshot.txt           |  3 +-
     .../snapshots/gitbucket/gitbucket/report.yaml      |  3 +-
     .../snapshots/gitbucket/gitbucket/snapshot.txt     |  3 +-
     .../googleapis/google-cloud-cpp/report.yaml        | 42 +++++++++----------
     .../snapshots/ktaranov/sqlserver-kit/report.yaml   |  3 +-
     .../snapshots/ktaranov/sqlserver-kit/snapshot.txt  |  3 +-
     .../microsoft/TypeScript-Website/report.yaml       |  3 +-
     .../microsoft/TypeScript-Website/snapshot.txt      |  3 +-
     .../snapshots/neovim/nvim-lspconfig/report.yaml    |  3 +-
     .../snapshots/neovim/nvim-lspconfig/snapshot.txt   |  5 +--
     .../snapshots/sveltejs/svelte/report.yaml          | 10 ++---
     .../snapshots/sveltejs/svelte/snapshot.txt         |  8 +---
     .../typescript-cheatsheets/react/report.yaml       |  9 ++--
     .../typescript-cheatsheets/react/snapshot.txt      |  9 ++--
     .../snapshots/wireapp/wire-webapp/report.yaml      |  7 ++--
     .../snapshots/wireapp/wire-webapp/snapshot.txt     |  5 +--
     packages/cspell-bundled-dicts/package.json         | 10 ++---
     .../cspell/src/app/__snapshots__/app.test.ts.snap  | 13 +++++-
     pnpm-lock.yaml                                     | 49 ++++++++++++----------
     25 files changed, 107 insertions(+), 127 deletions(-)
    

  • 8.11.0 - 2024-07-16

    Changes

    Features

    feat: speed up dictionary lookup (#5898)

    feat: speed up dictionary lookup (#5898)


    Fixes

    refactor: char index (#5926)

    refactor: char index (#5926)

    • add test
    • add perf tests
    • minor clean up.

    fix: support emojis in triev3 files (#5923)

    fix: support emojis in triev3 files (#5923)


    fix: Use UTF8 sequence to store characters in the TrieBlob (#5913)

    fix: Use UTF8 sequence to store characters in the TrieBlob (#5913)

    The TrieBlob (binary version of a Trie) was using a character index and storing the offset into the character index in each trie node.

    Using utf8 bytes instead make the format easier to understand and process. It also gets the added benefit of being sorted. Sorting was lost when the index was used.


    fix: make sure the TrieBlob is sorted. (#5909)

    fix: make sure the TrieBlob is sorted. (#5909)


    fix: search issue with Emojis (#5906)

    fix: search issue with Emojis (#5906)


    fix: performance - Improve dictionary search speed. (#5901)

    fix: performance - Improve dictionary search speed. (#5901)


    fix: Improve word lookup performance for FastTrieBlob and TrieBlob (#5888)

    fix: Improve word lookup performance for FastTrieBlob and TrieBlob (#5888)


    Dictionary Updates

    fix: Workflow Bot -- Update Dictionaries (main) (#5874)

    fix: Workflow Bot -- Update Dictionaries (main) (#5874)

    Update Dictionaries (main)

    Summary

     .../MicrosoftDocs/PowerShell-Docs/report.yaml        |  6 ++----
     .../MicrosoftDocs/PowerShell-Docs/snapshot.txt       |  4 +---
     .../snapshots/gitbucket/gitbucket/report.yaml        |  4 +---
     .../snapshots/gitbucket/gitbucket/snapshot.txt       |  4 +---
     .../googleapis/google-cloud-cpp/report.yaml          |  7 ++-----
     .../googleapis/google-cloud-cpp/snapshot.txt         |  5 +----
     .../snapshots/ktaranov/sqlserver-kit/report.yaml     |  3 +--
     .../snapshots/ktaranov/sqlserver-kit/snapshot.txt    |  3 +--
     .../snapshots/sveltejs/svelte/report.yaml            |  3 +--
     .../snapshots/sveltejs/svelte/snapshot.txt           |  3 +--
     packages/cspell-bundled-dicts/package.json           |  4 ++--
     pnpm-lock.yaml                                       | 20 ++++++++++----------
     12 files changed, 24 insertions(+), 42 deletions(-)
    

  • 8.10.4 - 2024-07-05

    Changes

    Fixes

    fix(cspell-tools): Make sure the directive is used to build dictionaries. (#5867)

    fix(cspell-tools): Make sure the directive is used to build dictionaries. (#5867)


  • 8.10.2 - 2024-07-05

    Changes

    Fixes

    fix: Correctly handle relative globs (#5864)

    fix: Correctly handle relative globs (#5864)

    fixes #5861


  • 8.10.1 - 2024-07-05

    Changes

    Fixes

    fix(cspell-tools): support adding directives (#5860)

    fix(cspell-tools): support adding directives (#5860)

    CSpell dictionary can contain directives that changes how the file is parsed. This fix is to have the cspell-tool add them to the file header.


  • 8.10.0 - 2024-07-02

    Changes

    Features

    feat: Add glob support for URLs (#5824)

    feat: Add glob support for URLs (#5824)

    It is possible to use CSpell in an environment where all the files being spell checked exist behind a virtual URL, something like: vscode-vfs://github/microsoft/vscode/extensions/csharp/README.md.

    The challenge here is to make the glob system URL aware.


    Fixes

    fix: Always set the color to white (#5826)

    fix: Always set the color to white (#5826)

    fixes #5821


    fix: Make sure case sensitive trace works as expected. (#5806)

    fix: Make sure case sensitive trace works as expected. (#5806)

    • Fix case sensitive tracing.
    • Display preferred corrections when they are available.
    image
    fix: resolve imports from ESLint plugin (#5790)

    fix: resolve imports from ESLint plugin (#5790)

    fixes #5789


    fix: `suggestWords` dict schema validation (#5786)

    fix: suggestWords dict schema validation (#5786)

    • Inline dictionaries with only suggested words did not pass validation.
    • Clean up the type docs a bit.
    • Make sure there are not any ZeroWidthSpaces in the schema.

    Dictionary Updates

    fix: Workflow Bot -- Update Dictionaries (main) (#5849)

    fix: Workflow Bot -- Update Dictionaries (main) (#5849)

    Update Dictionaries (main)

    Summary

     .../snapshots/MicrosoftDocs/PowerShell-Docs/report.yaml        |  3 +--
     .../snapshots/MicrosoftDocs/PowerShell-Docs/snapshot.txt       |  3 +--
     packages/cspell-bundled-dicts/package.json                     |  2 +-
     pnpm-lock.yaml                                                 | 10 +++++-----
     4 files changed, 8 insertions(+), 10 deletions(-)
    

    fix: Workflow Bot -- Update Dictionaries (main) (#5800)

    fix: Workflow Bot -- Update Dictionaries (main) (#5800)

    Update Dictionaries (main)

    Summary

     packages/cspell-bundled-dicts/package.json |  2 +-
     pnpm-lock.yaml                             | 10 +++++-----
     2 files changed, 6 insertions(+), 6 deletions(-)
    

    fix: Workflow Bot -- Update Dictionaries (main) (#5783)

    fix: Workflow Bot -- Update Dictionaries (main) (#5783)

    Update Dictionaries (main)

    Summary

     .../snapshots/ktaranov/sqlserver-kit/report.yaml   |  5 +++--
     .../snapshots/ktaranov/sqlserver-kit/snapshot.txt  |  3 ++-
     packages/cspell-bundled-dicts/package.json         |  6 +++---
     pnpm-lock.yaml                                     | 25 +++++++++++++---------
     4 files changed, 23 insertions(+), 16 deletions(-)
    

    Documentation

    docs: fix link to zulip logo (#5848)

    docs: fix link to zulip logo (#5848)


    docs: Remove references to OpenBase (#5807)

    docs: Remove references to OpenBase (#5807)

    See: https://www.linkedin.com/posts/liorgrossman_today-i-am-writing-to-share-that-weve-made-activity-7051208392559771648-etA3/


  • 8.9.1 - 2024-06-20

    Changes

    Fixes

    fix: Make sure binary files are not checked. (#5780)

    fix: Make sure binary files are not checked. (#5780)

    fixes #5779

    • add .mp4 to the video list
    • treat unknown file types that contain 0x00 as binary.

    Documentation

    docs: format tables in generated docs (#5776)

    docs: format tables in generated docs (#5776)


  • 8.9.0 - 2024-06-18

    Changes

    Features

    feat: Support spell checking more document types (#5741)

    feat: Support spell checking more document types (#5741)

    fixes #5740

    Checking Custom AST Nodes

    The checkScope setting is used to enable / disable checking AST Nodes. Parsers are used to generate the AST (Abstract Syntax Tree) used by ESLint to evaluate a document. Each PlugIn gets access to the AST. checkScope can be used to handle new AST node when a custom parser is added.

    rules: {
      '@ cspell/spellchecker': ['warn', { checkScope: [
        ['JSONLiteral': true],  // will match AST Nodes of type `JSONLiteral` and spell check the value.
        ['JSONProperty[key] JSONLiteral', false]  // will turn off checking the JSON Property keys.
        ['JSONProperty JSONLiteral', false]  // will turn off checking the JSON Property keys and values.
        ['JSONProperty[value] JSONLiteral', true]  // will turn on checking the JSON Property values.
        ['YAMLPair[key] YAMLScalar', true],
        ['YAMLPair[value] YAMLScalar', true],
        ['YAMLSequence YAMLScalar', true],
      ] }],
    },

    New Options

      /**
       * Scope selectors to spell check.
       * This is a list of scope selectors to spell check.
       *
       * Example:
       * ```js
       * checkScope: [
       *     ['YAMLPair[key] YAMLScalar', true],
       *     ['YAMLPair[value] YAMLScalar', true],
       *     ['YAMLSequence[entries] YAMLScalar', true],
       *     ['JSONProperty[key] JSONLiteral', true],
       *     ['JSONProperty[value] JSONLiteral', true],
       *     ['JSONArrayExpression JSONLiteral', true],
       * ],
       * ```
       *
       * To turn off checking JSON keys, use the following:
       *
       * ```js
       * checkScope: [
       *     ['JSONProperty[key] JSONLiteral', false],
       * ],
       * ```
       *
       * @ since 8.9.0
       */
      checkScope?: ScopeSelectorList;

    feat: Add library `@ cspell/url` (#5720)

    feat: Add library @ cspell/url (#5720)

    Move URL methods into a common library.


    Fixes

    fix: Workflow Bot -- Update Dictionaries (#5729)

    fix: Workflow Bot -- Update Dictionaries (#5729)


    Dictionary Updates

    fix: Workflow Bot -- Update Dictionaries (main) (#5762)

    fix: Workflow Bot -- Update Dictionaries (main) (#5762)

    Update Dictionaries (main)

    Summary

     .../SoftwareBrothers/admin-bro/report.yaml         |  7 +++---
     .../SoftwareBrothers/admin-bro/snapshot.txt        |  3 ++-
     .../apollographql/apollo-server/report.yaml        |  7 +++---
     .../apollographql/apollo-server/snapshot.txt       |  5 +++--
     .../microsoft/TypeScript-Website/report.yaml       |  3 ++-
     .../microsoft/TypeScript-Website/snapshot.txt      |  3 ++-
     .../snapshots/prettier/prettier/report.yaml        |  7 +++---
     .../snapshots/prettier/prettier/snapshot.txt       |  5 +++--
     packages/cspell-bundled-dicts/package.json         |  6 ++---
     pnpm-lock.yaml                                     | 26 +++++++++++++++-------
     10 files changed, 45 insertions(+), 27 deletions(-)
    

    fix: Workflow Bot -- Update Dictionaries (main) (#5755)

    fix: Workflow Bot -- Update Dictionaries (main) (#5755)

    Update Dictionaries (main)

    Summary

     packages/cspell-bundled-dicts/package.json | 2 +-
     pnpm-lock.yaml                             | 8 ++++----
     2 files changed, 5 insertions(+), 5 deletions(-)
    

    fix: Workflow Bot -- Update Dictionaries (main) (#5716)

    fix: Workflow Bot -- Update Dictionaries (main) (#5716)

    Update Dictionaries (main)

    Summary

     .../MartinThoma/LaTeX-examples/report.yaml         |  3 +-
     .../MartinThoma/LaTeX-examples/snapshot.txt        |  3 +-
     .../aspnetboilerplate/report.yaml                  |  3 +-
     .../aspnetboilerplate/snapshot.txt                 |  3 +-
     .../snapshots/django/django/report.yaml            |  4 +--
     .../snapshots/django/django/snapshot.txt           |  3 +-
     .../snapshots/eslint/eslint/report.yaml            |  6 ++--
     .../snapshots/eslint/eslint/snapshot.txt           |  3 +-
     .../snapshots/gitbucket/gitbucket/report.yaml      |  2 +-
     .../snapshots/gitbucket/gitbucket/snapshot.txt     |  2 +-
     .../googleapis/google-cloud-cpp/report.yaml        |  4 +--
     .../googleapis/google-cloud-cpp/snapshot.txt       |  4 +--
     .../iluwatar/java-design-patterns/report.yaml      |  6 ++--
     .../iluwatar/java-design-patterns/snapshot.txt     |  4 +--
     .../snapshots/ktaranov/sqlserver-kit/report.yaml   |  8 ++----
     .../snapshots/ktaranov/sqlserver-kit/snapshot.txt  |  6 +---
     .../microsoft/TypeScript-Website/report.yaml       |  3 +-
     .../microsoft/TypeScript-Website/snapshot.txt      |  5 ++--
     .../snapshots/php/php-src/report.yaml              |  4 +--
     .../snapshots/php/php-src/snapshot.txt             |  4 +--
     .../snapshots/sveltejs/svelte/report.yaml          |  3 +-
     .../snapshots/sveltejs/svelte/snapshot.txt         |  3 +-
     packages/cspell-bundled-dicts/package.json         |  8 +++---
     pnpm-lock.yaml                                     | 33 +++++++++++++---------
     24 files changed, 49 insertions(+), 78 deletions(-)
    

    fix: Workflow Bot -- Update Dictionaries (main) (#5711)

    fix: Workflow Bot -- Update Dictionaries (main) (#5711)

    Update Dictionaries (main)

    Summary

     .../Azure/azure-rest-api-specs/report.yaml         |  8 +--
     .../Azure/azure-rest-api-specs/snapshot.txt        |  6 +-
     .../snapshots/RustPython/RustPython/report.yaml    | 12 +---
     .../snapshots/RustPython/RustPython/snapshot.txt   | 10 +--
     .../snapshots/TheAlgorithms/Python/report.yaml     | 16 +----
     .../snapshots/TheAlgorithms/Python/snapshot.txt    | 14 +---
     .../snapshots/django/django/report.yaml            | 78 +++-------------------
     .../snapshots/django/django/snapshot.txt           | 34 +---------
     .../googleapis/google-cloud-cpp/report.yaml        | 14 ++--
     .../googleapis/google-cloud-cpp/snapshot.txt       |  6 +-
     .../snapshots/pycontribs/jira/report.yaml          |  2 +-
     .../snapshots/pycontribs/jira/snapshot.txt         |  2 +-
     .../snapshots/sveltejs/svelte/report.yaml          |  3 +-
     .../snapshots/sveltejs/svelte/snapshot.txt         |  3 +-
     packages/cspell-bundled-dicts/package.json         |  4 +-
     .../cspell/src/app/__snapshots__/app.test.ts.snap  |  6 +-
     pnpm-lock.yaml                                     | 24 +++++--
     17 files changed, 62 insertions(+), 180 deletions(-)
    

    Documentation

    docs: Extract Markdown from cspell.schema.json (#5722)

    docs: Extract Markdown from cspell.schema.json (

Snyk has created this PR to upgrade cspell from 6.31.3 to 8.12.1.

See this package in npm:
cspell

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/17fcec1f-cb06-40f1-9b58-ac968788e27d?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Aug 19, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants