Skip to content

Update Node.js to v19.1.0

Marnes requested to merge renovate/node-19.x into master

This MR contains the following updates:

Package Type Update Change
node image minor 19.0.1-alpine -> 19.1.0-alpine

Release Notes

nodejs/node

v19.1.0: 2022-11-14, Version 19.1.0 (Current), @​RafaelGSS

Compare Source

Notable changes
Support function mocking on Node.js test runner

The node:test module supports mocking during testing via a top-level mock object.

test('spies on an object method', (t) => {
  const number = {
    value: 5,
    add(a) {
      return this.value + a;
    },
  };
  t.mock.method(number, 'add');

  assert.strictEqual(number.add(3), 8);
  assert.strictEqual(number.add.mock.calls.length, 1);
});

Contributed by Colin Ihrig in #​45326

fs.watch recursive support on Linux

fs.watch supports recursive watch using the recursive: true option.

const watcher = fs.watch(testDirectory, { recursive: true });
watcher.on('change', function(event, filename) {
});

Contributed by Yagiz Nizipli in #​45098

Other notable changes
  • deps
    • update ICU to 72.1 (Michaël Zasso) #​45068
  • doc
    • add lukekarrys to collaborators (Luke Karrys) #​45180
    • add anonrig to collaborators (Yagiz Nizipli) #​45002
  • lib
    • drop fetch experimental warning (Matteo Collina) #​45287
  • util
    • (SEMVER-MINOR) add MIME utilities (Bradley Farias) #​21128
    • improve textdecoder decode performance (Yagiz Nizipli) #​45294
Commits

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Merge request reports