From 4885600ecc369aa2e30a65de8dd7a410f13c34df Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 24 五月 2021 11:25:04 +0800 Subject: [PATCH] 解决app通信问题 --- node_modules/mqtt/package.json | 63 +++++++++++++++++++------------ 1 files changed, 38 insertions(+), 25 deletions(-) diff --git a/node_modules/mqtt/package.json b/node_modules/mqtt/package.json index 662c475..a3bbda1 100644 --- a/node_modules/mqtt/package.json +++ b/node_modules/mqtt/package.json @@ -1,27 +1,35 @@ { - "_from": "mqtt@^2.18.3", - "_id": "mqtt@2.18.8", + "_from": "mqtt@3.0.0", + "_id": "mqtt@3.0.0", "_inBundle": false, - "_integrity": "sha1-nSE8yrkhUazPsh7owIYNxoZqslk=", + "_integrity": "sha1-eWHl9h77o+7DfVqpxMvN62+EE4A=", "_location": "/mqtt", - "_phantomChildren": {}, + "_phantomChildren": { + "buffer": "5.7.1", + "debug": "4.3.1", + "inherits": "2.0.4", + "process-nextick-args": "2.0.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + }, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "mqtt@^2.18.3", + "raw": "mqtt@3.0.0", "name": "mqtt", "escapedName": "mqtt", - "rawSpec": "^2.18.3", + "rawSpec": "3.0.0", "saveSpec": null, - "fetchSpec": "^2.18.3" + "fetchSpec": "3.0.0" }, "_requiredBy": [ - "/vue-mqtt" + "#USER", + "/" ], - "_resolved": "https://registry.npm.taobao.org/mqtt/download/mqtt-2.18.8.tgz", - "_shasum": "9d213ccab92151accfb21ee8c0860dc6866ab259", - "_spec": "mqtt@^2.18.3", - "_where": "C:\\Users\\admin\\Documents\\HBuilderProjects\\warning_app\\node_modules\\vue-mqtt", + "_resolved": "https://registry.npm.taobao.org/mqtt/download/mqtt-3.0.0.tgz", + "_shasum": "7961e5f61efba3eec37d5aa9c4cbcdeb6f841380", + "_spec": "mqtt@3.0.0", + "_where": "C:\\Users\\admin\\Documents\\HBuilderProjects\\warning_app", "bin": { "mqtt_pub": "./bin/pub.js", "mqtt_sub": "./bin/sub.js", @@ -46,9 +54,15 @@ "name": "Matteo Collina", "email": "matteo.collina@gmail.com", "url": "https://github.com/mcollina" + }, + { + "name": "Siarhei Buntsevich", + "email": "scarry0506@gmail.com", + "url": "https://github.com/scarry1992" } ], "dependencies": { + "base64-js": "^1.3.0", "commist": "^1.0.0", "concat-stream": "^1.6.2", "end-of-stream": "^1.4.1", @@ -56,36 +70,36 @@ "help-me": "^1.0.1", "inherits": "^2.0.3", "minimist": "^1.2.0", - "mqtt-packet": "^5.6.0", + "mqtt-packet": "^6.0.0", "pump": "^3.0.0", "readable-stream": "^2.3.6", "reinterval": "^1.1.0", - "split2": "^2.1.1", + "split2": "^3.1.0", "websocket-stream": "^5.1.2", "xtend": "^4.0.1" }, "deprecated": false, "description": "A library for the MQTT protocol", "devDependencies": { - "@types/node": "^8.10.21", + "@types/node": "^10.0.0", "browserify": "^16.2.2", "codecov": "^3.0.4", "global": "^4.3.2", "istanbul": "^0.4.5", "mkdirp": "^0.5.1", "mocha": "^4.1.0", - "mqtt-connection": "^3.0.0", + "mqtt-connection": "^4.0.0", "pre-commit": "^1.2.2", "rimraf": "^2.6.2", "safe-buffer": "^5.1.2", "should": "^13.2.1", "sinon": "~1.17.7", - "snazzy": "^7.1.1", + "snazzy": "^8.0.0", "standard": "^11.0.1", - "through2": "^2.0.3", + "through2": "^3.0.0", "tslint": "^5.11.0", - "tslint-config-standard": "^7.1.0", - "typescript": "^2.9.2", + "tslint-config-standard": "^8.0.1", + "typescript": "^3.2.2", "uglify-js": "^3.4.5", "ws": "^3.3.3", "zuul": "^3.12.0", @@ -126,7 +140,7 @@ "scripts": { "browser-build": "rimraf dist/ && mkdirp dist/ && browserify mqtt.js -s mqtt > dist/mqtt.js && uglifyjs < dist/mqtt.js > dist/mqtt.min.js", "browser-test": "zuul --server test/browser/server.js --local --open test/browser/test.js", - "ci": "npm run tslint && npm run typescript-test && npm run test && codecov", + "ci": "npm run tslint && npm run typescript-compile-test && npm run test && codecov", "prepare": "npm run browser-build", "pretest": "standard | snazzy", "sauce-test": "zuul --server test/browser/server.js --tunnel ngrok -- test/browser/test.js", @@ -134,8 +148,7 @@ "tslint": "if [[ \"`node -v`\" != \"v4.3.2\" ]]; then tslint types/**/*.d.ts; fi", "typescript-compile-execute": "node test/typescript/*.js", "typescript-compile-test": "tsc -p test/typescript/tsconfig.json", - "typescript-test": "npm run typescript-compile-test && npm run typescript-compile-execute", - "weapp-test": "zuul --server test/browser/server.js --local --open test/browser/wx.js" + "typescript-test": "npm run typescript-compile-test && npm run typescript-compile-execute" }, "standard": { "env": [ @@ -143,5 +156,5 @@ ] }, "types": "types/index.d.ts", - "version": "2.18.8" + "version": "3.0.0" } -- Gitblit v1.8.0