Download/memorystorage

Invalid exports in package.json

Closed this issue · 3 comments

With recent NPM and node updates, for example node 12.18.0 and npm 6.14.4, there is a more strict check on the package.json.

Error [ERR_INVALID_PACKAGE_TARGET] [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "MemoryStorage" defined in the package config /var/www/restref-site/node_modules/memorystorage/package.json; targets must start with "./"

This prevents the use of this package.

PR welcome!

Trukl commented

here it is : #16

@CorentinMinne Great work and welcome on board!
I leave it to you to merge and create a new release.