Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049609Retail ModulesNexo Implementationpublic2022-06-20 17:492022-06-20 17:49
adrianromero 
adrianromero 
normalmajorhave not tried
newopen 
5
 
 
No
0049609: nexoprovider module package.json versions should be reviewed because of jsonix dependency

That should be reviewed and unless special reason exists more typical ^ semver instead of = should be used.

b.1) npm audit issues (easy)
run "npm audit fix"

b.2) npm audit issues
xmldom avoiding old versions is still not possible as depended upon by jsonix@3.0.0

c.) jsonix@3.0.0 contains jsonix-schema-compiler-full.jar including outdated other libraries
jsonix-schema-compiler-full.jar (shaded: commons-beanutils:commons-beanutils:1.9.2)
jsonix-schema-compiler-full.jar (shaded: commons-collections:commons-collections:3.2.1)

Note:
- jsonix upstream seems to not have released a new version >3.0.0 yet

JSONIX project upstream is dead. As in, the guy behind the project died last year :(
https://github.com/highsource/jsonix/issues/255 [^]

And for current security issues we have:
- the 2* jar we about here (high severity)
- missing to move from xmldom (dead with that name) to @xmldom/xmldom which is new upstream name (medium severity)

Also checking another issue seems to say it is not possible to run java10 (or 11) while you didn't raise this one will be the next issue over time.
https://github.com/highsource/jsonix/issues/226 [^]
run npm audit
run owasp-dependency check with "npm install" done before in the module
JSONIX is used for generating java model classes from NEXO sxd schema. So it is needed only if NEXO schema changes. A new alternative, or active fork of JSONIX needs to be used if the java model classes require to be generated again.
No tags attached.
related to defect 0049377 closed adrianromero nexoprovider module pacakge.json semver should be reviewed and package-lock.json should be updated 
Issue History
2022-06-20 17:49adrianromeroNew Issue
2022-06-20 17:49adrianromeroAssigned To => adrianromero
2022-06-20 17:49adrianromeroTriggers an Emergency Pack => No
2022-06-20 17:49adrianromeroIssue generated from0049377
2022-06-20 17:49adrianromeroRelationship addedrelated to 0049377

There are no notes attached to this issue.