Skip to content

Commits

Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Dec 17, 2023

  1. assert,crypto: make KeyObject and CryptoKey testable for equality

    PR-URL: #50897
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Dec 17, 2023
    Copy the full SHA
    0afe731 View commit details
    Browse the repository at this point in the history
  2. crypto: update CryptoKey symbol properties

    PR-URL: #50897
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    panva authored and nodejs-github-bot committed Dec 17, 2023
    Copy the full SHA
    f505a22 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. watch: fix infinite loop when passing --watch=true flag

    PR-URL: #51160
    Fixes: #51159
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    pulkit-30 committed Dec 16, 2023
    Copy the full SHA
    154afbe View commit details
    Browse the repository at this point in the history
  2. doc: fix simdjson wrong link

    PR-URL: #51177
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    marco-ippolito committed Dec 16, 2023
    Copy the full SHA
    dbafb67 View commit details
    Browse the repository at this point in the history
  3. deps: update zlib to 1.3.0.1-motley-dd5fc13

    PR-URL: #51105
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    nodejs-github-bot committed Dec 16, 2023
    Copy the full SHA
    fa18378 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. doc: add documentation for --build-snapshot-config

    PR-URL: #50453
    Refs: #42566
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    addaleax authored and joyeecheung committed Dec 15, 2023
    Copy the full SHA
    62ca050 View commit details
    Browse the repository at this point in the history
  2. src: support configurable snapshot

    - Add support for --build-snapshot-config which allows passing
      snapshot configurations via a JSON configuration file.
    - Add support for node::SnapshotConfig in the embedder API
    
    The initial configurable options are:
    
    - "builder" (SnapshotConfig::builder_script_path): path to the
      builder script.
    - "withoutCodeCache" (SnapshotFlags::kWithoutCodeCache): disable
      code cache generation.
    
    PR-URL: #50453
    Refs: #42566
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    joyeecheung committed Dec 15, 2023
    Copy the full SHA
    fea74b0 View commit details
    Browse the repository at this point in the history
  3. crypto: move createCipher and createDecipher to eol

    PR-URL: #50973
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    marco-ippolito committed Dec 15, 2023
    Copy the full SHA
    215f4d0 View commit details
    Browse the repository at this point in the history
  4. stream: implement TransformStream cleanup using "transformer.cancel"

    Fixes: #49971
    PR-URL: #50126
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    debadree25 committed Dec 15, 2023
    Copy the full SHA
    7a2a4d0 View commit details
    Browse the repository at this point in the history
  5. test_runner: format coverage report for tap reporter

    PR-URL: #51119
    Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    pulkit-30 committed Dec 15, 2023
    Copy the full SHA
    452d29c View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. test: deflake test-diagnostics-channel-memory-leak

    PR-URL: #50572
    Refs: v8/v8@0fd478b
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    5ac6581 View commit details
    Browse the repository at this point in the history
  2. src: implement countObjectsWithPrototype

    This implements an internal utility for counting objects
    in the heap with a specified prototype. In addition this
    adds a checkIfCollectableByCounting() test helper.
    
    PR-URL: #50572
    Refs: v8/v8@0fd478b
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    58491eb View commit details
    Browse the repository at this point in the history
  3. deps: V8: cherry-pick 0fd478bcdabd

    Original commit message:
    
        [heap-profiler]: expose QueryObjects() to v8::HeapProfiler
    
        This allows embedders to use this API for testing memory leaks more
        reliably. See #50572 for an
        example about how the API can be used.
    
        Change-Id: Ic3d1268e2b331c37e8ec92997b764b9b5486f8c2
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5006373
        Reviewed-by: Camillo Bruni <cbruni@chromium.org>
        Reviewed-by: Simon Zünd <szuend@chromium.org>
        Commit-Queue: Joyee Cheung <joyee@igalia.com>
        Cr-Commit-Position: refs/heads/main@{#91123}
    
    Refs: v8/v8@0fd478b
    PR-URL: #50572
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    bafbb6a View commit details
    Browse the repository at this point in the history
  4. test: test syncrhnous methods of child_process in snapshot

    These currently work in snapshot builder scripts. Asynchronous
    methods are not supported yet.
    
    PR-URL: #50943
    Refs: #50924
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    5fd5c1e View commit details
    Browse the repository at this point in the history
  5. src: register udp_wrap external references

    PR-URL: #50943
    Refs: #50924
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    4d49aff View commit details
    Browse the repository at this point in the history
  6. src: register spawn_sync external references

    PR-URL: #50943
    Refs: #50924
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    0473d32 View commit details
    Browse the repository at this point in the history
  7. src: register process_wrap external references

    PR-URL: #50943
    Refs: #50924
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    b27f1ca View commit details
    Browse the repository at this point in the history
  8. vm: use v8::DeserializeInternalFieldsCallback explicitly

    To avoid ambiguity in the signature.
    
    PR-URL: #50984
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Dec 14, 2023
    Copy the full SHA
    429ec83 View commit details
    Browse the repository at this point in the history
  9. http: preserve raw header duplicates in writeHead after setHeader calls

    writeHead accepts a raw header array, which is intended to allow
    directly specifying raw header details, such as ordering, duplicates
    and header key casing. When used by itself this works correctly.
    
    However, if setHeader was called first, it effectively changed the
    behaviour of subsequent writeHead calls, so that even if a raw header
    array was provided, duplicates were collapsed, losing raw header data.
    
    This change preserves the raw headers passed to writeHead, while still
    maintaining the 'writeHead overwrites setHeader' behaviour.
    
    PR-URL: #50394
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    pimterry committed Dec 14, 2023
    Copy the full SHA
    4b76cce View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. test: handle relative https redirect

    Fix `internet/test-inspector-help-page` to handle the relative
    redirect of `https://nodejs.org/en/docs/inspector` to
    `/en/docs/guides/debugging-getting-started`. Previously this
    URL redirected to an absolute URL.
    
    PR-URL: #51121
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    richardlau committed Dec 13, 2023
    Copy the full SHA
    99f6084 View commit details
    Browse the repository at this point in the history
  2. module: load source maps in commonjs translator

    PR-URL: #51033
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    privatenumber committed Dec 13, 2023
    Copy the full SHA
    228bc5c View commit details
    Browse the repository at this point in the history
  3. doc: run license-builder

    PR-URL: #51111
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    github-actions[bot] committed Dec 13, 2023
    Copy the full SHA
    4e26a59 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. tools: update lint-md-dependencies to rollup@4.7.0

    PR-URL: #51106
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot committed Dec 12, 2023
    Copy the full SHA
    1b60054 View commit details
    Browse the repository at this point in the history
  2. fs: throw fchownSync error from c++

    PR-URL: #51075
    Refs: nodejs/performance#106
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    anonrig committed Dec 12, 2023
    Copy the full SHA
    3551dc0 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. src: fix double free reported by coverity

    Fix double free reported by coverity. ToBufferEndian()
    in node_i18n.cc was the only caller of Buffer::New() passing
    in a MaybeStackBuffer. Coverity reported a double free
    because there were paths in which the src buffer would
    be deleted by both the destruction of the MaybeStackBuffer and
    by the Buffer which was done even in failure cases for
    Buffer::New().
    
    Signed-off-by: Michael Dawson <midawson@redhat.com>
    PR-URL: #51046
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson committed Dec 11, 2023
    Copy the full SHA
    9e87091 View commit details
    Browse the repository at this point in the history
  2. http: handle multi-value content-disposition header

    Headers in nodejs can be arrays and current workaround for
    content-disposition header do not take this into account.
    This change fixes that and makes sure array values are handled
    properly.
    
    PR-URL: #50977
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    ArsalanDotMe committed Dec 11, 2023
    Copy the full SHA
    6e90fed View commit details
    Browse the repository at this point in the history
  3. quic: further implementation details

    PR-URL: #48244
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    jasnell committed Dec 11, 2023
    Copy the full SHA
    fc102f2 View commit details
    Browse the repository at this point in the history
  4. tools: update doc to highlight.js@11.9.0 unified@11.0.4

    And unist-util-select@5.1.0.
    
    PR-URL: #50459
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot committed Dec 11, 2023
    Copy the full SHA
    ab93a35 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. doc: deprecate hash constructor

    PR-URL: #51077
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    marco-ippolito committed Dec 10, 2023
    Copy the full SHA
    ba3f721 View commit details
    Browse the repository at this point in the history
  2. test_runner: fix infinite loop when files are undefined in test runner

    PR-URL: #51047
    Fixes: #48823
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    pulkit-30 committed Dec 10, 2023
    Copy the full SHA
    f801b58 View commit details
    Browse the repository at this point in the history
  3. bootstrap: improve snapshot unsupported builtin warnings

    - Only emit warning when the snapshot is built. In general built-ins
      loaded after the snapshot is built should work as usual.
    - Clarify what the warning means
    
    PR-URL: #50944
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 10, 2023
    Copy the full SHA
    390061e View commit details
    Browse the repository at this point in the history
  4. src: remove unused headers in node_file.cc

    PR-URL: #50927
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    pluris committed Dec 10, 2023
    Copy the full SHA
    a768d89 View commit details
    Browse the repository at this point in the history
  5. benchmark: update iterations in benchmark/perf_hooks

    Fixes: #50571
    PR-URL: #50869
    Refs: #50571
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lucshi committed Dec 10, 2023
    Copy the full SHA
    3b758b3 View commit details
    Browse the repository at this point in the history
  6. util: improve performance of function areSimilarFloatArrays

    Improve performance of areSimilarFloatArrays by using primordial.
    
    Refs: #50621
    PR-URL: #51040
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Septa2112 committed Dec 10, 2023
    Copy the full SHA
    1045f28 View commit details
    Browse the repository at this point in the history
  7. test: fix test runner colored output test

    PR-URL: #51064
    Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MoLow committed Dec 10, 2023
    Copy the full SHA
    cb08703 View commit details
    Browse the repository at this point in the history
Older