Mismatch in the published package content.
haZya opened this issue · comments
There seems to be a problem with the npm package currently published. Please check the content in the dist folder.
https://www.npmjs.com/package/nsfwjs/v/4.0.0?activeTab=code
It should look like this instead.
https://www.npmjs.com/package/@hazya/nsfwjs?activeTab=code
It is missing the models folder which contains the model files converted to base64. It also seems to contain the old files as well. The above is what is pushed when doing a simple npm publish which also includes the models folder since it is not npm ignored. I'm not sure why the nsfw package doesn't contain the models folder. Is there something wrong with the shipit
script?
@GantMan @mazenchami FYI
@haZya thanks for reporting this. we've been chatting on the side but as of v4.1.0
this has been fixed: https://www.npmjs.com/package/nsfwjs?activeTab=code