-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Bump pretender to 3.4.3 #429
Bump pretender to 3.4.3 #429
Conversation
@@ -26,7 +26,7 @@ | |||
"broccoli-merge-trees": "^3.0.2", | |||
"ember-auto-import": "^1.3.0", | |||
"ember-cli-babel": "^7.4.0", | |||
"pretender": "~3.0.1", | |||
"pretender": "^3.4.3", |
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.
Why not ~3.4.3
?
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.
Because using ^
says we should be able to use all Pretender versions up until 4.0.0 rather than ~
which will only allow up until 3.5.0
. As Pretender uses semver there shouldn't be any breaking changes until 4.0. Also all the other dependencies use ^
.
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.
I know but remember this is how we solved #387. What I suggested would help keep it "under control". We can intervene and bump the version again if needed anyway. WDYT?
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.
Also same fix here previously #354
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.
@herzzanu I'd prefer to leave it with ^
as I think it's better to have looser dependencies for consuming apps. Mirage.js also uses pretender with ^
. I know there's been issues in the past with stability but I do seem to remember there was a large chunk of refactoring happening at that time (they were introducing fetch into Pretender) and it appears things are a lot more stable now.
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.
Sounds good to me 👍
@jcardali @patocallaghan I guess testing this updated version in an ember app should tell the truth if it's ok or not. |
Thanks @herzzanu, I'll try it out in a new ember app. I just thought you'd come across something specific to make the bug occur 👍 |
@jcardali any chance you could regenerate the |
yarn.lock
Outdated
resolved "https://registry.yarnpkg.com/fake-xml-http-request/-/fake-xml-http-request-2.0.0.tgz#41a92f0ca539477700cb1dafd2df251d55dac8ff" | ||
fake-xml-http-request@^2.1.1: | ||
version "2.1.1" | ||
resolved "https://artifactory.bettermg.com/artifactory/api/npm/npm/fake-xml-http-request/-/fake-xml-http-request-2.1.1.tgz#279fdac235840d7a4dff77d98ec44bce9fc690a6" |
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.
@jcardali it looks like your using an internal registry here which is causing CI to fail
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.
@patocallaghan Sorry about that, fixed now
This reverts commit 0a576de.
See #427