Skip to content

Commit

Permalink
chore(deps): bump ngx-highlightjs from 7.0.1 to 9.0.0 in /springwolf-…
Browse files Browse the repository at this point in the history
…ui (#210)

* chore(deps): bump ngx-highlightjs from 7.0.1 to 9.0.0 in /springwolf-ui

Bumps [ngx-highlightjs](https://github.com/murhafsousli/ngx-highlightjs) from 7.0.1 to 9.0.0.
- [Release notes](https://github.com/murhafsousli/ngx-highlightjs/releases)
- [Changelog](https://github.com/MurhafSousli/ngx-highlightjs/blob/master/CHANGELOG.md)
- [Commits](MurhafSousli/ngx-highlightjs@v7.0.1...v9.0.0)

---
updated-dependencies:
- dependency-name: ngx-highlightjs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* regression: Enable json highlighting in ui

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timon Back <timon.back@otto.de>
  • Loading branch information
dependabot[bot] and timonback authored Jun 16, 2023
1 parent ffe3145 commit 7303e4f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
11 changes: 7 additions & 4 deletions springwolf-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion springwolf-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@angular/platform-browser-dynamic": "^16.0.4",
"@angular/router": "^16.0.4",
"font-awesome": "^4.7.0",
"ngx-highlightjs": "^7.0.1",
"ngx-highlightjs": "^9.0.0",
"rxjs": "^7.8.1",
"zone.js": "^0.13.0"
},
Expand Down
5 changes: 3 additions & 2 deletions springwolf-ui/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ import {AsyncApiMapperService} from "./shared/asyncapi-mapper.service";
{
provide: HIGHLIGHT_OPTIONS,
useValue: {
languages: function () {
return { typescript: () => import('highlight.js/lib/languages/typescript') };
coreLibraryLoader: () => import('highlight.js/lib/core'),
languages: {
json: () => import('highlight.js/lib/languages/json'),
}
}
}
Expand Down

0 comments on commit 7303e4f

Please sign in to comment.