浏览代码

Run `npm update` and bump Node version

JC Brand 1 年之前
父节点
当前提交
be52fdb978
共有 5 个文件被更改,包括 250 次插入252 次删除
  1. 1 1
      .nvmrc
  2. 241 242
      package-lock.json
  3. 1 2
      package.json
  4. 6 6
      src/headless/index.js
  5. 1 1
      src/headless/package.json

+ 1 - 1
.nvmrc

@@ -1 +1 @@
-v18.15.0
+v18.19.1

文件差异内容过多而无法显示
+ 241 - 242
package-lock.json


+ 1 - 2
package.json

@@ -78,6 +78,7 @@
     "@converse/headless": "file:src/headless",
     "@types/webappsec-credential-management": "^0.6.8",
     "@typescript-eslint/eslint-plugin": "^7.3.1",
+    "@typescript-eslint/parser": "^7.3.1",
     "autoprefixer": "^10.4.5",
     "babel-loader": "^9.1.0",
     "bootstrap.native-loader": "2.0.0",
@@ -108,7 +109,6 @@
     "sass-loader": "^13.1.0",
     "style-loader": "^3.1.0",
     "typescript": "^4.9.5",
-    "typescript-eslint-parser": "^22.0.0",
     "uglify-js": "^3.17.4",
     "webpack": "^5.90.3",
     "webpack-cli": "^5.1.4",
@@ -121,7 +121,6 @@
     "client-compress": "^2.2.2",
     "dayjs": "^1.11.8",
     "dompurify": "^3.0.8",
-    "dpdm": "^3.14.0",
     "favico.js-slevomat": "^0.3.11",
     "gifuct-js": "^2.1.2",
     "jed": "1.1.1",

+ 6 - 6
src/headless/index.js

@@ -11,10 +11,9 @@ import converse from './shared/api/public.js';
 
 dayjs.extend(advancedFormat);
 
-/* START: Removable components
- * --------------------
- * The following components may be removed if they're not needed.
- */
+// START: Removable components
+// ---------------------------
+// The following components may be removed if they're not needed.
 import './plugins/bookmarks/index.js'; // XEP-0199 XMPP Ping
 import './plugins/bosh/index.js'; // XEP-0206 BOSH
 import './plugins/caps/index.js'; // XEP-0115 Entity Capabilities
@@ -37,10 +36,11 @@ export { RosterContact, RosterContacts, Presence, Presences } from './plugins/ro
 import './plugins/smacks/index.js'; // XEP-0198 Stream Management
 export { XMPPStatus } from './plugins/status/index.js';
 export { VCard, VCards } from './plugins/vcard/index.js'; // XEP-0054 VCard-temp
-/* END: Removable components */
+// ---------------------------
+// END: Removable components
 
-import log from './log.js';
 
+import log from './log.js';
 export { api, converse, _converse, i18n, log, u };
 
 export default converse;

+ 1 - 1
src/headless/package.json

@@ -43,7 +43,7 @@
     "pluggable.js": "3.0.1",
     "sizzle": "^2.3.5",
     "sprintf-js": "^1.1.2",
-    "strophe.js": "2.0.0",
+    "strophe.js": "strophe/strophejs#a02d8932d6d6175a72833f7493b5ca9562438509",
     "urijs": "^1.19.10"
   },
   "devDependencies": {}

部分文件因为文件数量过多而无法显示