Skip to content

Commit

Permalink
DEV: Bump dependencies and fix linting (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq authored Feb 6, 2025
1 parent 51a1631 commit fca9343
Show file tree
Hide file tree
Showing 3 changed files with 746 additions and 590 deletions.
4 changes: 2 additions & 2 deletions javascripts/discourse/components/modal/ucd-warning.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { service } from "@ember/service";
import { htmlSafe } from "@ember/template";
import { escape } from "pretty-text/sanitizer";
import { emojiUnescape } from "discourse/lib/text";
import I18n from "I18n";
import { i18n } from "discourse-i18n";
import { randomizeEmojiDiversity } from "../../lib/emoji-diversity";

export default class ModalUcdWarning extends Component {
Expand All @@ -14,7 +14,7 @@ export default class ModalUcdWarning extends Component {
return htmlSafe(
[
emojiUnescape(escape(randomizeEmojiDiversity(settings.emoji_icon))),
escape(I18n.t(themePrefix("warning_modal.title"))),
escape(i18n(themePrefix("warning_modal.title"))),
].join(" ")
);
}
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "2.2.2",
"ember-template-lint": "6.0.0",
"eslint": "9.15.0",
"@discourse/lint-configs": "2.4.0",
"ember-template-lint": "6.1.0",
"eslint": "9.19.0",
"prettier": "2.8.8"
},
"engines": {
"node": ">= 18",
"node": ">= 22",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": ">= 9"
}
"pnpm": "9.x"
},
"packageManager": "pnpm@9.15.5"
}
Loading

0 comments on commit fca9343

Please sign in to comment.