<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node-new.git/lib/assert.js, branch main</title>
<subtitle>github.com: nodejs/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/'/>
<entry>
<title>assert: deprecate callTracker</title>
<updated>2023-04-29T06:57:08+00:00</updated>
<author>
<name>Moshe Atlow</name>
<email>moshe@atlow.co.il</email>
</author>
<published>2023-04-29T06:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=adf332be32a32120b2d4bcac2efe6ad8f9a6d37d'/>
<id>adf332be32a32120b2d4bcac2efe6ad8f9a6d37d</id>
<content type='text'>
PR-URL: https://github.com/nodejs/node/pull/47740
Fixes: https://github.com/nodejs/node/issues/47492
Reviewed-By: Erick Wendel &lt;erick.workspace@gmail.com&gt;
Reviewed-By: Benjamin Gruenbaum &lt;benjamingr@gmail.com&gt;
Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR-URL: https://github.com/nodejs/node/pull/47740
Fixes: https://github.com/nodejs/node/issues/47492
Reviewed-By: Erick Wendel &lt;erick.workspace@gmail.com&gt;
Reviewed-By: Benjamin Gruenbaum &lt;benjamingr@gmail.com&gt;
Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>src: bootstrap prepare stack trace callback in shadow realm</title>
<updated>2023-04-04T01:13:37+00:00</updated>
<author>
<name>Chengzhong Wu</name>
<email>legendecas@gmail.com</email>
</author>
<published>2023-04-04T01:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=3a014dc38aa6a85c8a9ada0e62294e165e9d4367'/>
<id>3a014dc38aa6a85c8a9ada0e62294e165e9d4367</id>
<content type='text'>
Bootstrap per-realm callbacks like `prepare_stack_trace_callback` in
the ShadowRealm. This enables stack trace decoration in the ShadowRealm.

PR-URL: https://github.com/nodejs/node/pull/47107
Reviewed-By: Yagiz Nizipli &lt;yagiz@nizipli.com&gt;
Reviewed-By: Matteo Collina &lt;matteo.collina@gmail.com&gt;
Reviewed-By: Joyee Cheung &lt;joyeec9h3@gmail.com&gt;
Reviewed-By: Colin Ihrig &lt;cjihrig@gmail.com&gt;
Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bootstrap per-realm callbacks like `prepare_stack_trace_callback` in
the ShadowRealm. This enables stack trace decoration in the ShadowRealm.

PR-URL: https://github.com/nodejs/node/pull/47107
Reviewed-By: Yagiz Nizipli &lt;yagiz@nizipli.com&gt;
Reviewed-By: Matteo Collina &lt;matteo.collina@gmail.com&gt;
Reviewed-By: Joyee Cheung &lt;joyeec9h3@gmail.com&gt;
Reviewed-By: Colin Ihrig &lt;cjihrig@gmail.com&gt;
Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>lib: add trailing commas to all public core modules</title>
<updated>2023-02-28T11:10:24+00:00</updated>
<author>
<name>Antoine du Hamel</name>
<email>duhamelantoine1995@gmail.com</email>
</author>
<published>2023-02-12T18:26:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=9dbb1623ffd6e06b5df0c74beaf3f4ee0a17c8e5'/>
<id>9dbb1623ffd6e06b5df0c74beaf3f4ee0a17c8e5</id>
<content type='text'>
PR-URL: https://github.com/nodejs/node/pull/46848
Reviewed-By: Debadree Chatterjee &lt;debadree333@gmail.com&gt;
Reviewed-By: Moshe Atlow &lt;moshe@atlow.co.il&gt;
Reviewed-By: Anatoli Papirovski &lt;apapirovski@mac.com&gt;
Reviewed-By: Benjamin Gruenbaum &lt;benjamingr@gmail.com&gt;
Reviewed-By: Rafael Gonzaga &lt;rafael.nunu@hotmail.com&gt;
Reviewed-By: Jiawen Geng &lt;technicalcute@gmail.com&gt;
Reviewed-By: Trivikram Kamat &lt;trivikr.dev@gmail.com&gt;
Reviewed-By: Yongsheng Zhang &lt;zyszys98@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR-URL: https://github.com/nodejs/node/pull/46848
Reviewed-By: Debadree Chatterjee &lt;debadree333@gmail.com&gt;
Reviewed-By: Moshe Atlow &lt;moshe@atlow.co.il&gt;
Reviewed-By: Anatoli Papirovski &lt;apapirovski@mac.com&gt;
Reviewed-By: Benjamin Gruenbaum &lt;benjamingr@gmail.com&gt;
Reviewed-By: Rafael Gonzaga &lt;rafael.nunu@hotmail.com&gt;
Reviewed-By: Jiawen Geng &lt;technicalcute@gmail.com&gt;
Reviewed-By: Trivikram Kamat &lt;trivikr.dev@gmail.com&gt;
Reviewed-By: Yongsheng Zhang &lt;zyszys98@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>assert: fix exception message for assert(0) on try catch block</title>
<updated>2023-02-26T18:18:50+00:00</updated>
<author>
<name>hidecology</name>
<email>hidecology0302@gmail.com</email>
</author>
<published>2023-02-26T18:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=3c0131a4190a88211780dcc07dbaf84c8de97f34'/>
<id>3c0131a4190a88211780dcc07dbaf84c8de97f34</id>
<content type='text'>
Fixes: https://github.com/nodejs/node/issues/30872
PR-URL: https://github.com/nodejs/node/pull/46760
Reviewed-By: Ruben Bridgewater &lt;ruben@bridgewater.de&gt;
Reviewed-By: Kohei Ueno &lt;kohei.ueno119@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: https://github.com/nodejs/node/issues/30872
PR-URL: https://github.com/nodejs/node/pull/46760
Reviewed-By: Ruben Bridgewater &lt;ruben@bridgewater.de&gt;
Reviewed-By: Kohei Ueno &lt;kohei.ueno119@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>assert: remove deprecated getFunction() usage</title>
<updated>2023-02-20T10:34:38+00:00</updated>
<author>
<name>Ruben Bridgewater</name>
<email>ruben@bridgewater.de</email>
</author>
<published>2023-02-20T10:34:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=43c380e9b6307514668809f18fc2e181247047e4'/>
<id>43c380e9b6307514668809f18fc2e181247047e4</id>
<content type='text'>
The method is meant to be removed by the V8 team. It is not a
critical functionality that is removed, therefore no alternative
is checked for either.

Refs: https://bugs.chromium.org/p/v8/issues/detail?id=9421

Signed-off-by: Ruben Bridgewater &lt;ruben@bridgewater.de&gt;
PR-URL: https://github.com/nodejs/node/pull/46661
Reviewed-By: Joyee Cheung &lt;joyeec9h3@gmail.com&gt;
Reviewed-By: Michaël Zasso &lt;targos@protonmail.com&gt;
Reviewed-By: Mohammed Keyvanzadeh &lt;mohammadkeyvanzade94@gmail.com&gt;
Reviewed-By: Ujjwal Sharma &lt;ryzokuken@disroot.org&gt;
Reviewed-By: Colin Ihrig &lt;cjihrig@gmail.com&gt;
Reviewed-By: Luigi Pinca &lt;luigipinca@gmail.com&gt;
Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The method is meant to be removed by the V8 team. It is not a
critical functionality that is removed, therefore no alternative
is checked for either.

Refs: https://bugs.chromium.org/p/v8/issues/detail?id=9421

Signed-off-by: Ruben Bridgewater &lt;ruben@bridgewater.de&gt;
PR-URL: https://github.com/nodejs/node/pull/46661
Reviewed-By: Joyee Cheung &lt;joyeec9h3@gmail.com&gt;
Reviewed-By: Michaël Zasso &lt;targos@protonmail.com&gt;
Reviewed-By: Mohammed Keyvanzadeh &lt;mohammadkeyvanzade94@gmail.com&gt;
Reviewed-By: Ujjwal Sharma &lt;ryzokuken@disroot.org&gt;
Reviewed-By: Colin Ihrig &lt;cjihrig@gmail.com&gt;
Reviewed-By: Luigi Pinca &lt;luigipinca@gmail.com&gt;
Reviewed-By: James M Snell &lt;jasnell@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>lib: enforce use of trailing commas for functions</title>
<updated>2023-02-14T17:45:16+00:00</updated>
<author>
<name>Antoine du Hamel</name>
<email>duhamelantoine1995@gmail.com</email>
</author>
<published>2023-02-14T17:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=fe514bf960ca1243b71657af662e7df29f5b57cf'/>
<id>fe514bf960ca1243b71657af662e7df29f5b57cf</id>
<content type='text'>

PR-URL: https://github.com/nodejs/node/pull/46629
Reviewed-By: Jacob Smith &lt;jacob@frende.me&gt;
Reviewed-By: Geoffrey Booth &lt;webadmin@geoffreybooth.com&gt;
Reviewed-By: Chengzhong Wu &lt;legendecas@gmail.com&gt;
Reviewed-By: Mohammed Keyvanzadeh &lt;mohammadkeyvanzade94@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

