-
Notifications
You must be signed in to change notification settings - Fork 199
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
upgrade to sinon 5.x #395
upgrade to sinon 5.x #395
Conversation
So you work on types for Sinon and you contribute to Polymer/tools? Much love mate ❤️ |
FYI the sinon 5.x types have been merged now. ill try rebase this at the weekend and pull in the new types. though because lock files are such a pain to fix conflicts in, i may just start again 🙈 |
You can always regenerate lockfiles :) |
turns out npm automatically resolves git conflicts in package-lock.json files as long as your package.json is resolved! tests pass but the diff on the lock files looks unusually different considering the small footprint of my change. if i regen them all the additions seem to stick around so i guess its right? cc @rictic maybe? to get this merged/checked |
@43081j AppVeyor |
doesn't look like the result on my changes:
something specific to appveyor or how we have it configured maybe? |
@justinfagnani can you take a look at this when you have time? looks like the appveyor build fails for an unrelated reason but looks good otherwise. |
@43081j is this a breaking change? |
@justinfagnani on our end? i don't think so as only tests and dev dependencies should have been altered its a major version bump of sinon but this PR shouldn't affect any non-test code we have. |
I'm wondering if for test code that uses sinon as provided will break, which would require a major-version bump of wct-browser-legacy |
It has it's own package.json: https://github.com/Polymer/tools/blob/master/packages/web-component-tester/wct-browser-legacy/package.json |
ah you have a fair point @justinfagnani fortunately i think i left that package alone? i did update the one in the main WCT package but not legacy afaik. |
@justinfagnani any chance we can get this merged? if i need to change something to avoid needing a breaking change, let me know. just want to avoid the pr going stale |
2d83cbb
to
01c07b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not update the packages of web-component-tester
. I am working on that in a different PR and it involves breaking changes. The upgrades to (dev-)dependencies in the other packages are okay
@TimvdLippe i reverted the wct changes i didn't change my original commit so i can keep the code changes locally |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@TimvdLippe Any update regarding |
That update is being done separately atm. See the work on wct-mocha et al in other PRs. |
Till the sinon version is bumped should't #228 be kept open? (its 7.x now) |
just bumping sinon to 5.x.
Fixes #228.
the types aren't quite right but they work for us it seems (they get fixed in DefinitelyTyped/DefinitelyTyped#25491).
is this fine? wct was an odd one, it still has
@polymer/sinonjs
.. do we need that still?cc @rictic