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 ansi-to-html from 0.4.2 to 0.6.14 #2

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Nov 7, 2020

Snyk has created this PR to upgrade ansi-to-html from 0.4.2 to 0.6.14.

merge advice
ℹ️ 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.


  • The recommended version is 16 versions ahead of your current version.
  • The recommended version was released 9 months ago, on 2020-02-05.
Release notes
Package name: ansi-to-html
  • 0.6.14 - 2020-02-05
  • 0.6.13 - 2019-11-05
  • 0.6.12 - 2019-10-14
  • 0.6.11 - 2019-05-20
  • 0.6.10 - 2019-01-24
  • 0.6.9 - 2018-11-22
  • 0.6.8 - 2018-10-24
  • 0.6.7 - 2018-10-20
  • 0.6.6 - 2018-06-30
  • 0.6.5 - 2018-06-30
  • 0.6.4 - 2018-01-11
  • 0.6.3 - 2017-07-09
  • 0.6.2 - 2017-04-29
  • 0.6.1 - 2017-04-29
  • 0.6.0 - 2017-02-17
  • 0.5.0 - 2016-12-18
  • 0.4.2 - 2016-09-26
from ansi-to-html GitHub release notes
Commit messages
Package name: ansi-to-html

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@guardrails
Copy link

guardrails bot commented Nov 7, 2020

⚠️ We detected security issues in this pull request:
Mode: paranoid | Total findings: 26 | Considered vulnerability: 1

Insecure File Management (21)

if (!fs.existsSync(this.tempFilesDir)) {

fs.mkdirSync(this.tempFilesDir);

const file = fs.openSync(tempFilePath, 'w');

if (fs.existsSync(this.tempFilesDir)) {

const files = fs.readdirSync(this.tempFilesDir);

files.forEach(file => fs.unlinkSync(this.tempFilesDir + path.sep + file));

return fs.rmdirSync(this.tempFilesDir);

if (!fs.existsSync(this.tempFilesDir)) { fs.mkdirSync(this.tempFilesDir); }

const file = fs.openSync(tempFilePath, 'w');

if (!fs.existsSync(this.tempFilesDir)) { fs.mkdirSync(this.tempFilesDir); }

const file = fs.openSync(tempFilePath, 'w');

if (fs.existsSync(tfile)) {

if (fs.existsSync(`${editorfile}s`) ||

fs.existsSync(`${editorfile}.cfg`) ||

fs.existsSync(`${editorfile}cfg`)) {

const files = fs.readdirSync(filepath);

if (fs.statSync(name).isFile()) {

if (fs.existsSync(tfile)) return path.basename(tfile);

atom.workspace.open(path, {

cwd = fs.statSync(paths[0]).isDirectory() ? paths[0] : path.join(paths[0], '..');

if (fs.statSync(projectPath).isDirectory()) {

More info on how to fix Insecure File Management in Javascript.


Insecure Use of Regular Expressions (1)

const regex = new RegExp('((?:\\w:)?/?(?:[-\\w.]+/)*[-\\w.]+):(\\d+)(?::(\\d+))?', 'g');

More info on how to fix Insecure Use of Regular Expressions in Javascript.


Vulnerable Libraries (4)

More info on how to fix Vulnerable Libraries in Javascript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

@kadirselcuk kadirselcuk merged commit d685f4e into master Nov 30, 2020
@delete-merged-branch delete-merged-branch bot deleted the snyk-upgrade-f9da283eb09f1392be22f0e81887ede2 branch November 30, 2020 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant