hexo-prism-plugin icon indicating copy to clipboard operation
hexo-prism-plugin copied to clipboard

Lock version of prismjs?

Open jennifer-shehane opened this issue 6 years ago • 2 comments

I ran into an issue today with prismjs and eventually tracked it down to their releasing a new 1.7.0 version 3 hours ago. I'm a little confused because I thought that the hexo-prism-plugin had it's dependencies locked. When I npm ls primsjs in my project, it prints this:

└─┬ [email protected]
  └── [email protected] 

How did the prismjs dependency update to 1.7.0?

jennifer-shehane avatar Sep 09 '17 15:09 jennifer-shehane

Sorry for the late reply, did you use the latest NPM for installation? I guess that's because the lock file is not working correctly. You can update the NPM or install the prismjs of specific version directly.

ele828 avatar Oct 15 '17 01:10 ele828

At the time I was on an older version of npm (I think 6.5.0) and am now on 8.4.0.

jennifer-shehane avatar Oct 16 '17 20:10 jennifer-shehane