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 mocha from 8.2.0 to 8.2.1 #80

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Dec 6, 2020

Snyk has created this PR to upgrade mocha from 8.2.0 to 8.2.1.

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 1 version ahead of your current version.
  • The recommended version was released a month ago, on 2020-11-02.
Release notes
Package name: mocha
  • 8.2.1 - 2020-11-02

    8.2.1 / 2020-11-02

    Fixed stuff.

    🐛 Fixes

    • #4489: Fix problematic handling of otherwise-unhandled Promise rejections and erroneous "done() called twice" errors (@ boneskull)
    • #4496: Avoid MaxListenersExceededWarning in watch mode (@ boneskull)

    Also thanks to @ akeating for a documentation fix!

  • 8.2.0 - 2020-10-16

    8.2.0 / 2020-10-16

    The major feature added in v8.2.0 is addition of support for global fixtures.

    While Mocha has always had the ability to run setup and teardown via a hook (e.g., a before() at the top level of a test file) when running tests in serial, Mocha v8.0.0 added support for parallel runs. Parallel runs are incompatible with this strategy; e.g., a top-level before() would only run for the file in which it was defined.

    With global fixtures, Mocha can now perform user-defined setup and teardown regardless of mode, and these fixtures are guaranteed to run once and only once. This holds for parallel mode, serial mode, and even "watch" mode (the teardown will run once you hit Ctrl-C, just before Mocha finally exits). Tasks such as starting and stopping servers are well-suited to global fixtures, but not sharing resources--global fixtures do not share context with your test files (but they do share context with each other).

    Here's a short example of usage:

    // fixtures.js
    

    // can be async or not
    exports.mochaGlobalSetup = async function() {
    this.server = await startSomeServer({port: process.env.TEST_PORT});
    console.log(server running on port <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">server</span><span class="pl-kos">.</span><span class="pl-c1">port</span><span class="pl-kos">}</span></span>);
    };

    exports.mochaGlobalTeardown = async function() {
    // the context (this) is shared, but not with the test files
    await this.server.stop();
    console.log(server on port <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">server</span><span class="pl-kos">.</span><span class="pl-c1">port</span><span class="pl-kos">}</span></span> stopped);
    };

    // this file can contain root hook plugins as well!
    // exports.mochaHooks = { ... }

    Fixtures are loaded with --require, e.g., mocha --require fixtures.js.

    For detailed information, please see the documentation and this handy-dandy flowchart to help understand the differences between hooks, root hook plugins, and global fixtures (and when you should use each).

    🎉 Enhancements

    For implementors of custom reporters:

    • #4409: Parallel mode and custom reporter improvements (@ boneskull):
      • Support custom worker-process-only reporters (Runner.prototype.workerReporter()); reporters should subclass ParallelBufferedReporter in mocha/lib/nodejs/reporters/parallel-buffered
      • Allow opt-in of object reference matching for "sufficiently advanced" custom reporters (Runner.prototype.linkPartialObjects()); use if strict object equality is needed when consuming Runner event data
      • Enable detection of parallel mode (Runner.prototype.isParallelMode())

    🐛 Fixes

    • #4476: Workaround for profoundly bizarre issue affecting npm v6.x causing some of Mocha's deps to be installed when mocha is present in a package's devDependencies and npm install --production is run the package's working copy (@ boneskull)
    • #4465: Worker processes guaranteed (as opposed to "very likely") to exit before Mocha does; fixes a problem when using nyc with Mocha in parallel mode (@ boneskull)
    • #4419: Restore lookupFiles() in mocha/lib/utils, which was broken/missing in Mocha v8.1.0; it now prints a deprecation warning (use const {lookupFiles} = require('mocha/lib/cli') instead) (@ boneskull)

    Thanks to @ AviVahl, @ donghoon-song, @ ValeriaVG, @ znarf, @ sujin-park, and @ majecty for other helpful contributions!

from mocha GitHub release notes
Commit messages
Package name: mocha
  • 185cada Release v8.2.1
  • bddc079 update CHANGELOG for v8.2.1
  • d2e0e83 ensure eslint runs properly on PRs
  • 27cae39 properly dispose Mocha instance in watch mode; closes #4495
  • 5c004a9 do not run CI on closed PRs
  • 8318dff update deps for some vuln which is not applicable to mocha
  • c3ced39 delegate to Node on non-Mocha unhandled rejections (#4489)
  • fac181b Correct global fixtures release version
  • 7e490aa Change assert module's deprecated methods in testing files (#4435)
  • 0165112 add node.js v15 to build matrix
  • f23035d fix v8.2.0 release date in CHANGELOG.md [ci skip]

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

ImgBotApp and others added 21 commits October 4, 2020 21:58
*Total -- 5,509.11kb -> 4,265.20kb (22.58%)

/assets/images/site/under-triangle.gif -- 1.09kb -> 0.06kb (94.6%)
/assets/images/site/under-triangle.svg -- 0.26kb -> 0.09kb (64.31%)
/content/getting-started/images/windows-downloads.png -- 512.33kb -> 186.71kb (63.56%)
/content/faq/images/zoom.png -- 9.70kb -> 4.89kb (49.6%)
/content/getting-started/images/mac-downloads.png -- 209.71kb -> 122.69kb (41.5%)
/content/using-atom/images/allow-pending-pane-items.png -- 88.98kb -> 53.12kb (40.3%)
/content/using-atom/images/find-replace-project.png -- 187.10kb -> 119.87kb (35.93%)
/content/getting-started/images/linux-downloads.png -- 186.91kb -> 120.58kb (35.49%)
/content/using-atom/images/find-replace-file.png -- 139.37kb -> 90.67kb (34.94%)
/content/hacking-atom/images/fonts-in-use.png -- 382.01kb -> 252.58kb (33.88%)
/content/upgrading-to-1-0-apis/images/spec-deps.png -- 319.26kb -> 211.35kb (33.8%)
/content/using-atom/images/portable-mode-folder.png -- 11.37kb -> 7.59kb (33.23%)
/assets/images/[email protected] -- 4.85kb -> 3.45kb (28.84%)
/content/getting-started/images/first-launch.png -- 119.63kb -> 86.29kb (27.87%)
/content/faq/images/find-and-replace-newline.png -- 15.65kb -> 11.56kb (26.15%)
/content/using-atom/images/github-without-projects.png -- 324.93kb -> 242.69kb (25.31%)
/content/faq/images/tree-view-on-right-side.gif -- 194.82kb -> 150.62kb (22.69%)
/assets/images/book/cover.png -- 35.75kb -> 27.81kb (22.2%)
/assets/images/logo-small.png -- 2.62kb -> 2.12kb (19.03%)
/content/using-atom/images/menubar.png -- 61.44kb -> 49.83kb (18.91%)
/content/hacking-atom/images/incompatible-packages-indicator.png -- 3.98kb -> 3.38kb (14.93%)
/content/using-atom/images/github-review-jump-to-file.png -- 329.06kb -> 283.06kb (13.98%)
/assets/images/gradient-sprite.png -- 1.20kb -> 1.06kb (11.65%)
/content/using-atom/images/github-review-reply.png -- 291.59kb -> 259.52kb (11%)
/content/using-atom/images/github-open-review-from-diff.png -- 345.60kb -> 312.28kb (9.64%)
/content/using-atom/images/git-status-bar.png -- 8.59kb -> 7.88kb (8.28%)
/content/using-atom/images/github-see-review-footer.png -- 136.05kb -> 126.71kb (6.86%)
/content/using-atom/images/github-review-tab.png -- 340.53kb -> 319.58kb (6.15%)
/content/using-atom/images/github-view-pull-requests.png -- 394.86kb -> 371.21kb (5.99%)
/content/using-atom/images/cursor-scope.png -- 31.66kb -> 29.86kb (5.68%)
/assets/vendor/octicons/svg/dash.svg -- 0.11kb -> 0.10kb (5.41%)
/assets/vendor/octicons/svg/primitive-square.svg -- 0.11kb -> 0.10kb (5.31%)
/assets/vendor/octicons/svg/triangle-down.svg -- 0.12kb -> 0.12kb (4.8%)
/assets/vendor/octicons/svg/triangle-up.svg -- 0.13kb -> 0.12kb (4.62%)
/assets/vendor/octicons/svg/arrow-down.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-right.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-up.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-small-up.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-small-right.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-small-left.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-small-down.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/arrow-left.svg -- 0.13kb -> 0.12kb (4.51%)
/assets/vendor/octicons/svg/zap.svg -- 0.13kb -> 0.13kb (4.44%)
/assets/vendor/octicons/svg/triangle-left.svg -- 0.13kb -> 0.13kb (4.44%)
/assets/vendor/octicons/svg/triangle-right.svg -- 0.14kb -> 0.13kb (4.29%)
/assets/vendor/octicons/svg/chevron-down.svg -- 0.14kb -> 0.13kb (4.26%)
/assets/vendor/octicons/svg/check.svg -- 0.14kb -> 0.13kb (4.26%)
/assets/vendor/octicons/svg/chevron-left.svg -- 0.14kb -> 0.13kb (4.23%)
/assets/vendor/octicons/svg/chevron-right.svg -- 0.14kb -> 0.13kb (4.2%)
/assets/vendor/octicons/svg/chevron-up.svg -- 0.14kb -> 0.13kb (4.2%)
/assets/vendor/octicons/svg/plus.svg -- 0.14kb -> 0.14kb (4.14%)
/assets/vendor/octicons/svg/three-bars.svg -- 0.16kb -> 0.16kb (3.59%)
/content/using-atom/images/panes.png -- 217.60kb -> 209.88kb (3.55%)
/assets/vendor/octicons/svg/mail-reply.svg -- 0.17kb -> 0.16kb (3.55%)
/assets/vendor/octicons/octicons/octicons.svg -- 65.13kb -> 62.90kb (3.42%)
/assets/vendor/octicons/svg/x.svg -- 0.18kb -> 0.18kb (3.23%)
/assets/vendor/octicons/svg/graph.svg -- 0.19kb -> 0.18kb (3.11%)
/assets/vendor/octicons/svg/code.svg -- 0.19kb -> 0.19kb (3.05%)
/assets/vendor/octicons/svg/color-mode.svg -- 0.20kb -> 0.20kb (2.91%)
/assets/vendor/octicons/svg/ruby.svg -- 0.21kb -> 0.20kb (2.86%)
/assets/vendor/octicons/svg/primitive-dot.svg -- 0.21kb -> 0.20kb (2.79%)
/assets/vendor/octicons/svg/star.svg -- 0.21kb -> 0.21kb (2.73%)
/assets/vendor/octicons/svg/quote.svg -- 0.22kb -> 0.21kb (2.65%)
/assets/vendor/octicons/svg/pencil.svg -- 0.22kb -> 0.22kb (2.62%)
/assets/vendor/octicons/svg/diff-removed.svg -- 0.22kb -> 0.22kb (2.62%)
/assets/vendor/octicons/svg/file-directory.svg -- 0.23kb -> 0.22kb (2.6%)
/assets/vendor/octicons/svg/comment.svg -- 0.23kb -> 0.23kb (2.52%)
/assets/vendor/octicons/svg/milestone.svg -- 0.23kb -> 0.23kb (2.52%)
/assets/vendor/octicons/svg/rss.svg -- 0.23kb -> 0.23kb (2.5%)
/assets/vendor/octicons/svg/link-external.svg -- 0.24kb -> 0.23kb (2.48%)
/assets/vendor/octicons/svg/device-camera-video.svg -- 0.24kb -> 0.23kb (2.48%)
/assets/vendor/octicons/svg/diff-ignored.svg -- 0.24kb -> 0.23kb (2.47%)
/assets/vendor/octicons/svg/pulse.svg -- 0.24kb -> 0.23kb (2.44%)
/assets/vendor/octicons/svg/list-unordered.svg -- 0.24kb -> 0.24kb (2.43%)
/assets/vendor/octicons/svg/stop.svg -- 0.24kb -> 0.24kb (2.41%)
/assets/vendor/octicons/svg/pin.svg -- 0.24kb -> 0.24kb (2.41%)
/assets/vendor/octicons/svg/diff-renamed.svg -- 0.25kb -> 0.24kb (2.38%)
/content/getting-started/images/platform-selector.png -- 10.28kb -> 10.03kb (2.38%)
/assets/vendor/octicons/svg/home.svg -- 0.25kb -> 0.24kb (2.36%)
/assets/vendor/octicons/svg/ellipsis.svg -- 0.25kb -> 0.24kb (2.34%)
/assets/vendor/octicons/svg/device-desktop.svg -- 0.25kb -> 0.25kb (2.33%)
/assets/vendor/octicons/svg/file-media.svg -- 0.25kb -> 0.25kb (2.32%)
/assets/vendor/octicons/svg/diff-added.svg -- 0.25kb -> 0.25kb (2.3%)
/assets/vendor/octicons/svg/device-mobile.svg -- 0.26kb -> 0.25kb (2.26%)
/assets/vendor/octicons/svg/plug.svg -- 0.26kb -> 0.25kb (2.26%)
/assets/vendor/octicons/svg/sign-in.svg -- 0.26kb -> 0.26kb (2.21%)
/assets/vendor/octicons/svg/git-commit.svg -- 0.27kb -> 0.26kb (2.19%)
/assets/vendor/octicons/svg/sign-out.svg -- 0.27kb -> 0.26kb (2.18%)
/assets/vendor/octicons/svg/credit-card.svg -- 0.27kb -> 0.27kb (2.14%)
/assets/vendor/octicons/svg/terminal.svg -- 0.28kb -> 0.27kb (2.11%)
/assets/vendor/octicons/svg/bell.svg -- 0.28kb -> 0.27kb (2.09%)
/assets/vendor/octicons/svg/issue-opened.svg -- 0.28kb -> 0.28kb (2.06%)
/assets/vendor/octicons/svg/bookmark.svg -- 0.29kb -> 0.28kb (2.04%)
/assets/vendor/octicons/svg/clock.svg -- 0.29kb -> 0.28kb (2.03%)
/assets/vendor/octicons/svg/mute.svg -- 0.29kb -> 0.29kb (2.01%)
/assets/vendor/octicons/svg/file-text.svg -- 0.29kb -> 0.29kb (1.99%)
/assets/vendor/octicons/svg/file-code.svg -- 0.30kb -> 0.29kb (1.98%)
/assets/vendor/octicons/svg/mail.svg -- 0.30kb -> 0.29kb (1.97%)
/assets/vendor/octicons/svg/mirror.svg -- 0.30kb -> 0.29kb (1.95%)
/assets/vendor/octicons/svg/beaker.svg -- 0.30kb -> 0.29kb (1.95%)
/assets/vendor/octicons/svg/desktop-download.svg -- 0.30kb -> 0.30kb (1.94%)
/assets/vendor/octicons/svg/gist.svg -- 0.30kb -> 0.30kb (1.94%)
/assets/vendor/octicons/svg/repo-force-push.svg -- 0.30kb -> 0.30kb (1.94%)
/assets/vendor/octicons/svg/file-symlink-file.svg -- 0.30kb -> 0.30kb (1.93%)
/assets/vendor/octicons/svg/heart.svg -- 0.30kb -> 0.30kb (1.93%)
/assets/vendor/octicons/svg/briefcase.svg -- 0.30kb -> 0.30kb (1.92%)
/assets/vendor/octicons/svg/circle-slash.svg -- 0.31kb -> 0.31kb (1.87%)
/assets/vendor/octicons/svg/browser.svg -- 0.32kb -> 0.31kb (1.86%)
/assets/vendor/octicons/svg/inbox.svg -- 0.32kb -> 0.31kb (1.84%)
/assets/vendor/octicons/svg/horizontal-rule.svg -- 0.32kb -> 0.31kb (1.83%)
/assets/vendor/octicons/svg/repo-push.svg -- 0.32kb -> 0.32kb (1.81%)
/assets/vendor/octicons/svg/search.svg -- 0.33kb -> 0.32kb (1.8%)
/assets/vendor/octicons/svg/screen-full.svg -- 0.33kb -> 0.32kb (1.8%)
/assets/vendor/octicons/svg/file-submodule.svg -- 0.33kb -> 0.32kb (1.79%)
/assets/vendor/octicons/svg/file-symlink-directory.svg -- 0.33kb -> 0.32kb (1.78%)
/assets/vendor/octicons/svg/diff.svg -- 0.33kb -> 0.32kb (1.78%)
/assets/vendor/octicons/svg/history.svg -- 0.33kb -> 0.33kb (1.75%)
/assets/vendor/octicons/svg/tag.svg -- 0.33kb -> 0.33kb (1.75%)
/assets/vendor/octicons/svg/eye.svg -- 0.34kb -> 0.33kb (1.72%)
/assets/vendor/octicons/svg/list-ordered.svg -- 0.34kb -> 0.33kb (1.72%)
/assets/vendor/octicons/svg/versions.svg -- 0.34kb -> 0.34kb (1.71%)
/assets/vendor/octicons/svg/key.svg -- 0.34kb -> 0.34kb (1.7%)
/assets/vendor/octicons/svg/repo.svg -- 0.35kb -> 0.34kb (1.68%)
/assets/vendor/octicons/svg/trashcan.svg -- 0.35kb -> 0.34kb (1.68%)
/assets/vendor/octicons/svg/location.svg -- 0.35kb -> 0.35kb (1.66%)
/assets/images/octocat-spinner-128.gif -- 11.45kb -> 11.26kb (1.66%)
/assets/vendor/octicons/svg/gist-secret.svg -- 0.36kb -> 0.35kb (1.63%)
/assets/vendor/octicons/svg/comment-discussion.svg -- 0.36kb -> 0.35kb (1.63%)
/assets/vendor/octicons/svg/flame.svg -- 0.36kb -> 0.36kb (1.62%)
/assets/vendor/octicons/svg/unfold.svg -- 0.36kb -> 0.36kb (1.61%)
/assets/vendor/octicons/svg/question.svg -- 0.36kb -> 0.36kb (1.61%)
/assets/vendor/octicons/svg/watch.svg -- 0.37kb -> 0.36kb (1.6%)
/assets/vendor/octicons/svg/gear.svg -- 0.37kb -> 0.36kb (1.6%)
/assets/vendor/octicons/svg/lock.svg -- 0.37kb -> 0.37kb (1.57%)
/assets/vendor/octicons/svg/issue-closed.svg -- 0.37kb -> 0.37kb (1.57%)
/assets/vendor/octicons/svg/fold.svg -- 0.37kb -> 0.37kb (1.57%)
/assets/vendor/octicons/svg/no-newline.svg -- 0.38kb -> 0.37kb (1.55%)
/assets/vendor/octicons/svg/person.svg -- 0.39kb -> 0.38kb (1.51%)
/assets/vendor/octicons/svg/file-binary.svg -- 0.39kb -> 0.38kb (1.5%)
/assets/vendor/octicons/svg/package.svg -- 0.39kb -> 0.39kb (1.5%)
/assets/vendor/octicons/svg/screen-normal.svg -- 0.39kb -> 0.39kb (1.5%)
/assets/vendor/octicons/svg/checklist.svg -- 0.39kb -> 0.39kb (1.49%)
/assets/vendor/octicons/svg/telescope.svg -- 0.39kb -> 0.39kb (1.49%)
/assets/vendor/octicons/svg/device-camera.svg -- 0.39kb -> 0.39kb (1.49%)
/assets/vendor/octicons/svg/info.svg -- 0.40kb -> 0.39kb (1.48%)
/assets/vendor/octicons/svg/repo-pull.svg -- 0.40kb -> 0.40kb (1.46%)
/assets/vendor/octicons/svg/alert.svg -- 0.40kb -> 0.40kb (1.45%)
/assets/vendor/octicons/svg/book.svg -- 0.41kb -> 0.41kb (1.42%)
/assets/vendor/octicons/svg/mail-read.svg -- 0.42kb -> 0.41kb (1.41%)
/assets/vendor/octicons/svg/file-zip.svg -- 0.42kb -> 0.41kb (1.41%)
/assets/vendor/octicons/svg/markdown.svg -- 0.44kb -> 0.43kb (1.35%)
/assets/vendor/octicons/svg/bug.svg -- 0.44kb -> 0.43kb (1.34%)
/assets/vendor/octicons/svg/hubot.svg -- 0.44kb -> 0.43kb (1.33%)
/assets/vendor/octicons/svg/issue-reopened.svg -- 0.44kb -> 0.44kb (1.32%)
/assets/vendor/octicons/svg/megaphone.svg -- 0.44kb -> 0.44kb (1.32%)
/assets/vendor/octicons/svg/cloud-upload.svg -- 0.45kb -> 0.44kb (1.31%)
/assets/vendor/octicons/svg/cloud-download.svg -- 0.45kb -> 0.44kb (1.31%)
/assets/vendor/octicons/svg/link.svg -- 0.45kb -> 0.45kb (1.29%)
/assets/vendor/octicons/svg/settings.svg -- 0.46kb -> 0.45kb (1.29%)
/assets/vendor/octicons/svg/mortar-board.svg -- 0.47kb -> 0.47kb (1.24%)
/assets/vendor/octicons/svg/repo-clone.svg -- 0.47kb -> 0.47kb (1.24%)
/assets/vendor/octicons/svg/dashboard.svg -- 0.48kb -> 0.47kb (1.23%)
/assets/vendor/octicons/svg/rocket.svg -- 0.48kb -> 0.47kb (1.22%)
/assets/vendor/octicons/svg/light-bulb.svg -- 0.48kb -> 0.48kb (1.21%)
/assets/vendor/octicons/svg/unmute.svg -- 0.49kb -> 0.48kb (1.21%)
/assets/vendor/octicons/svg/clippy.svg -- 0.51kb -> 0.50kb (1.16%)
/assets/vendor/octicons/svg/law.svg -- 0.53kb -> 0.52kb (1.11%)
/assets/vendor/octicons/svg/repo-forked.svg -- 0.55kb -> 0.54kb (1.06%)
/assets/vendor/octicons/svg/git-merge.svg -- 0.58kb -> 0.57kb (1.01%)
/assets/vendor/octicons/svg/git-compare.svg -- 0.61kb -> 0.60kb (0.96%)
/assets/vendor/octicons/svg/sync.svg -- 0.61kb -> 0.61kb (0.95%)
/assets/vendor/octicons/svg/git-branch.svg -- 0.62kb -> 0.61kb (0.95%)
/assets/vendor/octicons/svg/circuit-board.svg -- 0.62kb -> 0.62kb (0.94%)
/assets/vendor/octicons/svg/jersey.svg -- 0.63kb -> 0.63kb (0.93%)
/assets/vendor/octicons/svg/git-pull-request.svg -- 0.64kb -> 0.63kb (0.91%)
/assets/vendor/octicons/svg/server.svg -- 0.65kb -> 0.64kb (0.9%)
/assets/vendor/octicons/svg/keyboard.svg -- 0.66kb -> 0.65kb (0.89%)
/assets/vendor/octicons/svg/broadcast.svg -- 0.67kb -> 0.66kb (0.88%)
/assets/vendor/octicons/svg/gift.svg -- 0.69kb -> 0.68kb (0.85%)
/assets/vendor/octicons/svg/thumbsdown.svg -- 0.70kb -> 0.69kb (0.84%)
/assets/vendor/octicons/svg/thumbsup.svg -- 0.70kb -> 0.70kb (0.84%)
/assets/vendor/octicons/svg/calendar.svg -- 0.73kb -> 0.73kb (0.8%)
/assets/vendor/octicons/svg/file-pdf.svg -- 0.74kb -> 0.73kb (0.79%)
/assets/vendor/octicons/svg/squirrel.svg -- 0.78kb -> 0.77kb (0.75%)
/assets/vendor/octicons/svg/organization.svg -- 0.89kb -> 0.88kb (0.66%)
/assets/vendor/octicons/svg/tools.svg -- 0.90kb -> 0.90kb (0.65%)
/assets/vendor/octicons/svg/database.svg -- 0.93kb -> 0.92kb (0.63%)
/assets/vendor/octicons/svg/paintcan.svg -- 0.95kb -> 0.94kb (0.62%)
/assets/vendor/octicons/svg/octoface.svg -- 1.06kb -> 1.06kb (0.55%)
/assets/vendor/octicons/svg/mark-github.svg -- 1.07kb -> 1.06kb (0.55%)
/assets/vendor/octicons/svg/mention.svg -- 1.13kb -> 1.12kb (0.52%)
/content/using-atom/images/git-message.gif -- 33.98kb -> 33.84kb (0.41%)
/content/using-atom/images/git-status.gif -- 122.13kb -> 121.73kb (0.33%)
/assets/vendor/octicons/svg/radio-tower.svg -- 2.18kb -> 2.18kb (0.27%)
/assets/vendor/octicons/svg/globe.svg -- 2.37kb -> 2.36kb (0.25%)
/content/using-atom/images/multiple-cursors.gif -- 106.33kb -> 106.14kb (0.18%)
/assets/vendor/octicons/svg/logo-github.svg -- 3.44kb -> 3.43kb (0.17%)
/content/using-atom/images/git-checkout-head.gif -- 170.16kb -> 170.08kb (0.05%)
/content/behind-atom/images/markup.png -- 15.77kb -> 15.77kb (0.04%)

Signed-off-by: ImgBotApp <[email protected]>
…9cd12a0fbf

[Snyk] Security upgrade mocha from 1.5.0 to 6.0.0
…331215c611

[Snyk] Security upgrade mocha from 6.0.0 to 8.2.0
…a5724535a1

[Snyk] Security upgrade uglify-js from 2.4.13 to 2.6.0
[pull] master from atom:master
…05a7de26faa

[Snyk] Security upgrade gulp-coffee from 2.3.5 to 3.0.3
[pull] master from atom:master
[ImgBot] Optimize images
…87478c4dddf7b5

[Snyk] Upgrade uglify-js from 2.6.0 to 2.8.29
…58167fd67c96e9

[Snyk] Upgrade js-yaml from 3.10.0 to 3.14.0
…ass-4.1.0

Bump gulp-sass from 2.3.2 to 4.1.0
@guardrails
Copy link

guardrails bot commented Dec 6, 2020

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

Hard-Coded Secrets (100)

"commit": "4dec426aa2a6cbabb1b064319ba7c272d594a688"

"commit": "e43a42160817270ff45d4ac3a75ff93658fae700"

"email_hash": "a4aec9f48b0281995da5b2223b3ac213"

"email_hash": "25601fc3740f83926598cc89dc604e5f"

"email_hash": "2a06a2827b2baa70da6c7ac35acfcb5e"

"email_hash": "28f14a601696f114e84c5be712032c73"

"email_hash": "4590affff8ab7bda7cbc2a3d766f02bd"

"email_hash": "b2bd81c28bcafeea19ac72e554859ec0"

"email_hash": "d5c948086776fc91b4c7abff56bb7672"

"email_hash": "1ce4f00aae1dbed39c2899dbd85e4169"

"email_hash": "dcc375d4184c9ce18bedc0db1391cb2f"

"email_hash": "bc2da610ac397822eeb3405b7718a9d9"

"email_hash": "15116221263b5450dd8abff3cc7a8ea9"

"email_hash": "90d33a04aa3d2ba5230831650d449714"

"email_hash": "5698d4707354e0b9e4ba6f22a0be84d8"

"email_hash": "acd22ce8d834f8548c4200bec5fe6c40"

"email_hash": "45e2bb34105769aaae7dbf841b37da84"

"email_hash": "7c269209b6935ebf04de6171e6da80a5"

"email_hash": "86e6ff8f75f9daef42d53b7f8002fd95"

"email_hash": "b12346cb9e2e217ae6741e6af3ee6852"

"email_hash": "586ed1e5c3543cf7c304861c1240efdf"

"email_hash": "5f8a354d18429fa4d502de0b18ddaa5b"

"email_hash": "3e412d974a909f07ac9382b2d46cdf80"

"email_hash": "5de923d527dc4cd4cacbafb74d4c5d18"

"email_hash": "e30b781f0306f0b46f32b17733b8398d"

"email_hash": "a2fe3b7599ef15af835ce803d5244f8e"

"email_hash": "23a8b77e957cf10622f9039e4f3a954d"

"email_hash": "2b8b22a4feb9a73e64bd1a51287ef20f"

"email_hash": "1d1af4fce4b64ececdfc88b33881bbc9"

"email_hash": "9e16629a5e67bf6bed7b1b519bceafa1"

"email_hash": "9d0f36cf7c4c77a62626ef9df43b79a7"

"email_hash": "fdbc495cc9b5f7a789650b3ae4592bc4"

"email_hash": "cba0529762ef11ebc58637b537a42acd"

"email_hash": "e6f67177880fb558b629820b882b159b"

"email_hash": "26415c14e002ed031a23225efdebc7c7"

"email_hash": "5422e34c270c77415bbcc6ed93544b3d"

"email_hash": "4e774187456a5953a4cf97f60344ec26"

"email_hash": "29de018a3ee44a96503802c7516d7660"

"email_hash": "be5ae20541e29f445166885a87a81d35"

"email_hash": "818df74dc3bb3fd1d8a1848e238b53d6"

"email_hash": "9409cb9468f20f7b03a6515bdf5ff81c"

"email_hash": "031c656239e481086f37717b07b17522"

"email_hash": "e58f134cbdd998fd90d6951043fbf274"

"email_hash": "3e365666b8b4473179ab1cdc05c0ec36"

"email_hash": "228384247e084ecfab05558229195aba"

"email_hash": "18018fe3a71122bc0648943d6892ffb3"

"email_hash": "a26652004f1b6ed7f5764189ce722823"

"email_hash": "7fb8e97ca4d0322cdad566c81437e38a"

"email_hash": "9209ea2a036a546d315da5600f0025b9"

"email_hash": "80fe3a01e22a86fa6c652ee7d75d5b31"

"email_hash": "288e49ea9ee1aa8516598465d9473033"

"email_hash": "67ebeef7b7b8d5533f5caf77074c62b8"

"email_hash": "02c4213274d414cb8da4f34108f355db"

"email_hash": "90611479ceffc2da2d62d5f6134a5565"

"email_hash": "e7334b63d88530e1cdcb1eac6fced20f"

"email_hash": "8d618d6102a868921c256b2d798aae45"

"email_hash": "c4b17df9c9b2f33a96eb84f92054f708"

"email_hash": "1cf6e58dae064fc449e6840ffdb90306"

"email_hash": "50ff6dd1fd1fb4c7fd0a2cee3be9ff0a"

"email_hash": "5faba9a6598ed24d2f1ff4eaaac0cfe8"

"email_hash": "a9db2cbc6d4e589aec2d25f67771b85e"

"email_hash": "1f396684d672cf556c9e1532c1e0af0a"

"email_hash": "1a033f15f829f9d5b590a40dccc66559"

"email_hash": "e4a1f83ad5fb19e0cfef8d818c4a02c6"

"email_hash": "7cc5677dd2e2f4d1cc7b86c52d053ae8"

"email_hash": "31cbea1bc9ec690e95a60826eb6328a5"

"email_hash": "07647a7ad89294eb2527e03afb5e450a"

"email_hash": "61848af6a10034cf09426b843e01efc3"

"email_hash": "04361eba6e039eecdd3458e2545f03e6"

"email_hash": "3939a271af7fae22f6400b61c0d14c73"

"email_hash": "72bfcaf32b3480f5cecb438684cabb92"

"email_hash": "be926689bf46ab9f3b0331cc985c469b"

"email_hash": "cb35faaf6bb76341164d7568101e394c"

"email_hash": "8d7165905cf94796ea496370004f8520"

"email_hash": "cd867e89325fe74445707fb6b4364be8"

"email_hash": "31975d063f893b2551f6f7d5ed6bfa8e"

"email_hash": "e4a035242c5843420c0c1bf20daddb97"

"email_hash": "76706ad194800ea2645a109190baa5a4"

"email_hash": "d4f2c42b9bf234c7c5e5c6af0fb373a3"

"email_hash": "56ad21e0912e6810378c035c51dcc46e"

"email_hash": "3dadeb26ed5bb578fc0385a8def93699"

"email_hash": "9239a13c2e8049a26f32fe3d4367b58c"

"email_hash": "aeca5f30afc60a8429e24b9b42f8c9df"

"email_hash": "cdee7bd13ac26fdbb617a4b74170c53c"

"email_hash": "2596022781bb27a84583b7454954ee96"

"email_hash": "db83131e229b650a3a474923cb163211"

"email_hash": "59ee510a7de8f4c199ff6c44c02274bb"

"email_hash": "67db701d6a4e067c6aeeca5dec7a82ef"

"email_hash": "88c6371f6a47841abde4c60dd8a2f964"

"email_hash": "00c4b6dae0d342a11e70e4982440f9e6"

"email_hash": "2d4efce7fbf59cedc35242a018b4bb59"

"email_hash": "9d848d8392fc5291a0c77f4064b7e67a"

"email_hash": "925ead45ca60d8569512e6c4ff34c841"

"email_hash": "c7720840fc9817ef936cf82e8cdb848d"

"email_hash": "d91f8193ab33d05022a8ac02b86c833d"

"email_hash": "9e4f23b0072f4f7d3e2649e3e1a2816b"

"commit": "c68b434eb438394d1b069e38ba9d582c8d1fd28f"

"commit": "15b128d80c226874339f9873916cd05f2df639ae"

@octicons-version: "b01a7f596657e53ed8582fa87efeaef4e51709c2";

$octicons-version: "b01a7f596657e53ed8582fa87efeaef4e51709c2";

More info on how to fix Hard-Coded Secrets in General.


Insecure Use of Regular Expressions (68)

rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),

rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),

rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),

rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),

rpseudo = new RegExp( pseudos ),

ridentifier = new RegExp( "^" + identifier + "$" ),

"ID": new RegExp( "^#(" + characterEncoding + ")" ),

"CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),

"TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),

"ATTR": new RegExp( "^" + attributes ),

"PSEUDO": new RegExp( "^" + pseudos ),

"CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +

"bool": new RegExp( "^(?:" + booleans + ")$", "i" ),

"needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +

runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),

rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );

rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );

(pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&

tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );

new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :

var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );

rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),

rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ),

rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),

rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),

rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ),

return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );

rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),

tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );

new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :

rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),

rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),

rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),

rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),


ridentifier = new RegExp( "^" + identifier + "$" ),

"ID": new RegExp( "^#(" + characterEncoding + ")" ),

"CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),

"TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),

"ATTR": new RegExp( "^" + attributes ),

"PSEUDO": new RegExp( "^" + pseudos ),

"CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +

"bool": new RegExp( "^(?:" + booleans + ")$", "i" ),

"needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +

runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),

rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );

rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );

(pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&

new RegExp(escapeRegExp(tags[0]) + "\\s*"),

new RegExp("\\s*" + escapeRegExp(tags[1]))

value = scanner.scanUntil(new RegExp('\\s*' + escapeRegExp('}' + tags[1])));

xdRegExp: /^((\w+)\:)?\/\/([^\/\\]+)/,

var re_mgr0 = new RegExp(mgr0);

var re_mgr1 = new RegExp(mgr1);

var re_meq1 = new RegExp(meq1);

var re_s_v = new RegExp(s_v);

var re4_1b_2 = new RegExp("^" + C + v + "[^aeiouwxy]$");

var re3_5 = new RegExp("^" + C + v + "[^aeiouwxy]$");

var re_mgr0 = new RegExp(mgr0);

var re_mgr1 = new RegExp(mgr1);

var re_meq1 = new RegExp(meq1);

var re_s_v = new RegExp(s_v);

var re4_1b_2 = new RegExp("^" + C + v + "[^aeiouwxy]$");

var re3_5 = new RegExp("^" + C + v + "[^aeiouwxy]$");

fileName = (sourceFromStacktrace( 0 ) || "" ).replace(/(:\d+)+\)?/, "").replace(/.+\//, ""),

new RegExp(escapeRegExp(tags[0]) + "\\s*"),

new RegExp("\\s*" + escapeRegExp(tags[1]))

value = scanner.scanUntil(new RegExp('\\s*' + escapeRegExp('}' + tags[1])));

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


Insecure File Management (11)

xhr.open( options.type, options.url, options.async, options.username, options.password );

xhr.open( options.type, options.url, options.async, options.username, options.password );

var file = fs.readFileSync(url, 'utf8');

page.open(url, function(status) {

if (!fs.existsSync(destDir)) fs.mkdirSync(destDir);

fs.readdirSync(srcDir).forEach((file) => {

if (!fs.existsSync(versionDestDir)) fs.mkdirSync(versionDestDir);

const docs = JSON.parse(fs.readFileSync(srcPath));

fs.writeFileSync(destPath, docsForClass);

gulp.watch([

gulp.watch([

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


Information Disclosure (3)

https://github.com/turkdevops/flight-manual.atom.io/blob/2f863452f11aebf4734ec62a0572c6f9730662bc/assets/vendor/jquery/src/intro.js#L45


console.log(' \033[90m%s \033[36m%s\033[m', req.method, req.url)

More info on how to fix Information Disclosure in Javascript.


Insecure Use of Dangerous Function (4)


const { spawn } = require('child_process');

system "git update-ref refs/heads/gh-pages #{commit}"

open(relative_name, 'w') do |f|

More info on how to fix Insecure Use of Dangerous Function in Javascript and Ruby.


Insecure Use of Crypto (6)



if (token !== void 0) out.push(token)

if (token === void 0) break

if (token !== void 0) out.push(token)

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


Vulnerable Libraries (25)

More info on how to fix Vulnerable Libraries in Javascript and Ruby.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

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.

2 participants