Pristine icon indicating copy to clipboard operation
Pristine copied to clipboard

Code in NPM registry is not latest

Open seriflafont opened this issue 4 years ago • 4 comments

The js that is downloaded via npm install does not match the latest in the repo... can this please be fixed? The 'equals' and the 'pattern' both have issues in the version in the registry but they work great on the demos using the most current code. Our project relies on the registry as part of the build process for 3rd party code. Thanks in advance!

seriflafont avatar Oct 19 '20 13:10 seriflafont

Yes, please fix this. When I download your package via NPM the addMessages and setLocale functions aren't in there!

t0byman avatar Oct 23 '20 13:10 t0byman

still missing latest version on NPM and jsdelivr

zecompadre avatar Jul 02 '21 16:07 zecompadre

Here's a "fix" "pristinejs": "git+https://github.com/sha256/Pristine.git" Use this in your package.json and rerun npm install

@sha256 you left this repo for dead?

kevinmu17 avatar Oct 14 '21 07:10 kevinmu17

Agreed. Looks like the author just forgot to bump their NPM package version in package.json and publish the new version, which is why we are getting the old code via npm install pristinejs. The README was correctly updated though, making it reference functions in NPM on the NPM website that don't actually exist. Must use @kevinmu17 solution until resolved.

manifestinteractive avatar Jan 29 '22 03:01 manifestinteractive