PR-URL: https://github.com/nodejs/node/pull/46629
Reviewed-By: Jacob Smith &lt;jacob@frende.me&gt;
Reviewed-By: Geoffrey Booth &lt;webadmin@geoffreybooth.com&gt;
Reviewed-By: Chengzhong Wu &lt;legendecas@gmail.com&gt;
Reviewed-By: Mohammed Keyvanzadeh &lt;mohammadkeyvanzade94@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>assert: remove `assert.snapshot`</title>
<updated>2023-01-07T20:24:24+00:00</updated>
<author>
<name>Moshe Atlow</name>
<email>moshe@atlow.co.il</email>
</author>
<published>2023-01-07T20:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=11e785855306fc652888e385f0804b42b4a4510e'/>
<id>11e785855306fc652888e385f0804b42b4a4510e</id>
<content type='text'>
PR-URL: https://github.com/nodejs/node/pull/46112
Reviewed-By: Geoffrey Booth &lt;webadmin@geoffreybooth.com&gt;
Reviewed-By: Antoine du Hamel &lt;duhamelantoine1995@gmail.com&gt;
Reviewed-By: Luigi Pinca &lt;luigipinca@gmail.com&gt;
Reviewed-By: Tobias Nießen &lt;tniessen@tnie.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR-URL: https://github.com/nodejs/node/pull/46112
Reviewed-By: Geoffrey Booth &lt;webadmin@geoffreybooth.com&gt;
Reviewed-By: Antoine du Hamel &lt;duhamelantoine1995@gmail.com&gt;
Reviewed-By: Luigi Pinca &lt;luigipinca@gmail.com&gt;
Reviewed-By: Tobias Nießen &lt;tniessen@tnie.de&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>assert: add assert.Snapshot</title>
<updated>2022-08-11T13:07:52+00:00</updated>
<author>
<name>Moshe Atlow</name>
<email>moshe@atlow.co.il</email>
</author>
<published>2022-08-11T13:07:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=8f9d1ab5ec3d3fd2ee4c95f1699c3c10b08108b4'/>
<id>8f9d1ab5ec3d3fd2ee4c95f1699c3c10b08108b4</id>
<content type='text'>
PR-URL: https://github.com/nodejs/node/pull/44095
Reviewed-By: Benjamin Gruenbaum &lt;benjamingr@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR-URL: https://github.com/nodejs/node/pull/44095
Reviewed-By: Benjamin Gruenbaum &lt;benjamingr@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>src: disambiguate terms used to refer to builtins and addons</title>
<updated>2022-08-08T17:36:49+00:00</updated>
<author>
<name>Joyee Cheung</name>
<email>joyeec9h3@gmail.com</email>
</author>
<published>2022-08-04T18:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=472edc775d683aed2d9ed39ca7cf381f3e7e3ce2'/>
<id>472edc775d683aed2d9ed39ca7cf381f3e7e3ce2</id>
<content type='text'>
The term "native module" dates back to some of the oldest code
in the code base. Within the context of Node.js core it usually
refers to modules that are native to Node.js (e.g. fs, http),
but it can cause confusion for people who don't work on this
part of the code base, as "native module" can also refer to
native addons - which is even the case in some of the API
docs and error messages.

This patch tries to make the usage of these terms more consistent.
Now within the context of Node.js core:

- JavaScript scripts that are built-in to Node.js are now referred
  to as "built-in(s)". If they are available as modules,
  they can also be referred to as "built-in module(s)".
- Dynamically-linked shared objects that are loaded into
  the Node.js processes are referred to as "addons".

We will try to avoid using the term "native modules" because it could
be ambiguous.

Changes in this patch:

File names:
- node_native_module.h -&gt; node_builtins.h,
- node_native_module.cc -&gt; node_builtins.cc

C++ binding names:
- `native_module` -&gt; `builtins`

`node::Environment`:
- `native_modules_without_cache` -&gt; `builtins_without_cache`
- `native_modules_with_cache` -&gt; `builtins_with_cache`
- `native_modules_in_snapshot` -&gt; `builtins_in_cache`
- `native_module_require` -&gt; `builtin_module_require`

