Coder Social home page Coder Social logo

mercateo / jsonhoist Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 16.1 MB

Library for chained JSON Transformation (for instance Up-/Down-casting) according to a ruleset stored in a repository.

License: Apache License 2.0

Shell 2.48% Java 96.81% JavaScript 0.71%

jsonhoist's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar mweirauch avatar snyk-bot avatar uweschaefer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jsonhoist's Issues

Suggestion: Handle Minor versions

It should be possible to handle minor versions without breaking existing code.
The contract for minor versions is, that changes are guaranteed to be downward-compatible.

Facilitating this knowledge, a conversion like this should be possible:

Prereq:

  • There is a Transformation registered from 3.1 to 4.0

Scenario a)

Input: message in version 3.2
Requested version: 4.0

  • As there is a 3.1->4.0 and a 3.2 can be treated as a 3.1, the transformation should be used.
    The downcast from existing 3.2 to 3.1 will be implicit (without any actual transformation)

Scenario b)

Input: message in version 3.0
Requested version: 4.0

  • The upcast from 3.0 to 3.1 will be implicit (without any actual transformation)

Scenario c)

Input: message in version 3.0
Requested version: 5.0

  • Transformation needs to fail, as there is no way to get from 4.0 to 5.0, and as it is a major update, it is not guaranteed to be a compatible one.

In General

  • If there are more than one possible path through the transformers, the shortest path wins.
  • If there are still more than one of equal length, the one that transforms a larger distance earlier, wins - where distance is Decimal of VersionTo - Decimal of VersionFrom (for example 3.2 -> 4.0 = 0.8 distance)

[DepShield] (CVSS 5.9) Vulnerability due to usage of com.fasterxml.jackson.core:jackson-databind:2.9.9

Vulnerabilities

DepShield reports that this application's usage of com.fasterxml.jackson.core:jackson-databind:2.9.9 results in the following vulnerability(s):


Occurrences

com.fasterxml.jackson.core:jackson-databind:2.9.9 is a transitive dependency introduced by the following direct dependency(s):

com.fasterxml.jackson.core:jackson-databind:2.9.9

com.fasterxml.jackson.core:jackson-databind:2.9.9

com.fasterxml.jackson.core:jackson-databind:2.9.9

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

[DepShield] (CVSS 7.5) Vulnerability due to usage of com.fasterxml.jackson.core:jackson-databind:2.10.0

Vulnerabilities

DepShield reports that this application's usage of com.fasterxml.jackson.core:jackson-databind:2.10.0 results in the following vulnerability(s):


Occurrences

com.fasterxml.jackson.core:jackson-databind:2.10.0 is a transitive dependency introduced by the following direct dependency(s):

com.fasterxml.jackson.core:jackson-databind:2.10.0

com.fasterxml.jackson.core:jackson-databind:2.10.0

com.fasterxml.jackson.core:jackson-databind:2.10.0

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

[DepShield] (CVSS 7.5) Vulnerability due to usage of com.fasterxml.jackson.core:jackson-databind:2.9.8

Vulnerabilities

DepShield reports that this application's usage of com.fasterxml.jackson.core:jackson-databind:2.9.8 results in the following vulnerability(s):


Occurrences

com.fasterxml.jackson.core:jackson-databind:2.9.8 is a transitive dependency introduced by the following direct dependency(s):

com.fasterxml.jackson.core:jackson-databind:2.9.8

com.fasterxml.jackson.core:jackson-databind:2.9.8

com.fasterxml.jackson.core:jackson-databind:2.9.8

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.