diff --git a/.nvmrc b/.nvmrc index 28193ca74..cab13a796 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.13.1 +v14.17.0 diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst index 6d6bbc84c..20c8374ab 100644 --- a/docs/source/configuration.rst +++ b/docs/source/configuration.rst @@ -1375,8 +1375,7 @@ If set to ``true``, then whenever Converse receives a MUC message with an autho any information (i.e. because that user is currently not in the MUC), then Converse will send out a ```` stanza of type ``probe`` in order to request the authors presence data. -Prosody has some experimental support in it's contrib branch (hopefully soon to -be merged to trunk). +Prosody has support in `trunk` for this. The point of sending out presence probes is in order to receive presence-related metadata, such as `XEP-0317 Hats `_. diff --git a/package-lock.json b/package-lock.json index 0339a11c4..7e4daea09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "bootstrap.native": "^2.0.27", "dayjs": "1.10.5", "favico.js-slevomat": "^0.3.11", - "filesize": "^6.3.0", + "filesize": "^7.0.0", "jed": "1.1.1", "lit": "^2.0.0-rc.2", "localforage": "^1.9.0", @@ -38,7 +38,7 @@ "babel-eslint": "^10.1.0", "babel-loader": "^8.2.2", "bootstrap.native-loader": "2.0.0", - "clean-css-cli": "^4.3.0", + "clean-css-cli": "^5.3.0", "copy-webpack-plugin": "^9.0.1", "css-loader": "^3.5.3", "eslint": "^7.3.0", @@ -49,13 +49,12 @@ "http-server": "^0.12.3", "imports-loader": "^0.8.0", "install": "^0.13.0", - "jasmine": "^3.7.0", "jsdoc": "^3.6.7", "karma": "^6.3.4", "karma-chrome-launcher": "^3.1.0", "karma-cli": "^2.0.0", "karma-jasmine": "^4.0.1", - "karma-jasmine-html-reporter": "^1.5.4", + "karma-jasmine-html-reporter": "^1.7.0", "karma-webpack": "^5.0.0", "lerna": "^4.0.0", "mini-css-extract-plugin": "^1.6.2", @@ -67,7 +66,7 @@ "postcss-loader": "^3.0.0", "prettierx": "^0.18.2", "run-headless-chromium": "^0.1.1", - "sass": "^1.32.12", + "sass": "^1.35.2", "sass-loader": "^11.0.1", "style-loader": "^0.23.1", "webpack": "^5.36.1", @@ -4775,9 +4774,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-8.2.1.tgz", - "integrity": "sha512-BJz6kWuL3n+y+qM8Pv+UGbSxH6wxKf/SBs5yzGufMHwDefsa+Iq7ZGy1BINMD2z9SkXlIzk1qiu988rMuGXEMg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-8.3.0.tgz", + "integrity": "sha512-ZFyQ30tNpoATI7o+Z9MWFUzUgWisB8yduhcky7S4UYsRijgIGSnwUKzPBDGzf/Xkx1DuvUtqzvmuFlDSqPJqmQ==", "dev": true }, "node_modules/@octokit/plugin-enterprise-rest": { @@ -4867,12 +4866,12 @@ } }, "node_modules/@octokit/types": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.18.1.tgz", - "integrity": "sha512-5YsddjO1U+xC8ZYKV8yZYebW55PCc7qiEEeZ+wZRr6qyclynzfyD65KZ5FdtIeP0/cANyFaD7hV69qElf1nMsQ==", + "version": "6.19.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.19.0.tgz", + "integrity": "sha512-9wdZFiJfonDyU6DjIgDHxAIn92vdSUBOwAXbO2F9rOFt6DJwuAkyGLu1CvdJPphCbPBoV9iSDMX7y4fu0v6AtA==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^8.2.1" + "@octokit/openapi-types": "^8.3.0" } }, "node_modules/@simple-dom/interface": { @@ -6898,20 +6897,50 @@ } }, "node_modules/clean-css-cli": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.3.0.tgz", - "integrity": "sha512-8GHZfr+mG3zB/Lgqrr27qHBFsPSn0fyEI3f2rIZpxPxUbn2J6A8xyyeBRVTW8duDuXigN0s80vsXiXJOEFIO5Q==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-5.3.0.tgz", + "integrity": "sha512-Jri2KVAcan/Y1JuEDo1rUlm3vUoGvMKSOpIL2YEPgalksvoGur/yL2KbtMF2dPs2VlMVj1afzp76Vu0KjxKfvA==", "dev": true, "dependencies": { - "clean-css": "^4.2.1", - "commander": "2.x", - "glob": "7.x" + "clean-css": "^5.1.2", + "commander": "7.x", + "glob": "^7.1.6" }, "bin": { "cleancss": "bin/cleancss" }, "engines": { - "node": ">= 4.0" + "node": ">= 10.12.0" + } + }, + "node_modules/clean-css-cli/node_modules/clean-css": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.3.tgz", + "integrity": "sha512-qGXzUCDpLwAlPx0kYeU4QXjzQIcIYZbJjD4FNm7NnSjoP0hYMVZhHOpUYJ6AwfkMX2cceLRq54MeCgHy/va1cA==", + "dev": true, + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 10.0" + } + }, + "node_modules/clean-css-cli/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/clean-css-cli/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, "node_modules/clean-css/node_modules/source-map": { @@ -9595,9 +9624,9 @@ } }, "node_modules/filesize": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.3.0.tgz", - "integrity": "sha512-ytx0ruGpDHKWVoiui6+BY/QMNngtDQ/pJaFwfBpQif0J63+E8DLdFyqS3NkKQn7vIruUEpoGD9JUJSg7Kp+I0g==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-7.0.0.tgz", + "integrity": "sha512-Wsstw+O1lZ9gVmOI1thyeQvODsaoId2qw14lCqIzUhoHKXX7T2hVpB7BR6SvgodMBgWccrx/y2eyV8L7tDmY6A==", "engines": { "node": ">= 0.4.0" } @@ -11956,23 +11985,10 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, - "node_modules/jasmine": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.7.0.tgz", - "integrity": "sha512-wlzGQ+cIFzMEsI+wDqmOwvnjTvolLFwlcpYLCqSPPH0prOQaW3P+IzMhHYn934l1imNvw07oCyX+vGUv3wmtSQ==", - "dev": true, - "dependencies": { - "glob": "^7.1.6", - "jasmine-core": "~3.7.0" - }, - "bin": { - "jasmine": "bin/jasmine.js" - } - }, "node_modules/jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.8.0.tgz", + "integrity": "sha512-zl0nZWDrmbCiKns0NcjkFGYkVTGCPUgoHypTaj+G2AzaWus7QGoXARSlYsSle2VRpSdfJmM+hzmFKzQNhF2kHg==", "dev": true }, "node_modules/jed": { @@ -12323,12 +12339,12 @@ } }, "node_modules/karma-jasmine-html-reporter": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.4.tgz", - "integrity": "sha512-PtilRLno5O6wH3lDihRnz0Ba8oSn0YUJqKjjux1peoYGwo0AQqrWRbdWk/RLzcGlb+onTyXAnHl6M+Hu3UxG/Q==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.7.0.tgz", + "integrity": "sha512-pzum1TL7j90DTE86eFt48/s12hqwQuiD+e5aXx2Dc9wDEn2LfGq6RoAxEZZjFiN0RDSCOnosEKRZWxbQ+iMpQQ==", "dev": true, "peerDependencies": { - "jasmine-core": ">=3.5", + "jasmine-core": ">=3.8", "karma": ">=0.9", "karma-jasmine": ">=1.1" } @@ -17433,9 +17449,9 @@ } }, "node_modules/object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -19128,7 +19144,7 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", "dev": true, "engines": { "node": ">=0.4.x" @@ -19943,9 +19959,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.32.12", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.12.tgz", - "integrity": "sha512-zmXn03k3hN0KaiVTjohgkg98C3UowhL1/VSGdj4/VAAiMKGQOE80PFPxFP2Kyq0OUskPKcY5lImkhBKEHlypJA==", + "version": "1.35.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.35.2.tgz", + "integrity": "sha512-jhO5KAR+AMxCEwIH3v+4zbB2WB0z67V1X0jbapfVwQQdjHZUGUyukpnoM6+iCMfsIUC016w9OPKQ5jrNOS9uXw==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0" @@ -23392,7 +23408,7 @@ "dependencies": { "@converse/skeletor": "0.0.5", "dayjs": "1.10.5", - "filesize": "^6.3.0", + "filesize": "^7.0.0", "localforage": "^1.9.0", "localforage-driver-memory": "^1.0.5", "localforage-setitems": "^1.4.0", @@ -24582,7 +24598,7 @@ "requires": { "@converse/skeletor": "0.0.5", "dayjs": "1.10.5", - "filesize": "^6.3.0", + "filesize": "^7.0.0", "localforage": "^1.9.0", "localforage-driver-memory": "^1.0.5", "localforage-setitems": "^1.4.0", @@ -27001,9 +27017,9 @@ } }, "@octokit/openapi-types": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-8.2.1.tgz", - "integrity": "sha512-BJz6kWuL3n+y+qM8Pv+UGbSxH6wxKf/SBs5yzGufMHwDefsa+Iq7ZGy1BINMD2z9SkXlIzk1qiu988rMuGXEMg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-8.3.0.tgz", + "integrity": "sha512-ZFyQ30tNpoATI7o+Z9MWFUzUgWisB8yduhcky7S4UYsRijgIGSnwUKzPBDGzf/Xkx1DuvUtqzvmuFlDSqPJqmQ==", "dev": true }, "@octokit/plugin-enterprise-rest": { @@ -27084,12 +27100,12 @@ } }, "@octokit/types": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.18.1.tgz", - "integrity": "sha512-5YsddjO1U+xC8ZYKV8yZYebW55PCc7qiEEeZ+wZRr6qyclynzfyD65KZ5FdtIeP0/cANyFaD7hV69qElf1nMsQ==", + "version": "6.19.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.19.0.tgz", + "integrity": "sha512-9wdZFiJfonDyU6DjIgDHxAIn92vdSUBOwAXbO2F9rOFt6DJwuAkyGLu1CvdJPphCbPBoV9iSDMX7y4fu0v6AtA==", "dev": true, "requires": { - "@octokit/openapi-types": "^8.2.1" + "@octokit/openapi-types": "^8.3.0" } }, "@simple-dom/interface": { @@ -28737,14 +28753,37 @@ } }, "clean-css-cli": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.3.0.tgz", - "integrity": "sha512-8GHZfr+mG3zB/Lgqrr27qHBFsPSn0fyEI3f2rIZpxPxUbn2J6A8xyyeBRVTW8duDuXigN0s80vsXiXJOEFIO5Q==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-5.3.0.tgz", + "integrity": "sha512-Jri2KVAcan/Y1JuEDo1rUlm3vUoGvMKSOpIL2YEPgalksvoGur/yL2KbtMF2dPs2VlMVj1afzp76Vu0KjxKfvA==", "dev": true, "requires": { - "clean-css": "^4.2.1", - "commander": "2.x", - "glob": "7.x" + "clean-css": "^5.1.2", + "commander": "7.x", + "glob": "^7.1.6" + }, + "dependencies": { + "clean-css": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.3.tgz", + "integrity": "sha512-qGXzUCDpLwAlPx0kYeU4QXjzQIcIYZbJjD4FNm7NnSjoP0hYMVZhHOpUYJ6AwfkMX2cceLRq54MeCgHy/va1cA==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + } + }, + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } } }, "clean-stack": { @@ -30839,9 +30878,9 @@ } }, "filesize": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.3.0.tgz", - "integrity": "sha512-ytx0ruGpDHKWVoiui6+BY/QMNngtDQ/pJaFwfBpQif0J63+E8DLdFyqS3NkKQn7vIruUEpoGD9JUJSg7Kp+I0g==" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-7.0.0.tgz", + "integrity": "sha512-Wsstw+O1lZ9gVmOI1thyeQvODsaoId2qw14lCqIzUhoHKXX7T2hVpB7BR6SvgodMBgWccrx/y2eyV8L7tDmY6A==" }, "fill-range": { "version": "4.0.0", @@ -32636,20 +32675,10 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, - "jasmine": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.7.0.tgz", - "integrity": "sha512-wlzGQ+cIFzMEsI+wDqmOwvnjTvolLFwlcpYLCqSPPH0prOQaW3P+IzMhHYn934l1imNvw07oCyX+vGUv3wmtSQ==", - "dev": true, - "requires": { - "glob": "^7.1.6", - "jasmine-core": "~3.7.0" - } - }, "jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.8.0.tgz", + "integrity": "sha512-zl0nZWDrmbCiKns0NcjkFGYkVTGCPUgoHypTaj+G2AzaWus7QGoXARSlYsSle2VRpSdfJmM+hzmFKzQNhF2kHg==", "dev": true }, "jed": { @@ -32987,9 +33016,9 @@ } }, "karma-jasmine-html-reporter": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.4.tgz", - "integrity": "sha512-PtilRLno5O6wH3lDihRnz0Ba8oSn0YUJqKjjux1peoYGwo0AQqrWRbdWk/RLzcGlb+onTyXAnHl6M+Hu3UxG/Q==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.7.0.tgz", + "integrity": "sha512-pzum1TL7j90DTE86eFt48/s12hqwQuiD+e5aXx2Dc9wDEn2LfGq6RoAxEZZjFiN0RDSCOnosEKRZWxbQ+iMpQQ==", "dev": true, "requires": {} }, @@ -36814,9 +36843,9 @@ } }, "object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true }, "object-is": { @@ -38743,9 +38772,9 @@ "dev": true }, "sass": { - "version": "1.32.12", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.12.tgz", - "integrity": "sha512-zmXn03k3hN0KaiVTjohgkg98C3UowhL1/VSGdj4/VAAiMKGQOE80PFPxFP2Kyq0OUskPKcY5lImkhBKEHlypJA==", + "version": "1.35.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.35.2.tgz", + "integrity": "sha512-jhO5KAR+AMxCEwIH3v+4zbB2WB0z67V1X0jbapfVwQQdjHZUGUyukpnoM6+iCMfsIUC016w9OPKQ5jrNOS9uXw==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0" diff --git a/package.json b/package.json index 954977080..633d754af 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "babel-eslint": "^10.1.0", "babel-loader": "^8.2.2", "bootstrap.native-loader": "2.0.0", - "clean-css-cli": "^4.3.0", + "clean-css-cli": "^5.3.0", "copy-webpack-plugin": "^9.0.1", "css-loader": "^3.5.3", "eslint": "^7.3.0", @@ -82,13 +82,12 @@ "http-server": "^0.12.3", "imports-loader": "^0.8.0", "install": "^0.13.0", - "jasmine": "^3.7.0", "jsdoc": "^3.6.7", "karma": "^6.3.4", "karma-chrome-launcher": "^3.1.0", "karma-cli": "^2.0.0", "karma-jasmine": "^4.0.1", - "karma-jasmine-html-reporter": "^1.5.4", + "karma-jasmine-html-reporter": "^1.7.0", "karma-webpack": "^5.0.0", "lerna": "^4.0.0", "mini-css-extract-plugin": "^1.6.2", @@ -100,7 +99,7 @@ "postcss-loader": "^3.0.0", "prettierx": "^0.18.2", "run-headless-chromium": "^0.1.1", - "sass": "^1.32.12", + "sass": "^1.35.2", "sass-loader": "^11.0.1", "style-loader": "^0.23.1", "webpack": "^5.36.1", diff --git a/src/headless/package.json b/src/headless/package.json index 4a8150642..098cc1190 100644 --- a/src/headless/package.json +++ b/src/headless/package.json @@ -39,7 +39,7 @@ "dependencies": { "@converse/skeletor": "0.0.5", "dayjs": "1.10.5", - "filesize": "^6.3.0", + "filesize": "^7.0.0", "localforage": "^1.9.0", "localforage-driver-memory": "^1.0.5", "localforage-setitems": "^1.4.0",