Skip to content
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

Remove deprecated core exports #1506

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

mroderick
Copy link
Member

In response to a comment on #1502, this PR removes the following deprecated methods from the sinon object

  • calledInOrder
  • deepEqual
  • every
  • extend
  • format
  • functionName
  • functionToString
  • getConfig
  • getPropertyDescriptor
  • iterableToString
  • orderByFirstCall
  • restore
  • timesInWords
  • typeOf
  • walk
  • wrapMethod

These were all marked as deprecated in the migration guide from 1.x to 2.0. It's been several months, it's fair to remove them now.

This removes the following methods from the sinon object

* calledInOrder
* deepEqual
* every
* extend
* format
* functionName
* functionToString
* getConfig
* getPropertyDescriptor
* iterableToString
* orderByFirstCall
* restore
* timesInWords
* typeOf
* walk
* wrapMethod
@mantoni
Copy link
Member

mantoni commented Aug 2, 2017

Nice! I agree it's fair to remove them now.

@mroderick mroderick merged commit 9ee21ad into sinonjs:master Aug 3, 2017
@mroderick mroderick deleted the remove-deprecated-exports branch August 3, 2017 04:21
mroderick added a commit to mroderick/referee-sinon that referenced this pull request Mar 2, 2018
Lifted some private code from Sinon, as `calledInOrder` and
`orderByFirstCall were made private in Sinon in
sinonjs/sinon#1506
mroderick added a commit to mroderick/referee-sinon that referenced this pull request Mar 2, 2018
Lifted some private code from Sinon, as `calledInOrder` and
`orderByFirstCall were made private in Sinon in
sinonjs/sinon#1506
mroderick added a commit to mroderick/referee-sinon that referenced this pull request Mar 2, 2018
Lifted some private code from Sinon, as `calledInOrder` and
`orderByFirstCall were made private in Sinon in
sinonjs/sinon#1506
mroderick added a commit to mroderick/referee-sinon that referenced this pull request Mar 2, 2018
Lifted some private code from Sinon, as `calledInOrder` and
`orderByFirstCall were made private in Sinon in
sinonjs/sinon#1506
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants