Skip to content

[FEAT] version-comparator: do not remotely load B.2.0 #8

@tbouffard

Description

@tbouffard

Is your feature request related to a problem? Please describe.
Currently, the content of the B.2.0 file is retrieved by the page. While it ensures that we always use the latest version of the file, it has several drawbacks

  • prevent to run the tool offline
  • extra http query: there is no browser cache once the browser is closed by the script. So, we are redoing the query over and over
  • the file doesn't change or very rarely, so there is no need to ensure it is up-to-date. In addition, if updated occurs, the tool is not aware of it and it may create discrepancies

Describe the solution you'd like
Store the content of the file in the repository

Additional context
In the examples repository, we are storing the content in a JS function. We can replicate this here or store it in a constant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions