turkdevops / sourcegraph

Universal code search (self-hosted)
https://sourcegraph.com
Other
1 stars 0 forks source link

Bump highlight.js from 9.13.1 to 10.4.1 #120

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps highlight.js from 9.13.1 to 10.4.1.

Release notes

Sourced from highlight.js's releases.

10.4.1

Security fixes:

  • (fix) Exponential backtracking fixes for: Josh Goebel
    • cpp
    • handlebars
    • gams
    • perl
    • jboss-cli
    • r
    • erlang-repl
    • powershell
    • routeros
  • (fix) Polynomial backtracking fixes for: Josh Goebel
    • asciidoc
    • reasonml
    • latex
    • kotlin
    • gcode
    • d
    • aspectj
    • moonscript
    • coffeescript/livescript
    • csharp
    • scilab
    • crystal
    • elixir
    • basic
    • ebnf
    • ruby
    • fortran/irpf90
    • livecodeserver
    • yaml
    • x86asm
    • dsconfig
    • markdown
    • ruleslanguage
    • xquery
    • sqf

Very grateful to Michael Schmidt for all the help.

10.4.0 - November 2020

A largish release with many improvements and fixes from quite a few different contributors. Enjoy!

Deprecations:

... (truncated)

Changelog

Sourced from highlight.js's changelog.

Version 10.4.1 (tentative)

Security

  • (fix) Exponential backtracking fixes for: Josh Goebel
    • cpp
    • handlebars
    • gams
    • perl
    • jboss-cli
    • r
    • erlang-repl
    • powershell
    • routeros
  • (fix) Polynomial backtracking fixes for: Josh Goebel
    • asciidoc
    • reasonml
    • latex
    • kotlin
    • gcode
    • d
    • aspectj
    • moonscript
    • coffeescript/livescript
    • csharp
    • scilab
    • crystal
    • elixir
    • basic
    • ebnf
    • ruby
    • fortran/irpf90
    • livecodeserver
    • yaml
    • x86asm
    • dsconfig
    • markdown
    • ruleslanguage
    • xquery
    • sqf

Very grateful to Michael Schmidt for all the help.

Version 10.4.0

A largish release with many improvements and fixes from quite a few different contributors. Enjoy!

... (truncated)

Commits
  • e96b915 bump 10.4.1
  • 065f65f chore(release) allow release script to handle production releases
  • 68509fc chore(docs) bump SECURITY mention to 9.18.5
  • aa0fb85 chore(docs) Version 9 has reached EOL.
  • fb0a626 enh(ci): Add tests for polynomial regex issues
  • fa46dd1 fix(reasonml) fix poly backtracking issue
  • d496052 fix(latex) fix poly backtracking issue
  • d9f1cdb fix(javascript/typescript) fix poly backtracking issue
  • fdec037 fix(asciidoc) fix poly backtracking issue
  • 02ca487 fix(kotlin) fix poly backtracking issue
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by joshgoebel, a new releaser for highlight.js since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/turkdevops/sourcegraph/network/alerts).
guardrails[bot] commented 3 years ago

:warning: We detected security issues in this pull request: Mode: paranoid | Total findings: 99 | Considered vulnerability: 0

