diff --git a/README.md b/README.md index 179a905..34630c4 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@   --> [![GitHub top language](https://img.shields.io/github/languages/top/nktnet1/import-sync)](https://github.com/search?q=repo%3Anktnet1%2Fimport-sync++language%3ATypeScript&type=code) - +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fnktnet1%2Fimport-sync.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fnktnet1%2Fimport-sync?ref=badge_shield)   [![NPM License](https://img.shields.io/npm/l/import-sync)](https://opensource.org/license/mit/)   @@ -126,7 +126,7 @@ const { someFunction } = importSync( Path to the module relative to the current file, similar to CommonJS [require](https://nodejs.org/api/modules.html#requireid). For example, - `'../animals/cats.js'` - `'./dogs.mjs'` - - `'minimal'` + - `'minimal'` - import-sync will look for `'./minimal.js'` before `'minimal.mjs'`, then throws an Error if neither files exist. Note that `option.basePath` can be provided to alter this behaviour. @@ -203,6 +203,8 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fnktnet1%2Fimport-sync.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fnktnet1%2Fimport-sync?ref=badge_large) + ## 4. Limitations @@ -259,7 +261,7 @@ Upon a more thorough investigation into the initial issue with the [esm](https://github.com/standard-things/esm) module, the cause was the introduction of the exception starting from NodeJS version 13, as noted in [@fregante](https://github.com/fregante)'s comment: -- https://github.com/standard-things/esm/issues/855#issuecomment-558319872. +- https://github.com/standard-things/esm/issues/855#issuecomment-558319872 Further down the thread was a link to the solution by [@guybedford](https://github.com/guybedford) - https://github.com/standard-things/esm/issues/868#issuecomment-594480715 diff --git a/logo.svg b/logo.svg index edc7884..6e6e120 100644 --- a/logo.svg +++ b/logo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f4ce769..61f51ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "import-sync", - "version": "0.0.2", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "import-sync", - "version": "0.0.2", + "version": "0.0.1", "license": "MIT", "dependencies": { "esm": "^3.2.25" diff --git a/package.json b/package.json index 700861b..48e27c5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "git", "url": "https://github.com/nktnet1/import-sync" }, - "version": "0.0.2", + "version": "0.0.1", "files": [ "dist" ],