Skip to content

Commit

Permalink
Removing useless call to fs/path for defining a pseudo Version (#11)
Browse files Browse the repository at this point in the history
* Removing useless call to fs/path for defining a pseudo Version

- This patch also enable this Module to work in the Browser.
- This also add a minor patch to loras that add the "is_version" field

* This should add the Version in case it's a NodeJs environement

This relie on Dynamic imports a New feature that was included in Typescript recently

* This code as been tested, and successfuly pass each test as excepted

* Adding test case to Print Version of the Lib

Version is populated after the Constructor call (in less than a second)
It's because of the Asynchronous Task, (It's not a real deal, because it allow the lib to Work on a Browser)

* Update Behaviour (minor refactoring)
  • Loading branch information
garder500 authored Jan 5, 2024
1 parent 9f1a358 commit ae52afb
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 297 deletions.
Loading

0 comments on commit ae52afb

Please sign in to comment.