Update various dependencies to their latest versions

This commit is contained in:
JC Brand 2019-07-11 09:46:17 +02:00
parent 8a405ee88c
commit 8938245cdd
6 changed files with 1491 additions and 1328 deletions

View File

@ -57,6 +57,7 @@
### Breaking changes ### Breaking changes
- The minimum required NodeJS version for making builds is now 8.9.0
- Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands). - Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands).
- `_converse.api.archive.query` now returns a Promise instead of accepting a callback functions. - `_converse.api.archive.query` now returns a Promise instead of accepting a callback functions.
- `_converse.api.disco.supports` now returns a Promise which resolves to a Boolean instead of an Array. - `_converse.api.disco.supports` now returns a Promise which resolves to a Boolean instead of an Array.

2748
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -50,60 +50,54 @@
"browser": "*" "browser": "*"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.2.2", "@babel/cli": "^7.5.0",
"@babel/core": "^7.2.2", "@babel/core": "^7.5.4",
"@babel/preset-env": "^7.2.3", "@babel/preset-env": "^7.5.4",
"@converse/headless": "^4.0.2", "@converse/headless": "^4.0.2",
"@fortawesome/fontawesome-free": "5.3.1", "@fortawesome/fontawesome-free": "5.9.0",
"babel-loader": "^8.0.4", "babel-loader": "^8.0.6",
"backbone.nativeview": "conversejs/Backbone.NativeView#5997c8197ca594e6b8469447f28310c78bd1d95e", "backbone.nativeview": "conversejs/Backbone.NativeView#5997c8197ca594e6b8469447f28310c78bd1d95e",
"backbone.overview": "jcbrand/Backbone.Overview#d83d0fc0e40aaf3fb5b4db81576b0eba46d6739a", "backbone.overview": "jcbrand/Backbone.Overview#d83d0fc0e40aaf3fb5b4db81576b0eba46d6739a",
"backbone.vdomview": "^1.0.1", "backbone.vdomview": "^1.0.1",
"bootstrap": "^4.0.0", "bootstrap": "^4.3.1",
"bootstrap.native": "^2.0.26", "bootstrap.native": "^2.0.26",
"bootstrap.native-loader": "2.0.0", "bootstrap.native-loader": "2.0.0",
"bourbon": "^4.3.2", "bourbon": "^4.3.2",
"bytebuffer": "^3.5.5", "clean-css-cli": "^4.3.0",
"clean-css-cli": "^4.2.1", "css-loader": "^3.0.0",
"css-loader": "^1.0.1", "dayjs": "^1.8.15",
"dayjs": "^1.8.13", "eslint": "^6.0.1",
"es6-promise": "^4.1.0", "eslint-plugin-lodash": "^5.1.0",
"eslint": "^5.10.0",
"eslint-plugin-lodash": "^2.7.0",
"exports-loader": "^0.7.0", "exports-loader": "^0.7.0",
"fast-text-encoding": "^1.0.0", "fast-text-encoding": "^1.0.0",
"file-loader": "^3.0.1", "file-loader": "^4.0.0",
"filesize": "^3.6.1", "formdata-polyfill": "^3.0.18",
"formdata-polyfill": "^3.0.12",
"hellojs": "^1.16.1",
"http-server": "^0.11.1", "http-server": "^0.11.1",
"imports-loader": "^0.8.0", "imports-loader": "^0.8.0",
"install": "^0.9.5", "install": "^0.9.5",
"jasmine-core": "2.99.1", "jasmine-core": "2.99.1",
"jed": "1.1.1", "jsdoc": "^3.6.2",
"jsdoc": "^3.5.5",
"lerna": "^3.15.0", "lerna": "^3.15.0",
"lodash-template-webpack-loader": "jcbrand/lodash-template-webpack-loader", "lodash-template-webpack-loader": "jcbrand/lodash-template-webpack-loader",
"long": "^3.1.0", "mini-css-extract-plugin": "^0.7.0",
"mini-css-extract-plugin": "^0.5.0",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"node-sass": "^4.11.0", "node-sass": "^4.12.0",
"npm": "^6.4.1", "npm": "^6.4.1",
"po2json": "^0.4.4", "po2json": "^0.4.4",
"prettierx": "^0.6.0", "prettierx": "^0.6.0",
"requirejs": "2.3.5", "requirejs": "2.3.6",
"run-headless-chromium": "^0.1.1", "run-headless-chromium": "^0.1.1",
"sass-loader": "^7.1.0", "sass-loader": "^7.1.0",
"sinon": "^2.1.0", "sinon": "^7.3.2",
"sizzle": "^2.3.3", "sizzle": "^2.3.4",
"snabbdom": "0.7.2", "snabbdom": "^0.7.3",
"style-loader": "^0.23.1", "style-loader": "^0.23.1",
"uglify-es": "^3.0.24", "uglify-es": "^3.3.9",
"urijs": "^1.19.1", "urijs": "^1.19.1",
"wait-until-promise": "^1.0.0", "wait-until-promise": "^1.0.0",
"webpack": "^4.28.1", "webpack": "^4.35.3",
"webpack-cli": "^3.1.2", "webpack-cli": "^3.3.5",
"xss": "^0.3.3" "xss": "^1.0.6"
}, },
"dependencies": {} "dependencies": {}
} }

View File

@ -27,8 +27,8 @@ converse.plugins.add('converse-message-view', {
/* The initialize function gets called as soon as the plugin is /* The initialize function gets called as soon as the plugin is
* loaded by converse.js's plugin machinery. * loaded by converse.js's plugin machinery.
*/ */
const { _converse } = this, const { _converse } = this;
{ __ } = _converse; const { __ } = _converse;
function onTagFoundDuringXSSFilter (tag, html, options) { function onTagFoundDuringXSSFilter (tag, html, options) {

View File

@ -4,20 +4,17 @@
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"lodash": { "es6-promise": {
"version": "4.17.11", "version": "4.2.8",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",
"dev": true "dev": true
}, },
"pluggable.js": { "filesize": {
"version": "2.0.0", "version": "3.6.1",
"resolved": "https://registry.npmjs.org/pluggable.js/-/pluggable.js-2.0.0.tgz", "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
"integrity": "sha512-FgrSayXWfQQWL+RSDiCAFZbkEsY7hTZCiSuN9Ar/mcHpesxOPfrSzJKp+YbimOt9QFtSd+lR8Uob5tgkdQSOzg==", "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==",
"dev": true, "dev": true
"requires": {
"lodash": "^4.17.4"
}
} }
} }
} }

View File

@ -24,13 +24,12 @@
"devDependencies": { "devDependencies": {
"backbone": "1.4", "backbone": "1.4",
"backbone.browserStorage": "0.0.5", "backbone.browserStorage": "0.0.5",
"es6-promise": "^4.1.0", "es6-promise": "^4.2.8",
"filesize": "^3.6.1", "filesize": "^4.1.2",
"jed": "1.1.1", "jed": "1.1.1",
"lodash": "^4.17.11", "lodash": "^4.17.14",
"pluggable.js": "2.0.1", "pluggable.js": "2.0.1",
"strophe.js": "strophe/strophejs#c572c9b1a5c95529784b363fcfe927b281c2f62e", "strophe.js": "strophe/strophejs#c572c9b1a5c95529784b363fcfe927b281c2f62e",
"twemoji": "^11.0.1", "twemoji": "^12.1.2"
"urijs": "^1.19.1"
} }
} }