Hard-Coded Secrets (58) https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/src/extension/manifest.spec.json#L68 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/frontend/graphqlbackend/repository_comparison.go#L21 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/frontend/graphqlbackend/repository_test.go#L16 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/frontend/graphqlbackend/saved_queries.go#L307 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/frontend/internal/pkg/handlerutil/middleware.go#L14 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/searcher/protocol/searcher.go#L20 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/searcher/search/matcher_test.go#L163 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/searcher/search/matcher_test.go#L225 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/searcher/search/zipcache_test.go#L24 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/symbols/internal/symbols/search_test.go#L30 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/symbols/internal/symbols/search_test.go#L31 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/auth-provider/config/client-saml-2.json#L19 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/auth-provider/config/client-saml-2.json#L25 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/auth-provider/config/client-saml.json#L19 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/auth-provider/config/client-saml.json#L25 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/ci/gen-pipeline.go#L40 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/url.test.ts#L169 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/url.ts#L13 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/web/src/repo/commit/RepositoryCommitPage.tsx#L275 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/web/src/search/input/CodeIntellifyBlob.tsx#L83 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/web/src/util/url.test.ts#L102 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/pkg/license/license_test.go#L32 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/cmd/frontend/auth/saml/middleware_test.go#L53 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/cmd/frontend/auth/saml/middleware_test.go#L108 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/critical.schema.json#L233 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/critical.schema.json#L236 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/critical_stringdata.go#L238 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/critical_stringdata.go#L241 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/doc/admin/site_config/all.md#L1174 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/doc/admin/site_config/all.md#L1178 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/vfsutil/github_archive_test.go#L19 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/github_test.go#L23 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/github_test.go#L27 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/github_test.go#L37 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/github_test.go#L41 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/gitlab_test.go#L21 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/gitlab_test.go#L25 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/gitlab_test.go#L35 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/pkg/conf/reposource/gitlab_test.go#L39 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/doc/admin/repo/auth.md#L18 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/gitserver/server/server_test.go#L278 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/gitserver/server/server_test.go#L279 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/gitserver/server/server_test.go#L280 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-simple.golden#L8 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-simple.golden#L28 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-simple.golden#L48 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-simple.golden#L68 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-path-pattern.golden#L8 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-path-pattern.golden#L28 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-path-pattern.golden#L48 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/test-fixtures/bitbucketserver-repos-path-pattern.golden#L68 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/repo-updater/repos/other_external_services_test.go#L23 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/cmd/frontend/internal/session/session_test.go#L256 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/auth-provider/config/client-openid-2.json#L6 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/enterprise/dev/auth-provider/config/client-openid.json#L6 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/site.schema.json#L427 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/site.schema.json#L625 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/schema/site.schema.json#L658 More info on how to fix Hard-Coded Secrets in [General](https://docs.guardrails.io/docs/en/vulnerabilities/general/hard-coded_secrets.html?utm_source=ghpr) and [Javascript](https://docs.guardrails.io/docs/en/vulnerabilities/javascript/hard-coded_secrets.html?utm_source=ghpr). ---
Insecure Use of Regular Expressions (9) https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/contrib/GH2SG.bookmarklet.js#L39 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/contrib/GH2SG.bookmarklet.js#L50 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/src/libs/github/dom_functions.ts#L169 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/src/libs/gitlab/scrape.ts#L72 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/dev/tslint/banImportsRule.ts#L60 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/linkClickHandler.ts#L24 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/strings.ts#L19 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/url.ts#L317 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/url.ts#L333 More info on how to fix Insecure Use of Regular Expressions in [Javascript](https://docs.guardrails.io/docs/en/vulnerabilities/javascript/insecure_use_of_regular_expressions.html?utm_source=ghpr) and [Typescript](https://docs.guardrails.io/docs/en/vulnerabilities/typescript/insecure_use_of_regular_expressions.html?utm_source=ghpr). ---
Insecure File Management (5) https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/scripts/build-updates-manifest.ts#L11 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/scripts/build-updates-manifest.ts#L32 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/scripts/tasks.ts#L72 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/scripts/tasks.ts#L102 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/draftV7Resolver.ts#L10 More info on how to fix Insecure File Management in [Typescript](https://docs.guardrails.io/docs/en/vulnerabilities/typescript/Insecure_file_management.html?utm_source=ghpr). ---
Insecure Use of Crypto (27) https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/client/browser/src/e2e/chrome.e2e.test.ts#L16 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/lexer.ts#L177 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/lexer.ts#L205 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/lexer.ts#L210 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/lexer.ts#L215 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/lexer.ts#L220 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/lexer.ts#L225 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L27 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L90 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L99 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L113 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L119 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L126 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L149 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L153 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L163 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L169 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L170 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L171 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L193 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L211 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L231 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L275 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/api/client/context/expr/parser.ts#L286 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/shared/src/util/url.ts#L280 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/web/src/enterprise/site-admin/sidebaritems.ts#L47 https://github.com/turkdevops/sourcegraph/blob/5f95f0f8afeb184484f5ef5de03f916438d54f3b/web/src/user/account/sidebaritems.ts#L24 More info on how to fix Insecure Use of Crypto in [Typescript](https://docs.guardrails.io/docs/en/vulnerabilities/typescript/insecure_use_of_crypto.html?utm_source=ghpr).

👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.