Remove the formdata and promise polyfills
This commit is contained in:
parent
a1670462ca
commit
976c3d6006
20
package-lock.json
generated
20
package-lock.json
generated
@ -6292,12 +6292,6 @@
|
|||||||
"mime-types": "^2.1.12"
|
"mime-types": "^2.1.12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"formdata-polyfill": {
|
|
||||||
"version": "3.0.18",
|
|
||||||
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-3.0.18.tgz",
|
|
||||||
"integrity": "sha512-qydEiPA/DWm1reRCfBJyFHs/wQhjvjoQjN8P/FatoaZJ+Efc/1kVwrHPR7Ek+BuIGINr26mHXT9KpR5WYmWZww==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"forwarded": {
|
"forwarded": {
|
||||||
"version": "0.1.2",
|
"version": "0.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
|
||||||
@ -17148,13 +17142,13 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"twemoji": {
|
"twemoji": {
|
||||||
"version": "12.1.4",
|
"version": "12.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/twemoji/-/twemoji-12.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/twemoji/-/twemoji-12.1.5.tgz",
|
||||||
"integrity": "sha512-e37lUlVijmABF7wPCc09s1kKj3hcpzU8KL5zw2bBDIXOtOr4luLF+ODJaEqca8dZPmLR5ezrJYI93nhPovKBiQ==",
|
"integrity": "sha512-B0PBVy5xomwb1M/WZxf/IqPZfnoIYy1skXnlHjMwLwTNfZ9ljh8VgWQktAPcJXu8080WoEh6YwQGPVhDVqvrVQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"fs-extra": "^8.0.1",
|
"fs-extra": "^8.0.1",
|
||||||
"jsonfile": "^5.0.0",
|
"jsonfile": "^5.0.0",
|
||||||
"twemoji-parser": "12.1.1",
|
"twemoji-parser": "12.1.3",
|
||||||
"universalify": "^0.1.2"
|
"universalify": "^0.1.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -17170,9 +17164,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"twemoji-parser": {
|
"twemoji-parser": {
|
||||||
"version": "12.1.1",
|
"version": "12.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/twemoji-parser/-/twemoji-parser-12.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/twemoji-parser/-/twemoji-parser-12.1.3.tgz",
|
||||||
"integrity": "sha512-XFUB4ReEvPbNPtiuyo/+crM4RldYbRRAhyE7Hw6EnfBdXECGydw7a49EGADayRvaeierP/m4DSv/OZQObh0LGA=="
|
"integrity": "sha512-ND4LZXF4X92/PFrzSgGkq6KPPg8swy/U0yRw1k/+izWRVmq1HYi3khPwV3XIB6FRudgVICAaBhJfW8e8G3HC7Q=="
|
||||||
},
|
},
|
||||||
"type-check": {
|
"type-check": {
|
||||||
"version": "0.3.2",
|
"version": "0.3.2",
|
||||||
|
@ -77,7 +77,6 @@
|
|||||||
"exports-loader": "^0.7.0",
|
"exports-loader": "^0.7.0",
|
||||||
"fast-text-encoding": "^1.0.0",
|
"fast-text-encoding": "^1.0.0",
|
||||||
"file-loader": "^4.0.0",
|
"file-loader": "^4.0.0",
|
||||||
"formdata-polyfill": "^3.0.18",
|
|
||||||
"html-webpack-plugin": "^3.2.0",
|
"html-webpack-plugin": "^3.2.0",
|
||||||
"http-server": "^0.11.1",
|
"http-server": "^0.11.1",
|
||||||
"imports-loader": "^0.8.0",
|
"imports-loader": "^0.8.0",
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
* @license Mozilla Public License (MPLv2)
|
* @license Mozilla Public License (MPLv2)
|
||||||
*/
|
*/
|
||||||
import "converse-chatview";
|
import "converse-chatview";
|
||||||
import "formdata-polyfill";
|
|
||||||
import { get } from "lodash";
|
import { get } from "lodash";
|
||||||
import { Model } from 'skeletor.js/src/model.js';
|
import { Model } from 'skeletor.js/src/model.js';
|
||||||
import { View } from "skeletor.js/src/view";
|
import { View } from "skeletor.js/src/view";
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
* @license Mozilla Public License (MPLv2)
|
* @license Mozilla Public License (MPLv2)
|
||||||
*/
|
*/
|
||||||
import "converse-modal";
|
import "converse-modal";
|
||||||
import "formdata-polyfill";
|
|
||||||
import "@converse/headless/utils/muc";
|
import "@converse/headless/utils/muc";
|
||||||
import { get, head, isString, isUndefined } from "lodash";
|
import { get, head, isString, isUndefined } from "lodash";
|
||||||
import { View } from 'skeletor.js/src/view.js';
|
import { View } from 'skeletor.js/src/view.js';
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
import "@converse/headless/converse-status";
|
import "@converse/headless/converse-status";
|
||||||
import "@converse/headless/converse-vcard";
|
import "@converse/headless/converse-vcard";
|
||||||
import "converse-modal";
|
import "converse-modal";
|
||||||
import "formdata-polyfill";
|
|
||||||
import bootstrap from "bootstrap.native";
|
import bootstrap from "bootstrap.native";
|
||||||
import converse from "@converse/headless/converse-core";
|
import converse from "@converse/headless/converse-core";
|
||||||
import log from "@converse/headless/log";
|
import log from "@converse/headless/log";
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
import "@converse/headless/converse-chatboxes";
|
import "@converse/headless/converse-chatboxes";
|
||||||
import "@converse/headless/converse-roster";
|
import "@converse/headless/converse-roster";
|
||||||
import "converse-modal";
|
import "converse-modal";
|
||||||
import "formdata-polyfill";
|
|
||||||
import { compact, debounce, has, isString, uniq, without } from "lodash";
|
import { compact, debounce, has, isString, uniq, without } from "lodash";
|
||||||
import { View } from 'skeletor.js/src/view.js';
|
import { View } from 'skeletor.js/src/view.js';
|
||||||
import { Model } from 'skeletor.js/src/model.js';
|
import { Model } from 'skeletor.js/src/model.js';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(['es6-promise', 'mock'], factory);
|
define(['mock'], factory);
|
||||||
}(this, function (Promise, mock) {
|
}(this, function (mock) {
|
||||||
const _ = converse.env._;
|
const _ = converse.env._;
|
||||||
const $msg = converse.env.$msg;
|
const $msg = converse.env.$msg;
|
||||||
const $pres = converse.env.$pres;
|
const $pres = converse.env.$pres;
|
||||||
|
@ -47,13 +47,6 @@ module.exports = merge(common, {
|
|||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
externals: [{
|
externals: [{
|
||||||
"backbone": "backbone",
|
|
||||||
"backbone.nativeview": "backbone.nativeview",
|
|
||||||
"backbone.vdomview": "backbone.vdomview",
|
|
||||||
"backbone.browserStorage": "backbone.browserStorage",
|
|
||||||
"backbone.overview": "backbone.overview",
|
|
||||||
"es6-promise": "es6-promise",
|
|
||||||
"formdata-polyfill": "formdata-polyfill",
|
|
||||||
"lodash": "lodash",
|
"lodash": "lodash",
|
||||||
"lodash.noconflict": "lodash.noconflict",
|
"lodash.noconflict": "lodash.noconflict",
|
||||||
"strophe": "strophe",
|
"strophe": "strophe",
|
||||||
|
Loading…
Reference in New Issue
Block a user