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

[js] Update all Yarn dependencies (2024-12-11) #3514

Merged
merged 3 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable max-len */
import * as DOMPurify from 'dompurify'
import DOMPurify from 'dompurify'
import { Controller } from '@hotwired/stimulus'
import { castBoolean } from '../../helpers/cast_boolean'
import Sortable from 'sortablejs'
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/js/controllers/search_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Mousetrap from 'mousetrap'
import { Controller } from '@hotwired/stimulus'
import { Turbo } from '@hotwired/turbo-rails'
import { autocomplete } from '@algolia/autocomplete-js'
import { sanitize } from 'dompurify'
import DOMPurify from 'dompurify'
import URI from 'urijs'
import debouncePromise from '../helpers/debounce_promise'

Expand Down Expand Up @@ -168,7 +168,7 @@ export default class extends Controller {
)
}

const label = sanitize(item._label)
const label = DOMPurify.sanitize(item._label)

const labelChildren = [
createElement(
Expand All @@ -181,7 +181,7 @@ export default class extends Controller {
]

if (item._description) {
const description = sanitize(item._description)
const description = DOMPurify.sanitize(item._description)

labelChildren.push(
createElement(
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,30 @@
"@stimulus-components/password-visibility": "^3.0.0",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@tiptap/core": "^2.9.1",
"@tiptap/extension-bold": "^2.9.1",
"@tiptap/extension-bullet-list": "^2.9.1",
"@tiptap/extension-document": "^2.9.1",
"@tiptap/extension-hard-break": "^2.9.1",
"@tiptap/extension-italic": "^2.9.1",
"@tiptap/extension-link": "^2.9.1",
"@tiptap/extension-list-item": "^2.9.1",
"@tiptap/extension-ordered-list": "^2.9.1",
"@tiptap/extension-paragraph": "^2.9.1",
"@tiptap/extension-placeholder": "^2.9.1",
"@tiptap/extension-strike": "^2.9.1",
"@tiptap/extension-text": "^2.9.1",
"@tiptap/extension-underline": "^2.9.1",
"@tiptap/pm": "^2.9.1",
"@yaireo/tagify": "^4.31.6",
"@tiptap/core": "^2.10.3",
"@tiptap/extension-bold": "^2.10.3",
"@tiptap/extension-bullet-list": "^2.10.3",
"@tiptap/extension-document": "^2.10.3",
"@tiptap/extension-hard-break": "^2.10.3",
"@tiptap/extension-italic": "^2.10.3",
"@tiptap/extension-link": "^2.10.3",
"@tiptap/extension-list-item": "^2.10.3",
"@tiptap/extension-ordered-list": "^2.10.3",
"@tiptap/extension-paragraph": "^2.10.3",
"@tiptap/extension-placeholder": "^2.10.3",
"@tiptap/extension-strike": "^2.10.3",
"@tiptap/extension-text": "^2.10.3",
"@tiptap/extension-underline": "^2.10.3",
"@tiptap/pm": "^2.10.3",
"@yaireo/tagify": "^4.32.2",
"add": "^2.0.6",
"autoprefixer": "^10.4.20",
"chart.js": "^3.9.1",
"chartkick": "^4.2.0",
"codemirror": "5.59.1",
"core-js": "^3.39.0",
"css-loader": "^6.11.0",
"dompurify": "^3.1.7",
"dompurify": "^3.2.3",
"easymde": "^2.18.0",
"el-transition": "^0.0.7",
"esbuild": "^0.14.54",
Expand All @@ -60,25 +60,25 @@
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"file-saver": "^2.0.5",
"flatpickr": "^4.6.13",
"heroicons": "^2.1.5",
"heroicons": "^2.2.0",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"mapkick": "^0.2.6",
"mousetrap": "^1.6.5",
"postcss": "^8.4.47",
"postcss": "^8.4.49",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^15.1.0",
"postcss-loader": "^7.3.4",
"postcss-nested": "^6.2.0",
"postcss-nested-ancestors": "^3.0.0",
"postcss-preset-env": "^8.5.1",
"regenerator-runtime": "^0.13.11",
"sortablejs": "^1.15.3",
"sortablejs": "^1.15.6",
"stimulus-rails-nested-form": "^4.1.0",
"stimulus-textarea-autogrow": "^4.1.0",
"stimulus-use": "^0.50.0",
"tailwindcss": "^3.4.14",
"tailwindcss": "^3.4.16",
"tailwindcss-stimulus-components": "^3.0.4",
"tippy.js": "^6.3.7",
"trix": "^2.1.10",
Expand Down
Loading
Loading