Skip to content

Commit

Permalink
Merge version 14.0.0
Browse files Browse the repository at this point in the history
* main:
  14.0.0
  Drop node 12
  13.0.2
  Update fake-timers
  master => main
  Bump nokogiri from 1.13.3 to 1.13.4 (#2451)
  Bump minimist from 1.2.5 to 1.2.6 (#2450)
  Bump nokogiri from 1.13.1 to 1.13.3
  Add some jsdoc
  • Loading branch information
mroderick committed May 7, 2022
2 parents cb9ca6c + 242b429 commit 6a83d99
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -3,7 +3,7 @@ name: Node CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- "**"
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
run: bash <(curl -s https://codecov.io/bash) -F unit -s coverage/lcov.info

saucelabs-test:
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:

strategy:
matrix:
node-version: [12, 14, 16]
node-version: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
19 changes: 19 additions & 0 deletions CHANGES.md
@@ -1,5 +1,24 @@
# Changes

## 14.0.0

- [`c2bbd826`](https://github.com/sinonjs/sinon/commit/c2bbd82641444eb5b32822489ae40f185afbbf00)
Drop node 12 (Morgan Roderick)
> And embrace Node 18
>
> See https://nodejs.org/en/about/releases/
_Released by Morgan Roderick on 2022-05-07._

## 13.0.2

- [`bddb631a`](https://github.com/sinonjs/sinon/commit/bddb631aab6afc3e663a5db847c675ea96c90970)
Update fake-timers (Carl-Erik Kopseng)
- [`eaed0eb2`](https://github.com/sinonjs/sinon/commit/eaed0eb24bd8f42b0484b8861a5ff066001da5d5)
Bump nokogiri from 1.13.3 to 1.13.4 (#2451) (dependabot[bot])

_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2022-04-14._

## 13.0.1

- [`ec4223f9`](https://github.com/sinonjs/sinon/commit/ec4223f94076d809483e3c6a7536cfc1278dd3c9)
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Expand Up @@ -205,15 +205,15 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.7.1)
mini_portile2 (2.8.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.14.3)
multipart-post (2.1.1)
nokogiri (1.13.1)
mini_portile2 (~> 2.7.0)
nokogiri (1.13.4)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
octokit (4.20.0)
faraday (>= 0.9)
Expand Down
4 changes: 2 additions & 2 deletions docs/_config.yml
Expand Up @@ -5,8 +5,8 @@ description: >-
url: 'https://sinonjs.org'
github_username: sinonjs
sinon:
current_release: v13.0.1
current_major_version: 13
current_release: v14.0.0
current_major_version: 14
markdown: kramdown
kramdown:
input: GFM
Expand Down
19 changes: 19 additions & 0 deletions docs/changelog.md
Expand Up @@ -6,6 +6,25 @@ permalink: /releases/changelog

# Changelog

## 14.0.0

- [`c2bbd826`](https://github.com/sinonjs/sinon/commit/c2bbd82641444eb5b32822489ae40f185afbbf00)
Drop node 12 (Morgan Roderick)
> And embrace Node 18
>
> See https://nodejs.org/en/about/releases/
_Released by Morgan Roderick on 2022-05-07._

## 13.0.2

- [`bddb631a`](https://github.com/sinonjs/sinon/commit/bddb631aab6afc3e663a5db847c675ea96c90970)
Update fake-timers (Carl-Erik Kopseng)
- [`eaed0eb2`](https://github.com/sinonjs/sinon/commit/eaed0eb24bd8f42b0484b8861a5ff066001da5d5)
Bump nokogiri from 1.13.3 to 1.13.4 (#2451) (dependabot[bot])

_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2022-04-14._

## 13.0.1

- [`ec4223f9`](https://github.com/sinonjs/sinon/commit/ec4223f94076d809483e3c6a7536cfc1278dd3c9)
Expand Down
1 change: 1 addition & 0 deletions lib/sinon/default-behaviors.js
Expand Up @@ -269,6 +269,7 @@ var defaultBehaviors = {
Object.defineProperty(rootStub.rootObj, rootStub.propName, {
value: newVal,
enumerable: true,
writable: true,
configurable:
rootStub.shadowsPropOnPrototype ||
isPropertyConfigurable(rootStub.rootObj, rootStub.propName),
Expand Down
14 changes: 14 additions & 0 deletions lib/sinon/proxy-call.js
Expand Up @@ -14,6 +14,11 @@ var map = arrayProto.map;
var reduce = arrayProto.reduce;
var slice = arrayProto.slice;

/**
* @param proxy
* @param text
* @param args
*/
function throwYieldError(proxy, text, args) {
var msg = functionName(proxy) + text;
if (args.length) {
Expand Down Expand Up @@ -250,6 +255,15 @@ Object.defineProperty(callProto, "stack", {

callProto.invokeCallback = callProto.yield;

/**
* @param proxy
* @param thisValue
* @param args
* @param returnValue
* @param exception
* @param id
* @param errorWithCallStack
*/
function createProxyCall(
proxy,
thisValue,
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -15,7 +15,7 @@
"xhr",
"assert"
],
"version": "13.0.1",
"version": "14.0.0",
"homepage": "https://sinonjs.org/",
"author": "Christian Johansen",
"repository": {
Expand Down Expand Up @@ -74,7 +74,7 @@
},
"dependencies": {
"@sinonjs/commons": "^1.8.3",
"@sinonjs/fake-timers": "^9.0.0",
"@sinonjs/fake-timers": "^9.1.2",
"@sinonjs/samsam": "^6.1.1",
"diff": "^5.0.0",
"nise": "^5.1.1",
Expand Down

0 comments on commit 6a83d99

Please sign in to comment.