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

Update dependency sinon to v9 #602

Merged
merged 1 commit into from
May 24, 2020
Merged

Update dependency sinon to v9 #602

merged 1 commit into from
May 24, 2020

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 19, 2020

This PR contains the following updates:

Package Type Update Change
sinon (source) devDependencies major 2.4.1 -> 9.0.2

Release Notes

sinonjs/sinon

v9.0.2

Compare Source

==================

v9.0.1

Compare Source

==================

  • Fix #​2226: restore props defined on prototype chain by deleting

v9.0.0

Compare Source

==================

  • Ignore errors on thisValue property accesses (#​2216)
  • Add firstArg to spy calls and fakes. (#​2150)
  • Drop Node 8 support

v8.1.1

Compare Source

==================

v8.1.0

Compare Source

==================

  • Support negative indices in getCall (#​2199)

v8.0.4

Compare Source

==================

  • Remove misleading 'own' from exception message

v8.0.3

Compare Source

==================

  • Move .printf to proxy

v8.0.2

Compare Source

==================

v8.0.1

Compare Source

==================

  • Force upgrade @​sinonjs/commons (#​2181)
  • Update docs/changelog.md and set new release id in docs/_config.yml
  • Add release documentation for v8.0.0

v8.0.0

Compare Source

==================

The major release is caused by removing old mistakes and upgrading dependencies that themselves have had new major releases.

v7.5.0

Compare Source

==================

  • Add sinon.assert.calledOnceWithExactly
  • Feature parity: support spying all methods on an object

v7.4.2

Compare Source

==================

  • Restore sinon.createStubInstance() behaviour (#​2073)
  • Fix Typo in migration 6 and updated migration docs for migration from… (#​2074)

v7.4.1

Compare Source

==================

  • Update nise and lolex (minor versions)
  • add callThroughWithNew method
  • add browser field
  • Create COMPATIBILITY.md (#​2051)
  • Fix sinon.resetHistory() does not reset history (#​2022)

v7.3.2

Compare Source

==================

v7.3.1

Compare Source

==================

v7.3.0

Compare Source

==================

  • Simplify Circle CI setup
  • Add a Docker Compose config file for testing the setup locally
  • Inject createStubInstance and fake functionality
  • Remove unused prop 'injectIntoThis'
  • Fix #​1974 by upgrading to @​sinonjs/samsam@​3.3.0

v7.2.7

Compare Source

==================

  • Retain spy function names and fix spy.named(name) (#​1987)
  • Document spying on accessors (#​1976)

v7.2.6

Compare Source

==================

v7.2.5

Compare Source

==================

  • don't call extends.nonEnum in spy.resetHistory (#​1984)

v7.2.4

Compare Source

==================

  • minor package updates
  • Update eslint-plugin-mocha
  • Fix high prio audit warnings
  • Update nise to use @​sinonjs/text-encoding
  • Make all properties non-enumerable in spies, stubs, mocks and fakes
  • docs(sandbox): add example for default sandbox

v7.2.3

Compare Source

==================

v7.2.2

Compare Source

==================

  • Fix mock.withArgs using matchers (#​1961)

v7.2.1

Compare Source

==================

v7.2.0

Compare Source

==================

  • Upgrade to samsam 3 (#​1955)
  • Rename History.md to CHANGELOG.md

v7.1.1

Compare Source

==================

  • Make the spy functions non enumerable so that printing it is more concise (#​1936)

v7.1.0

Compare Source

==================

  • Issue #​1852: Add a way to pass a global context to lolex when calling useFakeTimers
  • Get latest 'nise' patch

v7.0.0

Compare Source

==================

  • Update to Lolex 3: no negative ticks allowed

v6.3.5

Compare Source

==================

  • Upgrade lolex
  • Upgrade @​sinonjs/samsam - fixes minor issue with IE11 introduced in 6.3.4

v6.3.4

Compare Source

==================

  • Update samsam, puppeteer and rollup
  • Fix #​1850 (keep context in fakes)

v6.3.3

Compare Source

==================

  • Upgrade formatio, samsam, nise and referee

v6.3.2

Compare Source

==================

  • Adds guard for empty properties in deepEqual when a matcher is provided (#​1901)

v6.3.1

Compare Source

==================

  • Fix use of non-cached reference to forEach

v6.3.0

Compare Source

==================

  • Allow providing stubs overrides for sinon.createStubInstance (#​1864)
  • Bump Lolex to 2.7.4 to include IE fixes for performance.mark

v6.2.0

Compare Source

==================

  • Add mock.usingPromise to set the Promise library for mock expectations

v6.1.6

Compare Source

==================

  • Upgrade Lolex, Nise and other dependencies

v6.1.5

Compare Source

==================

  • Fix #​1796, failing to stub Array.prototype.sort

v6.1.4

Compare Source

==================

  • Update lolex and nise dependencies to latest versions

v6.1.3

Compare Source

==================

  • Fix issue with matchers and cyclic references (#​1709)

v6.1.2

Compare Source

==================

  • Made callsArg, returnsArg, and throwsArg more strict (#​1848)

v6.1.1

Compare Source

==================

  • Restore useFakeXMLHttpRequest correctly in default sandbox (#​1840)

v6.1.0

Compare Source

==================

  • Syntax sugar for resolvesArg (#​1846)

v6.0.1

Compare Source

==================

  • Add fake behaviors to sandbox (#​1815)

v6.0.0

Compare Source

==================

  • Export Sinon and its functions as an EcmaScript module (#​1809 and #​1835)
  • Document/test call ordering checks

v5.1.1

Compare Source

==================

  • Remove ES2015 'module' field for 5x branch (fix in seperate branch - see tag)

v5.1.0

Compare Source

==================

v5.0.10

Compare Source

==================

  • Remove functions shadowing time related sandbox methods (#​1802)

v5.0.9

Compare Source

==================

  • Upgrade @std/esm to esm.

v5.0.8

Compare Source

==================

  • Add isSealed check to is-es-module to make certain ESM mocks possible

v5.0.7

Compare Source

==================

v5.0.6

Compare Source

==================

  • Remove support-sinon.js as postinstall banner

v5.0.5

Compare Source

==================

  • Refuse to replace already replaced values (#​1779)

v5.0.4

Compare Source

==================

  • Fix #​1781: Reject non-function values a f argument to fake

v5.0.3

Compare Source

==================

  • Fix #​1775: Default sandbox does not restore stubs, spies, mocks

v5.0.2

Compare Source

==================

  • Reset history on sandbox reset (#​1770)

v5.0.1

Compare Source

==================

  • Remove functions shadowing time related sandbox methods (#​1802)

v5.0.0

Compare Source

v4.5.0

Compare Source

==================

  • Add .lastArg and .callback to spy call

v4.4.10

Compare Source

v4.4.9

Compare Source

==================

  • Fix #​1746: Remove dependency on ES2015 code from post-install script

v4.4.8

Compare Source

==================

  • Fix 1743: Add scripts/support-sinon.js to package

v4.4.6

Compare Source

==================

  • Return returned value of invokant when using yields_ and callsArg_ (#​1724)

v4.4.5

Compare Source

==================

  • Add postinstall banner pointing to Open Collective

v4.4.4

Compare Source

==================

v4.4.3

Compare Source

==================

  • Fix inconsistent newline usage for %D in spy.printf (#​1717)

v4.4.2

Compare Source

==================

  • Add descriptive error message on attempt to call argument that is not a function (#​1695)

v4.4.1

Compare Source

==================

  • Docs: make it clear that it is possible to use assert with spy calls (#​1688)

v4.4.0

Compare Source

==================

  • Change return value of yield and callArg

v4.3.0

Compare Source

==================

  • add calledOnceWithExactly assertion (#​1247)

v4.2.3

Compare Source

==================

v4.2.2

Compare Source

==================

  • Fix #​1638: Make resetHistory work for props

v4.2.1

Compare Source

==================

  • Performance: spend less time stubbing methods (#​1627)

v4.2.0

Compare Source

==================

v4.1.6

Compare Source

==================

  • Fix bad build, missing nise@1.2.0 (#​1656)
  • Upgrade dependency supports-color

v4.1.5

Compare Source

==================

  • Use nise.fakeServer as the sandbox serverPrototype (#​1534)

v4.1.4

Compare Source

==================

  • Fix: assertion error messages did not handle Symbol names (#​1640)
  • Deprecate spy.reset(), use spy.resetHistory() instead (#​1446)

v4.1.3

Compare Source

==================

  • Spy passes through calling with new (#​1626)

v4.1.2

Compare Source

==================

  • Update Lolex to include fix for #​872
  • Remove deprecated methods from documentation (#​1613)

v4.1.1

Compare Source

==================

  • Remove "engines" from package.json

v4.1.0

Compare Source

==================

  • Add sandbox.createStubInstance (#​1598)

v4.0.2

Compare Source

==================

  • Update 'nise' to latest version (#​1593)
  • Use supports-color module to test if system supports colors
  • Upgrade mocha to v4.0.0
  • Make samsam a development dependency
  • Make native-promise-only a development dependency

v4.0.1

Compare Source

==================

  • Upgrade nise and lolex versions (#​1579)

v4.0.0

Compare Source

==================

  • Explicitly update fake xhr lib 'nise'
  • Remove accidental dependency to "build"
  • Remove support for stubbing undefined props (#​1557)

v3.3.0

Compare Source

==================

  • Adds sinon.match.hasNested
  • fix 'callThrough with a mock expectation' (#​1442)
  • Documentation updates
  • Allow custom defined instance checks if supported

v3.2.1

Compare Source

==================

  • resolvesThis should override previous throws
  • preserve context of functions from nise: fakeServer, fakeServerWithClock
  • Fix regression for issue #​1526 regarding onFirstCall().throws()
  • Fix docs regression introduced by #​1523

v3.2.0

Compare Source

==================

v3.1.0

Compare Source

==================

  • Lots of documentation updates
  • Fix regression on sandbox.stub(obj,protoMethod)
  • Add factory functions for sandbox and fake server
  • Add support for passing a function to stub.throws(...). (#​1511)

v3.0.0

Compare Source

==================

  • Remove deprecated exports (see migration guide)
  • Fix #​1432: add details around expectations.withArgs behavior to docs (#​1501)
  • Fix #​1487: incorrect withArgs().returnValue
  • add format.setFormatter
  • Upgrade lolex to 2.1.2
  • Extract fakeXhr, fakeServer and fakeServerWithClock into own module nise and re-import it to keep api the same

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/sinon-9.x branch from 8378502 to 3742d6a Compare March 10, 2020 09:12
@renovate renovate bot force-pushed the renovate/sinon-9.x branch from 3742d6a to 350a359 Compare April 29, 2020 02:58
@renovate renovate bot force-pushed the renovate/sinon-9.x branch from 350a359 to ca45433 Compare May 24, 2020 14:05
@thomseddon thomseddon force-pushed the master branch 2 times, most recently from 08f0399 to b84778b Compare May 24, 2020 14:16
@renovate renovate bot force-pushed the renovate/sinon-9.x branch from ca45433 to 0c3564d Compare May 24, 2020 14:26
@thomseddon thomseddon merged commit 6997303 into master May 24, 2020
@renovate renovate bot deleted the renovate/sinon-9.x branch May 24, 2020 14:29
thomseddon added a commit that referenced this pull request May 30, 2020
This reverts commit 6997303, reversing
changes made to b84778b.
thomseddon added a commit that referenced this pull request May 30, 2020
This reverts commit 6997303, reversing
changes made to b84778b.
sambacha pushed a commit to sambacha/node-oauth2-server that referenced this pull request Sep 27, 2020
* Compute the correct redirect_uri in case of resource over denies access

According to https://tools.ietf.org/html/rfc6749#section-4.1.2.1
once the redirect_uri & client_id is correct authorization server should
inform the clinet, that user denied access.

The change is to move validation of resource owner approval after the
redirect_uri & client identifier validation so the correct redirect url
is computed

* Remove commented code

* Note we're now also seeking reviewers

* Update readme with link to v5-dev branch

* Add renovate.json

* Add link to examples repo. Closes oauthjs#571

* Update dependency bluebird to v3.7.2

* Update dependency jshint to v2.11.0

* Update dependency mocha to v3.5.3

* Update dependency sinon to v2.4.1

* Update dependency statuses to v1.5.0

* Update dependency basic-auth to v2

* Update node versions

* Bump lodash from 4.17.4 to 4.17.15

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.4...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>

* Update dependency type-is to v1.6.18

* Update dependency should to v13

* add codecoverage and upgrade packages

* Update dependency jshint to v2.11.1

* Drop support for node 4/6/8 and add tests for 14

* Update dependency sinon to v9

* Update dependency mocha to v7

* Release 3.0.2 🎉

* Release 3.0.2 🎉

* Revert "Drop support for node 4/6/8 and add tests for 14"

This reverts commit b84778b.

* Revert "Merge pull request oauthjs#596 from oauthjs/renovate/mocha-7.x"

This reverts commit cb2bb88, reversing
changes made to 6997303.

* Revert "Merge pull request oauthjs#602 from oauthjs/renovate/sinon-9.x"

This reverts commit 6997303, reversing
changes made to b84778b.

* Bump mocha and sinon to lastest versions supporting node v4

* Add testing for node v14

* Update readme with project status update

* remove renovate in favour of dependabot

* Add FUNDING.yml (oauthjs#630)

* Updated .gitignore

* Changed 'hasOwnProperty' call in Request

* Changed 'hasOwnProperty' call in Response

* set numArgs for promisify of generateAuthorizationCode

* readme: Update Slack badge and link

* fix: issue correct expiry dates for tokens oauthjs#444

related to a NodeJS (nodejs/node#7074) and furthermore
V8 bug (https://bugs.chromium.org/p/v8/issues/detail?id=3637); replaced
seconds calculation with milliseconds.

* Merge pull request oauthjs#451 from razvanz/fix/validate-scope-on-authorize

 fix: validate requested scope on authorize request

* Merge pull request oauthjs#491 from mattgrande/master

docs: Ensure accessTokenExpiresAt is required

* Merge pull request oauthjs#471 from smartrecruiters/fix-migration-documentaiton

docs: Correct tokens time scale for 2.x to 3.x  migration guide

* Updated changelog

* Tag 3.1.0-rc1

* 3.1.0 bump

* Bump lodash from 4.17.15 to 4.17.19

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* v3.1.1 (oauthjs#636)

* Bump jshint from 2.11.1 to 2.12.0 (oauthjs#640)

Bumps [jshint](https://github.com/jshint/jshint) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/jshint/jshint/releases)
- [Changelog](https://github.com/jshint/jshint/blob/master/CHANGELOG.md)
- [Commits](jshint/jshint@2.11.1...2.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Set WWW-Authenticate header for invalid requests

This adds the WWW-Authenticate header for InvalidRequestError, InvalidTokenError,
and InsufficientScopeError, as specified in RFC 6750, Section 3

Fixes oauthjs#553

* cherry pick

* rm lock

* fix: lint erros

* fix grant types

* custom types init

* Update .travis.yml

* git merge artifact

Co-authored-by: Igor Czechowski <i.czechowski@smartrecruiters.com>
Co-authored-by: Szymon Kiebzak <s.kiebzak@smartrecruiters.com>
Co-authored-by: Thom Seddon <thom@seddonmedia.co.uk>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>
Co-authored-by: mjsalinger <mjsalinger@gmail.com>
Co-authored-by: Pritilender <sajn_ap@live.com>
Co-authored-by: nkzawa <naoyuki.kanezawa@gmail.com>
Co-authored-by: Max Truxa <dev@maxtruxa.com>
Co-authored-by: Razvan <razvanz@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Jonas Hermsmeier <jonas.hermsmeier@klarna.com>
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.

2 participants