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