`node::EnvSerializeInfo`:
- `native_modules` -&gt; `builtins

`node::native_module::NativeModuleLoader`:
- `native_module` namespace -&gt; `builtins` namespace
- `NativeModuleLoader` -&gt; `BuiltinLoader`
- `NativeModuleRecordMap` -&gt; `BuiltinSourceMap`
- `NativeModuleCacheMap` -&gt; `BuiltinCodeCacheMap`
- `ModuleIds` -&gt; `BuiltinIds`
- `ModuleCategories` -&gt; `BuiltinCategories`
- `LoadBuiltinModuleSource` -&gt; `LoadBuiltinSource`

`loader.js`:
- `NativeModule` -&gt; `BuiltinModule` (the `NativeModule` name used in
  `process.moduleLoadList` is kept for compatibility)

And other clarifications in the documentation and comments.

PR-URL: https://github.com/nodejs/node/pull/44135
Fixes: https://github.com/nodejs/node/issues/44036
Reviewed-By: Jacob Smith &lt;jacob@frende.me&gt;
Reviewed-By: Matteo Collina &lt;matteo.collina@gmail.com&gt;
Reviewed-By: Michael Dawson &lt;midawson@redhat.com&gt;
Reviewed-By: Richard Lau &lt;rlau@redhat.com&gt;
Reviewed-By: Jiawen Geng &lt;technicalcute@gmail.com&gt;
Reviewed-By: Chengzhong Wu &lt;legendecas@gmail.com&gt;
Reviewed-By: Mohammed Keyvanzadeh &lt;mohammadkeyvanzade94@gmail.com&gt;
Reviewed-By: Tobias Nießen &lt;tniessen@tnie.de&gt;
Reviewed-By: Jan Krems &lt;jan.krems@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The term "native module" dates back to some of the oldest code
in the code base. Within the context of Node.js core it usually
refers to modules that are native to Node.js (e.g. fs, http),
but it can cause confusion for people who don't work on this
part of the code base, as "native module" can also refer to
native addons - which is even the case in some of the API
docs and error messages.

This patch tries to make the usage of these terms more consistent.
Now within the context of Node.js core:

- JavaScript scripts that are built-in to Node.js are now referred
  to as "built-in(s)". If they are available as modules,
  they can also be referred to as "built-in module(s)".
- Dynamically-linked shared objects that are loaded into
  the Node.js processes are referred to as "addons".

We will try to avoid using the term "native modules" because it could
be ambiguous.

Changes in this patch:

File names:
- node_native_module.h -&gt; node_builtins.h,
- node_native_module.cc -&gt; node_builtins.cc

C++ binding names:
- `native_module` -&gt; `builtins`

`node::Environment`:
- `native_modules_without_cache` -&gt; `builtins_without_cache`
- `native_modules_with_cache` -&gt; `builtins_with_cache`
- `native_modules_in_snapshot` -&gt; `builtins_in_cache`
- `native_module_require` -&gt; `builtin_module_require`

`node::EnvSerializeInfo`:
- `native_modules` -&gt; `builtins

`node::native_module::NativeModuleLoader`:
- `native_module` namespace -&gt; `builtins` namespace
- `NativeModuleLoader` -&gt; `BuiltinLoader`
- `NativeModuleRecordMap` -&gt; `BuiltinSourceMap`
- `NativeModuleCacheMap` -&gt; `BuiltinCodeCacheMap`
- `ModuleIds` -&gt; `BuiltinIds`
- `ModuleCategories` -&gt; `BuiltinCategories`
- `LoadBuiltinModuleSource` -&gt; `LoadBuiltinSource`

`loader.js`:
- `NativeModule` -&gt; `BuiltinModule` (the `NativeModule` name used in
  `process.moduleLoadList` is kept for compatibility)

And other clarifications in the documentation and comments.

PR-URL: https://github.com/nodejs/node/pull/44135
Fixes: https://github.com/nodejs/node/issues/44036
Reviewed-By: Jacob Smith &lt;jacob@frende.me&gt;
Reviewed-By: Matteo Collina &lt;matteo.collina@gmail.com&gt;
Reviewed-By: Michael Dawson &lt;midawson@redhat.com&gt;
Reviewed-By: Richard Lau &lt;rlau@redhat.com&gt;
Reviewed-By: Jiawen Geng &lt;technicalcute@gmail.com&gt;
Reviewed-By: Chengzhong Wu &lt;legendecas@gmail.com&gt;
Reviewed-By: Mohammed Keyvanzadeh &lt;mohammadkeyvanzade94@gmail.com&gt;
Reviewed-By: Tobias Nießen &lt;tniessen@tnie.de&gt;
Reviewed-By: Jan Krems &lt;jan.krems@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: refactor to avoid unsafe regex primordials</title>
<updated>2022-06-27T15:16:06+00:00</updated>
<author>
<name>Antoine du Hamel</name>
<email>duhamelantoine1995@gmail.com</email>
</author>
<published>2022-06-27T15:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node-new.git/commit/?id=a055337a027cf52f6cd4c19eb80144ab99b00b58'/>
<id>a055337a027cf52f6cd4c19eb80144ab99b00b58</id>
<content type='text'>

PR-URL: https://github.com/nodejs/node/pull/43475
Reviewed-By: Geoffrey Booth &lt;webadmin@geoffreybooth.com&gt;
Reviewed-By: Stephen Belanger &lt;admin@stephenbelanger.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

PR-URL: https://github.com/nodejs/node/pull/43475
Reviewed-By: Geoffrey Booth &lt;webadmin@geoffreybooth.com&gt;
Reviewed-By: Stephen Belanger &lt;admin@stephenbelanger.com&gt;</pre>
</div>
</content>
</entry>
</feed>
