sanity-io / sanity-algolia

Utilities for indexing Sanity documents in Algolia
MIT License
67 stars 16 forks source link

fix(deps): Update dependency stopword to v3 #62

Open renovate[bot] opened 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stopword ^1.0.3 -> ^3.0.0 age adoption passing confidence

Release Notes

fergiemcdowall/stopword (stopword) ### [`v3.0.1`](https://togithub.com/fergiemcdowall/stopword/releases/tag/v3.0.1): Treeshaking for `module` and `browser` [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/e1d5779089d995e6b7895ed16ca0c2477b374910...v3.0.1) package.json `module` and `browser` is now pointing to `./src/stopword.js` to make it tree shakeable. And `jsdelivr` is pointed to `./dist/stopword.umd.min.js` to not make issues for the CDN-usage. The stopword module has gotten bigger over the years, so making treeshaking possible will make it possible to reduse unnecessary loading of languages not used. Non-breaking release in most cases, but a big enough change to bump it to a new major version and there might be some corner cases that breaks. ### [`v3.0.0`](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.8...e1d5779089d995e6b7895ed16ca0c2477b374910) [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.8...e1d5779089d995e6b7895ed16ca0c2477b374910) ### [`v2.0.8`](https://togithub.com/fergiemcdowall/stopword/releases/tag/v2.0.8): Typo in Hungarian word [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/022917e55aaa16f2ccdbb6d5008a162fcc075f17...v2.0.8) amelybol -> amelyből Thanks to [@​dsdenes](https://togithub.com/dsdenes) ### [`v2.0.7`](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.6...022917e55aaa16f2ccdbb6d5008a162fcc075f17) [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.6...022917e55aaa16f2ccdbb6d5008a162fcc075f17) ### [`v2.0.6`](https://togithub.com/fergiemcdowall/stopword/releases/tag/v2.0.6): One word per line in stopword files - better diffs [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/bad1dd895e8885d8b919f5fa05728259121bc7b4...v2.0.6) - For better diff on small word-changes in existing stopword files. Minified dist-files are like before - Just as compact. - Some name changing on 3rd party license files to maybe not confuse GitHut as to which license is used for the library. ### [`v2.0.5`](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.4...bad1dd895e8885d8b919f5fa05728259121bc7b4) [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.4...bad1dd895e8885d8b919f5fa05728259121bc7b4) ### [`v2.0.4`](https://togithub.com/fergiemcdowall/stopword/releases/tag/v2.0.4): Fixing three word-numbers in porBr - Brazillian Portugese [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/b3f944337fc2143ec0f2d7a57be7d5b52f1da029...v2.0.4) Changing three numbers from Portugese to Brazillian Portugese
Number por porBr
19 Dezanove Dezenove
16 Dezasseis Dezesseis
17 Dezassete Dezessete
Thanks to [rodfeal](https://togithub.com/rodfeal) for spotting the error and the PR 🎉 ### [`v2.0.2`](https://togithub.com/fergiemcdowall/stopword/compare/c917885a7cb8ba5e8544d7d9d8976623f14f8f17...b3f944337fc2143ec0f2d7a57be7d5b52f1da029) [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/c917885a7cb8ba5e8544d7d9d8976623f14f8f17...b3f944337fc2143ec0f2d7a57be7d5b52f1da029) ### [`v2.0.1`](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.0...c917885a7cb8ba5e8544d7d9d8976623f14f8f17) [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/v2.0.0...c917885a7cb8ba5e8544d7d9d8976623f14f8f17) ### [`v2.0.0`](https://togithub.com/fergiemcdowall/stopword/releases/tag/v2.0.0): Breaking changes! Import destructuring + 3 letter language codes + lots more [Compare Source](https://togithub.com/fergiemcdowall/stopword/compare/v1.0.11...v2.0.0) **Breaking changes:** - Import destructuring (Only ESM can not use the old sw. prefix, CJS can, and UMD will work like before, if you prefer that). If you're using CJS and not defining stopword language (using default english stopword list), you should be fine. - 3-letter ISO 639-3 language codes (swapping from ISO 639-1) - This is generally done to have the possibility for more languages, and short term more specifically to fit several sami languages. **Documentation to be almost backwards compatible:** - What to do to still use ISO-639-1 codes. - What to do to still use sw.-prefix for function and variables (arrays of stopwords) **And lots more:** - 5 languages added (stopword lists): **Ukrainian**, **Lithuanian**, **Kurdish**, **Malay** and **Gujarati** (Thansk to stopwords-iso). - Using batr for building CJS, ESM and UMD + testing (StandardJS, Playwright, AvaJS and Rollup-stuff in one devDep) - UI-tests for demo (testing UMD) + ESM and CJS tests - Minified builds and all licenses (stopword + 3rd party) in one file, pointed to from minified. 62 languages in 130 kb - Numbers from 0-9 in different scripts moved to it's own "language". Numbers should be handeled by regex, like words-n-numbers can do easily, but we're keeping this as a possibility to also remove numbers 0-9. - From TravisCI to GitHub Workflow for CI - For testing new languages added, we're using words-n-numbers to extract words (and/or numbers)

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

socket-security[bot] commented 7 months ago

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
stopword 1.0.11...3.0.1 None +0/-0 1.36 MB fergie