[WebUI] Fixed a crash when editing Subscribe

After the UE performs Registration/Attach, SQN field is created.

If we edit subscriber information when SQN value is present, WebUI crash occurs.

It is because the way to handle Long Type(SQN:Long) is different
when the mongoose version is 6 or higher.

To avoid this crash, we use the mongoose version down to 5.x first.
This commit is contained in:
Sukchan Lee 2023-08-23 23:25:47 +09:00
parent 7f088730ed
commit 5469ae9855
2 changed files with 681 additions and 9125 deletions

9768
webui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +1,49 @@
{ {
"name": "open5gs", "name": "open5gs",
"version": "2.6.3", "version": "2.6.5",
"description": "Open5gs", "description": "Open5gs",
"main": "index.js", "main": "index.js",
"repository": "https://github.com/open5gs/open5gs/webui", "repository": "https://github.com/open5gs/open5gs/webui",
"author": "Open5gs Group", "author": "Open5gs Group",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": { "dependencies": {
"axios": "^0.27.2", "axios": "^1.4.0",
"babel-plugin-polished": "^1.1.0", "babel-plugin-polished": "^1.1.0",
"babel-plugin-styled-components": "^2.0.7", "babel-plugin-styled-components": "^2.0.7",
"body-parser": "^1.20.1", "body-parser": "^1.20.2",
"connect-mongo": "^4.6.0", "connect-mongo": "^5.0.0",
"express": "^4.18.2", "express": "^4.18.2",
"express-restify-mongoose": "^7.0.2", "express-restify-mongoose": "^6.1.2",
"express-session": "^1.17.3", "express-session": "^1.17.3",
"immutable": "^4.1.0", "immutable": "^4.3.3",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^9.0.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lusca": "^1.7.0", "lusca": "^1.7.0",
"method-override": "^3.0.0", "method-override": "^3.0.0",
"mongoose": "^6.7.0", "mongoose": "^5.13.20",
"mongoose-long": "^0.6.0", "mongoose-long": "^0.7.1",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"next": "^3.2.3", "next": "^3.2.3",
"next-redux-wrapper": "^1.3.5", "next-redux-wrapper": "^1.3.5",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"open-color": "^1.9.1", "open-color": "^1.9.1",
"passport": "^0.6.0", "passport": "^0.6.0",
"passport-jwt": "^4.0.0", "passport-jwt": "^4.0.1",
"passport-local": "^1.0.0", "passport-local": "^1.0.0",
"passport-local-mongoose": "^7.1.2", "passport-local-mongoose": "^8.0.0",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"react": "^15.6.1", "react": "^15.7.0",
"react-dom": "^15.6.1", "react-dom": "^15.7.0",
"react-event-listener": "^0.5.9", "react-event-listener": "^0.5.9",
"react-icons": "^2.2.5", "react-icons": "^2.2.5",
"react-jsonschema-form": "^0.50.1", "react-jsonschema-form": "^0.50.1",
"react-notification-system": "^0.2.17", "react-notification-system": "^0.4.0",
"react-onclickoutside": "^6.7.1", "react-onclickoutside": "^6.13.0",
"react-redux": "^5.0.7", "react-redux": "^5.1.2",
"react-transition-group": "^1.1.3", "react-transition-group": "^1.1.3",
"redux": "^3.7.2", "redux": "^4.2.1",
"redux-actions": "^2.4.0", "redux-actions": "^2.6.5",
"redux-saga": "^0.15.6", "redux-saga": "^1.2.3",
"styled-components": "^2.4.1", "styled-components": "^2.4.1",
"traverse": "^0.6.7" "traverse": "^0.6.7"
}, },