-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.14.5 recently overwritten? and v0.14.6 does not work... #244
Comments
npx npm-diff vue-demi 0.14.4 0.14.5
npx npm-diff vue-demi 0.14.5 0.14.6 There do not seem to be many changes between those versions on npm (align with the commit history and nothing strange to me). Just note that I would need a minimal reproduction to prove it's vue-demi's issue. |
@antfu Ya, i am a total loss with this. It is totally baffling. on my end I have only minor diff between .5 and .6 but my .5 from a few months ago has a massive diff. I do not know what else to do, I can jump on a screenshare meeting and show you package diffs and explain how this came about or I can e-mail the sources to you? Its created an impediment and we cant publish updates to our projects. |
You'll need to control the variables and narrow them down to find the root cause. If there isn't a massive change in vue-demi's npm dist, then it must be something else causing that. I can't help as I don't have a reproduction on my end. |
@antfu Hi I uploaded the anomalies, The working source code snapshot I have from a few months ago is not visible in the project commit history as far as I can see, as if a rebase or history reset has happened... I have reached an impasse. |
A reproduction is a repository where the installation of vue-demi fails, not the vue-demi downloaded packages. Note you can force the version of Vue as noted in the readme |
@posva @antfu I couldn't get this done sooner as I had to prioritize making sure our dev's could continue to work first as this prevented them running our project and publishing updates and I figured someone might have just know what what's wrong right away with the initial information I had. For the initial issue we had with @posva As for that discrepancy repo, that come about because I had it to hand already and that was my first point of concern, naturally the first thing I tried was to force Pinia to use the last known working version of On investigation of this rollback failure we find we have two different source codes for the same single version ( The source code I have provided does not appear to marry up with the To get my team back into production I have taken the 3 month old copy of We are out of panic mode for now, I have never witnessed anything like this in 16 years, anyone that can shed light on this mystery would be great but for resolving Thanks gents |
Can you make the repro minimal? it has too many things that are unrelated. Should probably only have vue, pinia and the CLI service |
@posva Updated to bare bones |
@posva @antfu The issue is, for security reasons we have post script installs disabled in Yarn I suspect then from what I can observe when I saw what I referred to as a lib history discrepancy; that the content from Shortly after the point I installed Pinia to our project, It would have been the space of a day or two after that a security advisory suggested setting Rational for disabling:
All of our development environments and build pipelines retained a cached copy this whole time for the past month until recently when days after the release of The above now makes it clear that the code discrepancy I thought I was seeing was because my project clone had not yet sucked in the We have quite an extensive dependency stack, after a "from-scratch" test with Now that I know this is explicitly an I could add this command to our build pipeline but that would open up the possibility if some day malicious postinstall code was published in this project, it would get executed and we can't allow that possibility to happen. So I am going to stick with keeping a localised copy of Best Regards |
Alright, so it was about the post-install script after all 😄 |
In relation to tickets:
#242
#230
I have noticed that the file content of
v0.14.5
has greatly changed (content overwritten?) but I do not know when this happened.All I know is this: The 3rd of September is the last time I last ran a
yarn install
and my project builds fine and does not experience the issue outlined in #230However, a college pulled our current commit that works for me right now and ran yarn install today (7th September) and noted our project does not work, reporting same issue #230.
So I pull a fresh new copy in a new directory on my system and run yarn install in there and indeed was now experiencing the same #230 issue my colleague reported.
So here I am, 2 copies of the same project on the same commit hash, one works one doesn't...
Why? well when I did an IDE compare with directory of this library (/node-modules/vue-demi) on both projects both running version
0.14.5
, the diff is big.See my attached screenshot showing the diff between an old pull of
0.14.5
(10/06/2023) and a recent pull of the same version (07/09/2023).I think an NPM publish was done at some point in the last few months, most likely this week, where unfinished changes intended for v0.14.6 got re-published to 0.14.5 despite the NPM distribution site saying the version was Published 4 months ago?
The text was updated successfully, but these errors were encountered: