Skip to content

Update Node.js to v14.2.0 - autoclosed - #685

Closed
renovate[bot] wants to merge 1 commit into
v-nextfrom
renovate/node-14.x
Closed

Update Node.js to v14.2.0 - autoclosed#685
renovate[bot] wants to merge 1 commit into
v-nextfrom
renovate/node-14.x

Conversation

@renovate

@renovaterenovateBot commented May 5, 2020

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

PackageTypeUpdateChange
nodeenginesminor14.1.0 -> 14.2.0

Release Notes

nodejs/node

v14.2.0

Compare Source

Notable Changes
Track function calls with assert.CallTracker (experimental)

assert.CallTracker is a new experimental API that allows to track and later
verify the number of times a function was called. This works by creating a
CallTracker object and using its calls method to create wrapper functions
that will count each time they are called. Then the verify method can be used
to assert that the expected number of calls happened:

constassert=require('assert');consttracker=newassert.CallTracker();functionfunc(){}// callsfunc() must be called exactly twice before tracker.verify().constcallsfunc=tracker.calls(func,2);callsfunc();callsfunc();functionotherFunc(){}// The second parameter defaults to `1`.constcallsotherFunc=tracker.calls(otherFunc);callsotherFunc();// Calls tracker.verify() and verifies if all tracker.calls() functions have// been called the right number of times.process.on('exit',()=>{tracker.verify();});

Additionally, tracker.report() will return an array which contains information
about the errors, if there are any:

constassert=require('assert');consttracker=newassert.CallTracker();functionfunc(){}constcallsfunc=tracker.calls(func);console.log(tracker.report());/*[ { message: 'Expected the func function to be executed 1 time(s) but was executed 0 time(s).', actual: 0, expected: 1, operator: 'func', stack: Error ... }]*/

Contributed by ConorDavenport - #​31982.

Console groupIndentation option

The Console constructor (require('console').Console) now supports different group indentations.

This is useful in case you want different grouping width than 2 spaces.

const{ Console }=require('console');constcustomConsole=newConsole({stdout: process.stdout,stderr: process.stderr,groupIndentation: 10});customConsole.log('foo');// 'foo'customConsole.group();customConsole.log('foo');// 'foo'

Contributed by rickyes - #​32964.

Commits
Semver-minor commits
  • [c87ed21fdf] - (SEMVER-MINOR)assert: port common.mustCall() to assert (ConorDavenport) #​31982
  • [c49e3ea20c] - (SEMVER-MINOR)console: support console constructor groupIndentation option (rickyes) #​32964
  • [bc9e413dae] - (SEMVER-MINOR)worker: add stack size resource limit option (Anna Henningsen) #​33085
Semver-patch commits
Documentation commits
Other commits

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
renovateBot requested a review from a teamMay 5, 2020 18:36
@renovate
renovateBotforce-pushed the renovate/node-14.x branch 4 times, most recently from f1c546a to 0a4465eCompareMay 7, 2020 22:46
@renovate
renovateBotforce-pushed the renovate/node-14.x branch from 0a4465e to aaabc2aCompareMay 7, 2020 22:53
@renovaterenovateBot changed the title Update Node.js to v14.2.0Update Node.js to v14.2.0 - autoclosedMay 7, 2020
@renovaterenovateBot closed this May 7, 2020
@renovate
renovateBot deleted the renovate/node-14.x branch May 7, 2020 23:27
Sign up for freeto 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.

1 participant

@renovate-bot