clarkio / vscode-twitch-highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
https://clarkio.com
203 stars 14 forks source link

[Snyk] Security upgrade tmi.js from 1.5.0 to 1.8.0 #150

Closed clarkio closed 2 years ago

clarkio commented 2 years ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=tmi.js&from_version=1.5.0&to_version=1.8.0&pr_id=de11f787-d7b3-4162-adcd-7e9288366385&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **419/1000**
**Why?** Has a fix available, CVSS 4.1 | Insecure Defaults
[SNYK-JS-TMIJS-584986](https://snyk.io/vuln/SNYK-JS-TMIJS-584986) | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **586/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-WS-1296835](https://snyk.io/vuln/SNYK-JS-WS-1296835) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: tmi.js The new version differs by 136 commits.
  • 738eb24 Release 1.8.0
  • fae8901 eslint: padded-blocks, arrow -body-style & -parens
  • df74e5d eslint: prefer-spread, prefer-destructuring
  • 2f83015 client: sort local requires down
  • f8653c2 eslint: prefer-arrow-callback
  • f9a5b3a client: make connection.reconnect true by default
  • 36cc901 eslint: padding-line-between-statements
  • aa56928 eslint: no-var, prefer-const
  • 33c15c7 client: convert Client to class style
  • ff341d2 client: add deprecation warning to .api calls
  • c74c2bb client: _updateEmoteset no longer uses .api
  • 4793a45 timer: convert to class and remove excess methods
  • 330e02d package: update dependencies
  • 43900a9 client: add skipMembership opt to disable that CAP
  • a52bc12 eslint: curly, eqeqeq
  • f4d04b8 eslint: multiline-ternary
  • f6f97d5 eslint: quotes (switch to single)
  • 2b04b0e eslint: yoda
  • 6db8235 eslint: comma-spacing
  • 49ac584 eslint: comma-dangle
  • 4b506dd eslint: object-curly-spacing
  • 8c047ce eslint: array-bracket-spacing
  • e29621e eslint: indent
  • 487384b eslint: semicolons
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/clarkio/project/5c6a39e3-8771-46d2-8dad-0dd1c17c3989?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/clarkio/project/5c6a39e3-8771-46d2-8dad-0dd1c17c3989?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"de11f787-d7b3-4162-adcd-7e9288366385","prPublicId":"de11f787-d7b3-4162-adcd-7e9288366385","dependencies":[{"name":"tmi.js","from":"1.5.0","to":"1.8.0"}],"packageManager":"npm","projectPublicId":"5c6a39e3-8771-46d2-8dad-0dd1c17c3989","projectUrl":"https://app.snyk.io/org/clarkio/project/5c6a39e3-8771-46d2-8dad-0dd1c17c3989?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-JS-TMIJS-584986","SNYK-JS-WS-1296835"],"upgrade":["SNYK-JS-TMIJS-584986","SNYK-JS-WS-1296835"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[419,586]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io?loc=fix-pr)