node-linux-arm64 21.7.3 → 22.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +470 -1502
- package/LICENSE +3 -33
- package/README.md +61 -55
- package/bin/node +0 -0
- package/include/node/common.gypi +29 -2
- package/include/node/config.gypi +9 -7
- package/include/node/cppgc/internal/api-constants.h +1 -1
- package/include/node/cppgc/type-traits.h +25 -4
- package/include/node/node.h +24 -2
- package/include/node/node_api.h +1 -1
- package/include/node/node_buffer.h +1 -1
- package/include/node/node_version.h +4 -4
- package/include/node/v8-array-buffer.h +6 -0
- package/include/node/v8-callbacks.h +6 -12
- package/include/node/v8-container.h +54 -0
- package/include/node/v8-context.h +51 -22
- package/include/node/v8-embedder-heap.h +19 -3
- package/include/node/v8-embedder-state-scope.h +2 -1
- package/include/node/v8-exception.h +15 -9
- package/include/node/v8-forward.h +1 -0
- package/include/node/v8-function-callback.h +129 -20
- package/include/node/v8-handle-base.h +32 -80
- package/include/node/v8-internal.h +472 -65
- package/include/node/v8-isolate.h +86 -51
- package/include/node/v8-local-handle.h +257 -31
- package/include/node/v8-memory-span.h +157 -2
- package/include/node/v8-message.h +22 -3
- package/include/node/v8-object.h +29 -10
- package/include/node/v8-persistent-handle.h +5 -3
- package/include/node/v8-platform.h +81 -44
- package/include/node/v8-script.h +61 -11
- package/include/node/v8-snapshot.h +94 -23
- package/include/node/v8-statistics.h +10 -24
- package/include/node/v8-template.h +410 -131
- package/include/node/v8-traced-handle.h +81 -46
- package/include/node/v8-typed-array.h +115 -7
- package/include/node/v8-value.h +92 -4
- package/include/node/v8-version.h +4 -4
- package/include/node/v8config.h +35 -10
- package/package.json +1 -1
- package/share/doc/node/gdbinit +77 -38
- package/share/doc/node/lldb_commands.py +59 -29
- package/share/man/man1/node.1 +12 -7
package/LICENSE
CHANGED
|
@@ -136,7 +136,7 @@ The externally maintained libraries used by Node.js are:
|
|
|
136
136
|
|
|
137
137
|
COPYRIGHT AND PERMISSION NOTICE
|
|
138
138
|
|
|
139
|
-
Copyright © 2016-
|
|
139
|
+
Copyright © 2016-2024 Unicode, Inc.
|
|
140
140
|
|
|
141
141
|
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
142
142
|
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
@@ -172,6 +172,8 @@ The externally maintained libraries used by Node.js are:
|
|
|
172
172
|
dealings in these Data Files or Software without prior written
|
|
173
173
|
authorization of the copyright holder.
|
|
174
174
|
|
|
175
|
+
SPDX-License-Identifier: Unicode-3.0
|
|
176
|
+
|
|
175
177
|
----------------------------------------------------------------------
|
|
176
178
|
|
|
177
179
|
Third-Party Software Licenses
|
|
@@ -2376,35 +2378,3 @@ The externally maintained libraries used by Node.js are:
|
|
|
2376
2378
|
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
2377
2379
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2378
2380
|
"""
|
|
2379
|
-
|
|
2380
|
-
- base64, located at deps/base64/base64/, is licensed as follows:
|
|
2381
|
-
"""
|
|
2382
|
-
Copyright (c) 2005-2007, Nick Galbreath
|
|
2383
|
-
Copyright (c) 2015-2018, Wojciech Muła
|
|
2384
|
-
Copyright (c) 2016-2017, Matthieu Darbois
|
|
2385
|
-
Copyright (c) 2013-2022, Alfred Klomp
|
|
2386
|
-
All rights reserved.
|
|
2387
|
-
|
|
2388
|
-
Redistribution and use in source and binary forms, with or without
|
|
2389
|
-
modification, are permitted provided that the following conditions are
|
|
2390
|
-
met:
|
|
2391
|
-
|
|
2392
|
-
- Redistributions of source code must retain the above copyright notice,
|
|
2393
|
-
this list of conditions and the following disclaimer.
|
|
2394
|
-
|
|
2395
|
-
- Redistributions in binary form must reproduce the above copyright
|
|
2396
|
-
notice, this list of conditions and the following disclaimer in the
|
|
2397
|
-
documentation and/or other materials provided with the distribution.
|
|
2398
|
-
|
|
2399
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
2400
|
-
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
2401
|
-
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
2402
|
-
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
2403
|
-
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
2404
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
2405
|
-
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
2406
|
-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
2407
|
-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
2408
|
-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
2409
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2410
|
-
"""
|
package/README.md
CHANGED
|
@@ -195,7 +195,7 @@ For information about the governance of the Node.js project, see
|
|
|
195
195
|
* [ronag](https://github.com/ronag) -
|
|
196
196
|
**Robert Nagy** <<ronagy@icloud.com>>
|
|
197
197
|
* [ruyadorno](https://github.com/ruyadorno) -
|
|
198
|
-
**Ruy Adorno** <<
|
|
198
|
+
**Ruy Adorno** <<ruy@vlt.sh>> (he/him)
|
|
199
199
|
* [ShogunPanda](https://github.com/ShogunPanda) -
|
|
200
200
|
**Paolo Insogna** <<paolo@cowtech.it>> (he/him)
|
|
201
201
|
* [targos](https://github.com/targos) -
|
|
@@ -209,28 +209,14 @@ For information about the governance of the Node.js project, see
|
|
|
209
209
|
**Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
|
|
210
210
|
* [bnoordhuis](https://github.com/bnoordhuis) -
|
|
211
211
|
**Ben Noordhuis** <<info@bnoordhuis.nl>>
|
|
212
|
-
* [ChALkeR](https://github.com/ChALkeR) -
|
|
213
|
-
**Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
|
|
214
212
|
* [cjihrig](https://github.com/cjihrig) -
|
|
215
213
|
**Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
|
|
216
214
|
* [codebytere](https://github.com/codebytere) -
|
|
217
215
|
**Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her)
|
|
218
|
-
* [danbev](https://github.com/danbev) -
|
|
219
|
-
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
220
216
|
* [danielleadams](https://github.com/danielleadams) -
|
|
221
217
|
**Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
|
|
222
|
-
* [fhinkel](https://github.com/fhinkel) -
|
|
223
|
-
**Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
|
|
224
|
-
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
|
225
|
-
**Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
|
|
226
|
-
* [mscdex](https://github.com/mscdex) -
|
|
227
|
-
**Brian White** <<mscdex@mscdex.net>>
|
|
228
218
|
* [MylesBorins](https://github.com/MylesBorins) -
|
|
229
219
|
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
|
|
230
|
-
* [rvagg](https://github.com/rvagg) -
|
|
231
|
-
**Rod Vagg** <<r@va.gg>>
|
|
232
|
-
* [TimothyGu](https://github.com/TimothyGu) -
|
|
233
|
-
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
|
|
234
220
|
* [Trott](https://github.com/Trott) -
|
|
235
221
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
236
222
|
|
|
@@ -242,12 +228,20 @@ For information about the governance of the Node.js project, see
|
|
|
242
228
|
|
|
243
229
|
* [addaleax](https://github.com/addaleax) -
|
|
244
230
|
**Anna Henningsen** <<anna@addaleax.net>> (she/her)
|
|
231
|
+
* [ChALkeR](https://github.com/ChALkeR) -
|
|
232
|
+
**Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
|
|
245
233
|
* [chrisdickinson](https://github.com/chrisdickinson) -
|
|
246
234
|
**Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
|
|
235
|
+
* [danbev](https://github.com/danbev) -
|
|
236
|
+
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
247
237
|
* [evanlucas](https://github.com/evanlucas) -
|
|
248
238
|
**Evan Lucas** <<evanlucas@me.com>> (he/him)
|
|
239
|
+
* [fhinkel](https://github.com/fhinkel) -
|
|
240
|
+
**Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
|
|
249
241
|
* [Fishrock123](https://github.com/Fishrock123) -
|
|
250
242
|
**Jeremiah Senkpiel** <<fishrock123@rocketmail.com>> (he/they)
|
|
243
|
+
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
|
244
|
+
**Gabriel Schulhof** <<gabrielschulhof@gmail.com>>
|
|
251
245
|
* [gibfahn](https://github.com/gibfahn) -
|
|
252
246
|
**Gibson Fahnestock** <<gibfahn@gmail.com>> (he/him)
|
|
253
247
|
* [indutny](https://github.com/indutny) -
|
|
@@ -258,6 +252,8 @@ For information about the governance of the Node.js project, see
|
|
|
258
252
|
**Josh Gavant** <<josh.gavant@outlook.com>>
|
|
259
253
|
* [mmarchini](https://github.com/mmarchini) -
|
|
260
254
|
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
|
|
255
|
+
* [mscdex](https://github.com/mscdex) -
|
|
256
|
+
**Brian White** <<mscdex@mscdex.net>>
|
|
261
257
|
* [nebrius](https://github.com/nebrius) -
|
|
262
258
|
**Bryan Hughes** <<bryan@nebri.us>>
|
|
263
259
|
* [ofrobots](https://github.com/ofrobots) -
|
|
@@ -268,12 +264,16 @@ For information about the governance of the Node.js project, see
|
|
|
268
264
|
**Bert Belder** <<bertbelder@gmail.com>>
|
|
269
265
|
* [RaisinTen](https://github.com/RaisinTen) -
|
|
270
266
|
**Darshan Sen** <<raisinten@gmail.com>> (he/him)
|
|
267
|
+
* [rvagg](https://github.com/rvagg) -
|
|
268
|
+
**Rod Vagg** <<r@va.gg>>
|
|
271
269
|
* [sam-github](https://github.com/sam-github) -
|
|
272
270
|
**Sam Roberts** <<vieuxtech@gmail.com>>
|
|
273
271
|
* [shigeki](https://github.com/shigeki) -
|
|
274
272
|
**Shigeki Ohtsu** <<ohtsu@ohtsu.org>> (he/him)
|
|
275
273
|
* [thefourtheye](https://github.com/thefourtheye) -
|
|
276
274
|
**Sakthipriyan Vairamani** <<thechargingvolcano@gmail.com>> (he/him)
|
|
275
|
+
* [TimothyGu](https://github.com/TimothyGu) -
|
|
276
|
+
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
|
|
277
277
|
* [trevnorris](https://github.com/trevnorris) -
|
|
278
278
|
**Trevor Norris** <<trev.norris@gmail.com>>
|
|
279
279
|
|
|
@@ -291,12 +291,8 @@ For information about the governance of the Node.js project, see
|
|
|
291
291
|
**Antoine du Hamel** <<duhamelantoine1995@gmail.com>> (he/him)
|
|
292
292
|
* [anonrig](https://github.com/anonrig) -
|
|
293
293
|
**Yagiz Nizipli** <<yagiz.nizipli@sentry.io>> (he/him)
|
|
294
|
-
* [antsmartian](https://github.com/antsmartian) -
|
|
295
|
-
**Anto Aravinth** <<anto.aravinth.cse@gmail.com>> (he/him)
|
|
296
294
|
* [apapirovski](https://github.com/apapirovski) -
|
|
297
295
|
**Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
|
|
298
|
-
* [AshCripps](https://github.com/AshCripps) -
|
|
299
|
-
**Ash Cripps** <<email@ashleycripps.co.uk>>
|
|
300
296
|
* [atlowChemi](https://github.com/atlowChemi) -
|
|
301
297
|
**Chemi Atlow** <<chemi@atlow.co.il>> (he/him)
|
|
302
298
|
* [Ayase-252](https://github.com/Ayase-252) -
|
|
@@ -307,8 +303,6 @@ For information about the governance of the Node.js project, see
|
|
|
307
303
|
**Benjamin Gruenbaum** <<benjamingr@gmail.com>>
|
|
308
304
|
* [BethGriggs](https://github.com/BethGriggs) -
|
|
309
305
|
**Beth Griggs** <<bethanyngriggs@gmail.com>> (she/her)
|
|
310
|
-
* [bmeck](https://github.com/bmeck) -
|
|
311
|
-
**Bradley Farias** <<bradley.meck@gmail.com>>
|
|
312
306
|
* [bnb](https://github.com/bnb) -
|
|
313
307
|
**Tierney Cyren** <<hello@bnb.im>> (they/them)
|
|
314
308
|
* [bnoordhuis](https://github.com/bnoordhuis) -
|
|
@@ -317,8 +311,6 @@ For information about the governance of the Node.js project, see
|
|
|
317
311
|
**Ruben Bridgewater** <<ruben@bridgewater.de>> (he/him)
|
|
318
312
|
* [cclauss](https://github.com/cclauss) -
|
|
319
313
|
**Christian Clauss** <<cclauss@me.com>> (he/him)
|
|
320
|
-
* [ChALkeR](https://github.com/ChALkeR) -
|
|
321
|
-
**Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
|
|
322
314
|
* [cjihrig](https://github.com/cjihrig) -
|
|
323
315
|
**Colin Ihrig** <<cjihrig@gmail.com>> (he/him)
|
|
324
316
|
* [codebytere](https://github.com/codebytere) -
|
|
@@ -327,26 +319,22 @@ For information about the governance of the Node.js project, see
|
|
|
327
319
|
**Kohei Ueno** <<kohei.ueno119@gmail.com>> (he/him)
|
|
328
320
|
* [daeyeon](https://github.com/daeyeon) -
|
|
329
321
|
**Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
|
|
330
|
-
* [danbev](https://github.com/danbev) -
|
|
331
|
-
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
332
322
|
* [danielleadams](https://github.com/danielleadams) -
|
|
333
323
|
**Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
|
|
334
324
|
* [debadree25](https://github.com/debadree25) -
|
|
335
325
|
**Debadree Chatterjee** <<debadree333@gmail.com>> (he/him)
|
|
336
326
|
* [deokjinkim](https://github.com/deokjinkim) -
|
|
337
327
|
**Deokjin Kim** <<deokjin81.kim@gmail.com>> (he/him)
|
|
338
|
-
* [devsnek](https://github.com/devsnek) -
|
|
339
|
-
**Gus Caplan** <<me@gus.host>> (they/them)
|
|
340
328
|
* [edsadr](https://github.com/edsadr) -
|
|
341
329
|
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
|
|
342
330
|
* [erickwendel](https://github.com/erickwendel) -
|
|
343
331
|
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
|
|
344
332
|
* [Ethan-Arrowood](https://github.com/Ethan-Arrowood) -
|
|
345
333
|
**Ethan Arrowood** <<ethan@arrowood.dev>> (he/him)
|
|
346
|
-
* [fhinkel](https://github.com/fhinkel) -
|
|
347
|
-
**Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
|
|
348
334
|
* [F3n67u](https://github.com/F3n67u) -
|
|
349
335
|
**Feng Yu** <<F3n67u@outlook.com>> (he/him)
|
|
336
|
+
* [fhinkel](https://github.com/fhinkel) -
|
|
337
|
+
**Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
|
|
350
338
|
* [Flarna](https://github.com/Flarna) -
|
|
351
339
|
**Gerhard Stöbich** <<deb2001-github@yahoo.de>> (he/they)
|
|
352
340
|
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
|
@@ -365,8 +353,6 @@ For information about the governance of the Node.js project, see
|
|
|
365
353
|
**Harshitha K P** <<harshitha014@gmail.com>> (she/her)
|
|
366
354
|
* [himself65](https://github.com/himself65) -
|
|
367
355
|
**Zeyu "Alex" Yang** <<himself65@outlook.com>> (he/him)
|
|
368
|
-
* [iansu](https://github.com/iansu) -
|
|
369
|
-
**Ian Sutherland** <<ian@iansutherland.ca>>
|
|
370
356
|
* [JakobJingleheimer](https://github.com/JakobJingleheimer) -
|
|
371
357
|
**Jacob Smith** <<jacob@frende.me>> (he/him)
|
|
372
358
|
* [jasnell](https://github.com/jasnell) -
|
|
@@ -419,8 +405,6 @@ For information about the governance of the Node.js project, see
|
|
|
419
405
|
**Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
|
|
420
406
|
* [MrJithil](https://github.com/MrJithil) -
|
|
421
407
|
**Jithil P Ponnan** <<jithil@outlook.com>> (he/him)
|
|
422
|
-
* [mscdex](https://github.com/mscdex) -
|
|
423
|
-
**Brian White** <<mscdex@mscdex.net>>
|
|
424
408
|
* [MylesBorins](https://github.com/MylesBorins) -
|
|
425
409
|
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
|
|
426
410
|
* [ovflowd](https://github.com/ovflowd) -
|
|
@@ -431,22 +415,16 @@ For information about the governance of the Node.js project, see
|
|
|
431
415
|
**Stephen Belanger** <<admin@stephenbelanger.com>> (he/him)
|
|
432
416
|
* [RafaelGSS](https://github.com/RafaelGSS) -
|
|
433
417
|
**Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
|
|
434
|
-
* [rluvaton](https://github.com/rluvaton) -
|
|
435
|
-
**Raz Luvaton** <<rluvaton@gmail.com>> (he/him)
|
|
436
418
|
* [richardlau](https://github.com/richardlau) -
|
|
437
419
|
**Richard Lau** <<rlau@redhat.com>>
|
|
438
|
-
* [
|
|
439
|
-
**
|
|
420
|
+
* [rluvaton](https://github.com/rluvaton) -
|
|
421
|
+
**Raz Luvaton** <<rluvaton@gmail.com>> (he/him)
|
|
440
422
|
* [ronag](https://github.com/ronag) -
|
|
441
423
|
**Robert Nagy** <<ronagy@icloud.com>>
|
|
442
424
|
* [ruyadorno](https://github.com/ruyadorno) -
|
|
443
|
-
**Ruy Adorno** <<
|
|
444
|
-
* [ryzokuken](https://github.com/ryzokuken) -
|
|
445
|
-
**Ujjwal Sharma** <<ryzokuken@disroot.org>> (he/him)
|
|
425
|
+
**Ruy Adorno** <<ruy@vlt.sh>> (he/him)
|
|
446
426
|
* [santigimeno](https://github.com/santigimeno) -
|
|
447
427
|
**Santiago Gimeno** <<santiago.gimeno@gmail.com>>
|
|
448
|
-
* [shisama](https://github.com/shisama) -
|
|
449
|
-
**Masashi Hirano** <<shisama07@gmail.com>> (he/him)
|
|
450
428
|
* [ShogunPanda](https://github.com/ShogunPanda) -
|
|
451
429
|
**Paolo Insogna** <<paolo@cowtech.it>> (he/him)
|
|
452
430
|
* [srl295](https://github.com/srl295) -
|
|
@@ -457,16 +435,14 @@ For information about the governance of the Node.js project, see
|
|
|
457
435
|
**Michaël Zasso** <<targos@protonmail.com>> (he/him)
|
|
458
436
|
* [theanarkh](https://github.com/theanarkh) -
|
|
459
437
|
**theanarkh** <<theratliter@gmail.com>> (he/him)
|
|
460
|
-
* [TimothyGu](https://github.com/TimothyGu) -
|
|
461
|
-
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
|
|
462
438
|
* [tniessen](https://github.com/tniessen) -
|
|
463
439
|
**Tobias Nießen** <<tniessen@tnie.de>> (he/him)
|
|
464
440
|
* [trivikr](https://github.com/trivikr) -
|
|
465
441
|
**Trivikram Kamat** <<trivikr.dev@gmail.com>>
|
|
466
442
|
* [Trott](https://github.com/Trott) -
|
|
467
443
|
**Rich Trott** <<rtrott@gmail.com>> (he/him)
|
|
468
|
-
* [
|
|
469
|
-
**
|
|
444
|
+
* [UlisesGascon](https://github.com/ulisesgascon) -
|
|
445
|
+
**Ulises Gascón** <<ulisesgascongonzalez@gmail.com>> (he/him)
|
|
470
446
|
* [vmoroz](https://github.com/vmoroz) -
|
|
471
447
|
**Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
|
|
472
448
|
* [VoltrexKeyva](https://github.com/VoltrexKeyva) -
|
|
@@ -477,10 +453,10 @@ For information about the governance of the Node.js project, see
|
|
|
477
453
|
**Khaidi Chu** <<i@2333.moe>> (he/him)
|
|
478
454
|
* [yashLadha](https://github.com/yashLadha) -
|
|
479
455
|
**Yash Ladha** <<yash@yashladha.in>> (he/him)
|
|
456
|
+
* [zcbenz](https://github.com/zcbenz) -
|
|
457
|
+
**Cheng Zhao** <<zcbenz@gmail.com>> (he/him)
|
|
480
458
|
* [ZYSzys](https://github.com/ZYSzys) -
|
|
481
459
|
**Yongsheng Zhang** <<zyszys98@gmail.com>> (he/him)
|
|
482
|
-
* [zcbenz](https://github.com/zcbenz) -
|
|
483
|
-
**Cheng Zhao** <zcbenz@gmail.com> (he/him)
|
|
484
460
|
|
|
485
461
|
<details>
|
|
486
462
|
|
|
@@ -495,14 +471,20 @@ For information about the governance of the Node.js project, see
|
|
|
495
471
|
**Aleksei Koziatinskii** <<ak239spb@gmail.com>>
|
|
496
472
|
* [andrasq](https://github.com/andrasq) -
|
|
497
473
|
**Andras** <<andras@kinvey.com>>
|
|
498
|
-
* [AnnaMag](https://github.com/AnnaMag) -
|
|
499
|
-
**Anna M. Kedzierska** <<anna.m.kedzierska@gmail.com>>
|
|
500
474
|
* [AndreasMadsen](https://github.com/AndreasMadsen) -
|
|
501
475
|
**Andreas Madsen** <<amwebdk@gmail.com>> (he/him)
|
|
476
|
+
* [AnnaMag](https://github.com/AnnaMag) -
|
|
477
|
+
**Anna M. Kedzierska** <<anna.m.kedzierska@gmail.com>>
|
|
478
|
+
* [antsmartian](https://github.com/antsmartian) -
|
|
479
|
+
**Anto Aravinth** <<anto.aravinth.cse@gmail.com>> (he/him)
|
|
502
480
|
* [aqrln](https://github.com/aqrln) -
|
|
503
481
|
**Alexey Orlenko** <<eaglexrlnk@gmail.com>> (he/him)
|
|
482
|
+
* [AshCripps](https://github.com/AshCripps) -
|
|
483
|
+
**Ash Cripps** <<email@ashleycripps.co.uk>>
|
|
504
484
|
* [bcoe](https://github.com/bcoe) -
|
|
505
485
|
**Ben Coe** <<bencoe@gmail.com>> (he/him)
|
|
486
|
+
* [bmeck](https://github.com/bmeck) -
|
|
487
|
+
**Bradley Farias** <<bradley.meck@gmail.com>>
|
|
506
488
|
* [bmeurer](https://github.com/bmeurer) -
|
|
507
489
|
**Benedikt Meurer** <<benedikt.meurer@gmail.com>>
|
|
508
490
|
* [boneskull](https://github.com/boneskull) -
|
|
@@ -513,16 +495,22 @@ For information about the governance of the Node.js project, see
|
|
|
513
495
|
**Bartosz Sosnowski** <<bartosz@janeasystems.com>>
|
|
514
496
|
* [calvinmetcalf](https://github.com/calvinmetcalf) -
|
|
515
497
|
**Calvin Metcalf** <<calvin.metcalf@gmail.com>>
|
|
498
|
+
* [ChALkeR](https://github.com/ChALkeR) -
|
|
499
|
+
**Сковорода Никита Андреевич** <<chalkerx@gmail.com>> (he/him)
|
|
516
500
|
* [chrisdickinson](https://github.com/chrisdickinson) -
|
|
517
501
|
**Chris Dickinson** <<christopher.s.dickinson@gmail.com>>
|
|
518
502
|
* [claudiorodriguez](https://github.com/claudiorodriguez) -
|
|
519
503
|
**Claudio Rodriguez** <<cjrodr@yahoo.com>>
|
|
504
|
+
* [danbev](https://github.com/danbev) -
|
|
505
|
+
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
|
|
520
506
|
* [DavidCai1993](https://github.com/DavidCai1993) -
|
|
521
507
|
**David Cai** <<davidcai1993@yahoo.com>> (he/him)
|
|
522
508
|
* [davisjam](https://github.com/davisjam) -
|
|
523
509
|
**Jamie Davis** <<davisjam@vt.edu>> (he/him)
|
|
524
510
|
* [devnexen](https://github.com/devnexen) -
|
|
525
511
|
**David Carlier** <<devnexen@gmail.com>>
|
|
512
|
+
* [devsnek](https://github.com/devsnek) -
|
|
513
|
+
**Gus Caplan** <<me@gus.host>> (they/them)
|
|
526
514
|
* [digitalinfinity](https://github.com/digitalinfinity) -
|
|
527
515
|
**Hitesh Kanwathirtha** <<digitalinfinity@gmail.com>> (he/him)
|
|
528
516
|
* [dmabupt](https://github.com/dmabupt) -
|
|
@@ -553,6 +541,8 @@ For information about the governance of the Node.js project, see
|
|
|
553
541
|
**Yang Guo** <<yangguo@chromium.org>> (he/him)
|
|
554
542
|
* [hiroppy](https://github.com/hiroppy) -
|
|
555
543
|
**Yuta Hiroto** <<hello@hiroppy.me>> (he/him)
|
|
544
|
+
* [iansu](https://github.com/iansu) -
|
|
545
|
+
**Ian Sutherland** <<ian@iansutherland.ca>>
|
|
556
546
|
* [iarna](https://github.com/iarna) -
|
|
557
547
|
**Rebecca Turner** <<me@re-becca.org>>
|
|
558
548
|
* [imran-iq](https://github.com/imran-iq) -
|
|
@@ -615,6 +605,8 @@ For information about the governance of the Node.js project, see
|
|
|
615
605
|
**Christopher Monsanto** <<chris@monsan.to>>
|
|
616
606
|
* [MoonBall](https://github.com/MoonBall) -
|
|
617
607
|
**Chen Gang** <<gangc.cxy@foxmail.com>>
|
|
608
|
+
* [mscdex](https://github.com/mscdex) -
|
|
609
|
+
**Brian White** <<mscdex@mscdex.net>>
|
|
618
610
|
* [not-an-aardvark](https://github.com/not-an-aardvark) -
|
|
619
611
|
**Teddy Katz** <<teddy.katz@gmail.com>> (he/him)
|
|
620
612
|
* [ofrobots](https://github.com/ofrobots) -
|
|
@@ -649,6 +641,8 @@ For information about the governance of the Node.js project, see
|
|
|
649
641
|
**Refael Ackermann (רפאל פלחי)** <<refack@gmail.com>> (he/him/הוא/אתה)
|
|
650
642
|
* [rexagod](https://github.com/rexagod) -
|
|
651
643
|
**Pranshu Srivastava** <<rexagod@gmail.com>> (he/him)
|
|
644
|
+
* [rickyes](https://github.com/rickyes) -
|
|
645
|
+
**Ricky Zhou** <<0x19951125@gmail.com>> (he/him)
|
|
652
646
|
* [rlidwka](https://github.com/rlidwka) -
|
|
653
647
|
**Alex Kocharin** <<alex@kocharin.ru>>
|
|
654
648
|
* [rmg](https://github.com/rmg) -
|
|
@@ -665,6 +659,8 @@ For information about the governance of the Node.js project, see
|
|
|
665
659
|
**Sam Ruby** <<rubys@intertwingly.net>>
|
|
666
660
|
* [rvagg](https://github.com/rvagg) -
|
|
667
661
|
**Rod Vagg** <<rod@vagg.org>>
|
|
662
|
+
* [ryzokuken](https://github.com/ryzokuken) -
|
|
663
|
+
**Ujjwal Sharma** <<ryzokuken@disroot.org>> (he/him)
|
|
668
664
|
* [saghul](https://github.com/saghul) -
|
|
669
665
|
**Saúl Ibarra Corretgé** <<s@saghul.net>>
|
|
670
666
|
* [sam-github](https://github.com/sam-github) -
|
|
@@ -675,6 +671,8 @@ For information about the governance of the Node.js project, see
|
|
|
675
671
|
**Nikolai Vavilov** <<vvnicholas@gmail.com>>
|
|
676
672
|
* [shigeki](https://github.com/shigeki) -
|
|
677
673
|
**Shigeki Ohtsu** <<ohtsu@ohtsu.org>> (he/him)
|
|
674
|
+
* [shisama](https://github.com/shisama) -
|
|
675
|
+
**Masashi Hirano** <<shisama07@gmail.com>> (he/him)
|
|
678
676
|
* [silverwind](https://github.com/silverwind) -
|
|
679
677
|
**Roman Reiss** <<me@silverwind.io>>
|
|
680
678
|
* [starkwang](https://github.com/starkwang) -
|
|
@@ -687,10 +685,14 @@ For information about the governance of the Node.js project, see
|
|
|
687
685
|
**Sakthipriyan Vairamani** <<thechargingvolcano@gmail.com>> (he/him)
|
|
688
686
|
* [thlorenz](https://github.com/thlorenz) -
|
|
689
687
|
**Thorsten Lorenz** <<thlorenz@gmx.de>>
|
|
688
|
+
* [TimothyGu](https://github.com/TimothyGu) -
|
|
689
|
+
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
|
|
690
690
|
* [trevnorris](https://github.com/trevnorris) -
|
|
691
691
|
**Trevor Norris** <<trev.norris@gmail.com>>
|
|
692
692
|
* [tunniclm](https://github.com/tunniclm) -
|
|
693
693
|
**Mike Tunnicliffe** <<m.j.tunnicliffe@gmail.com>>
|
|
694
|
+
* [vdeturckheim](https://github.com/vdeturckheim) -
|
|
695
|
+
**Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
|
|
694
696
|
* [vkurchatkin](https://github.com/vkurchatkin) -
|
|
695
697
|
**Vladimir Kurchatkin** <<vladimir.kurchatkin@gmail.com>>
|
|
696
698
|
* [vsemozhetbyt](https://github.com/vsemozhetbyt) -
|
|
@@ -739,10 +741,12 @@ maintaining the Node.js project.
|
|
|
739
741
|
**Mert Can Altin** <<mertgold60@gmail.com>>
|
|
740
742
|
* [Mesteery](https://github.com/Mesteery) -
|
|
741
743
|
**Mestery** <<mestery@protonmail.com>> (he/him)
|
|
742
|
-
* [preveen-stack](https://github.com/preveen-stack) -
|
|
743
|
-
**Preveen Padmanabhan** <<wide4head@gmail.com>> (he/him)
|
|
744
744
|
* [PoojaDurgad](https://github.com/PoojaDurgad) -
|
|
745
745
|
**Pooja Durgad** <<Pooja.D.P@ibm.com>>
|
|
746
|
+
* [preveen-stack](https://github.com/preveen-stack) -
|
|
747
|
+
**Preveen Padmanabhan** <<wide4head@gmail.com>> (he/him)
|
|
748
|
+
* [RedYetiDev](https://github.com/redyetidev) -
|
|
749
|
+
**Aviv Keller** <<redyetidev@gmail.com>> (they/them)
|
|
746
750
|
* [VoltrexKeyva](https://github.com/VoltrexKeyva) -
|
|
747
751
|
**Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
|
|
748
752
|
|
|
@@ -761,6 +765,8 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
|
|
|
761
765
|
`74F12602B6F1C4E913FAA37AD3A89613643B6201`
|
|
762
766
|
* **Juan José Arboleda** <<soyjuanarbol@gmail.com>>
|
|
763
767
|
`DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7`
|
|
768
|
+
* **Marco Ippolito** <<marcoippolito54@gmail.com>>
|
|
769
|
+
`CC68F5A3106FF448322E48ED27F5E38D5B0A215F`
|
|
764
770
|
* **Michaël Zasso** <<targos@protonmail.com>>
|
|
765
771
|
`8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600`
|
|
766
772
|
* **Myles Borins** <<myles.borins@gmail.com>>
|
|
@@ -782,6 +788,7 @@ gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D706
|
|
|
782
788
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57
|
|
783
789
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
|
|
784
790
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7
|
|
791
|
+
gpg --keyserver hkps://keys.openpgp.org --recv-keys CC68F5A3106FF448322E48ED27F5E38D5B0A215F
|
|
785
792
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
|
|
786
793
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
|
|
787
794
|
gpg --keyserver hkps://keys.openpgp.org --recv-keys 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4
|
|
@@ -843,12 +850,11 @@ releases on a rotation basis as outlined in the
|
|
|
843
850
|
* Datadog
|
|
844
851
|
* [bengl](https://github.com/bengl) -
|
|
845
852
|
**Bryan English** <<bryan@bryanenglish.com>> (he/him)
|
|
846
|
-
* NearForm
|
|
847
|
-
* [RafaelGSS](https://github.com/RafaelGSS) -
|
|
848
|
-
**Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
|
|
849
853
|
* NodeSource
|
|
850
854
|
* [juanarbol](https://github.com/juanarbol) -
|
|
851
855
|
**Juan José Arboleda** <<soyjuanarbol@gmail.com>> (he/him)
|
|
856
|
+
* [RafaelGSS](https://github.com/RafaelGSS) -
|
|
857
|
+
**Rafael Gonzaga** <<rafael.nunu@hotmail.com>> (he/him)
|
|
852
858
|
* Platformatic
|
|
853
859
|
* [mcollina](https://github.com/mcollina) -
|
|
854
860
|
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/common.gypi
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
'variables': {
|
|
3
3
|
'configuring_node%': 0,
|
|
4
4
|
'asan%': 0,
|
|
5
|
+
'ubsan%': 0,
|
|
5
6
|
'werror': '', # Turn off -Werror in V8 build.
|
|
6
7
|
'visibility%': 'hidden', # V8's visibility setting
|
|
7
8
|
'target_arch%': 'ia32', # set v8's target architecture
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
|
|
37
38
|
# Reset this number to 0 on major V8 upgrades.
|
|
38
39
|
# Increment by one for each non-official patch applied to deps/v8.
|
|
39
|
-
'v8_embedder_string': '-node.
|
|
40
|
+
'v8_embedder_string': '-node.11',
|
|
40
41
|
|
|
41
42
|
##### V8 defaults for Node.js #####
|
|
42
43
|
|
|
@@ -285,7 +286,10 @@
|
|
|
285
286
|
'VCCLCompilerTool': {
|
|
286
287
|
'AdditionalOptions': [
|
|
287
288
|
'/Zc:__cplusplus',
|
|
288
|
-
|
|
289
|
+
# The following option enables c++20 on Windows. This is needed for V8 v12.4+
|
|
290
|
+
'-std:c++20',
|
|
291
|
+
# The following option reduces the "error C1060: compiler is out of heap space"
|
|
292
|
+
'/Zm2000',
|
|
289
293
|
],
|
|
290
294
|
'BufferSecurityCheck': 'true',
|
|
291
295
|
'DebugInformationFormat': 1, # /Z7 embed info in .obj files
|
|
@@ -374,6 +378,29 @@
|
|
|
374
378
|
}],
|
|
375
379
|
],
|
|
376
380
|
}],
|
|
381
|
+
['ubsan == 1 and OS != "mac" and OS != "zos"', {
|
|
382
|
+
'cflags+': [
|
|
383
|
+
'-fno-omit-frame-pointer',
|
|
384
|
+
'-fsanitize=undefined',
|
|
385
|
+
],
|
|
386
|
+
'defines': [ 'UNDEFINED_SANITIZER'],
|
|
387
|
+
'cflags!': [ '-fno-omit-frame-pointer' ],
|
|
388
|
+
'ldflags': [ '-fsanitize=undefined' ],
|
|
389
|
+
}],
|
|
390
|
+
['ubsan == 1 and OS == "mac"', {
|
|
391
|
+
'xcode_settings': {
|
|
392
|
+
'OTHER_CFLAGS+': [
|
|
393
|
+
'-fno-omit-frame-pointer',
|
|
394
|
+
'-fsanitize=undefined',
|
|
395
|
+
'-DUNDEFINED_SANITIZER'
|
|
396
|
+
],
|
|
397
|
+
},
|
|
398
|
+
'target_conditions': [
|
|
399
|
+
['_type!="static_library"', {
|
|
400
|
+
'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=undefined']},
|
|
401
|
+
}],
|
|
402
|
+
],
|
|
403
|
+
}],
|
|
377
404
|
# The defines bellow must include all things from the external_v8_defines
|
|
378
405
|
# list in v8/BUILD.gn.
|
|
379
406
|
['v8_enable_v8_checks == 1', {
|
package/include/node/config.gypi
CHANGED
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
'force_dynamic_crt': 0,
|
|
14
14
|
'gas_version': '2.35',
|
|
15
15
|
'host_arch': 'arm64',
|
|
16
|
-
'icu_data_in': '../../deps/icu-tmp/
|
|
16
|
+
'icu_data_in': '../../deps/icu-tmp/icudt75l.dat',
|
|
17
17
|
'icu_endianness': 'l',
|
|
18
18
|
'icu_gyp_path': 'tools/icu/icu-generic.gyp',
|
|
19
19
|
'icu_path': 'deps/icu-small',
|
|
20
20
|
'icu_small': 'false',
|
|
21
|
-
'icu_ver_major': '
|
|
21
|
+
'icu_ver_major': '75',
|
|
22
22
|
'is_debug': 0,
|
|
23
23
|
'libdir': 'lib',
|
|
24
24
|
'llvm_version': '0.0',
|
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
'lib/internal/error_serdes.js',
|
|
129
129
|
'lib/internal/errors.js',
|
|
130
130
|
'lib/internal/event_target.js',
|
|
131
|
+
'lib/internal/events/abort_listener.js',
|
|
131
132
|
'lib/internal/events/symbols.js',
|
|
132
133
|
'lib/internal/file.js',
|
|
133
134
|
'lib/internal/fixed_queue.js',
|
|
@@ -165,6 +166,7 @@
|
|
|
165
166
|
'lib/internal/main/print_help.js',
|
|
166
167
|
'lib/internal/main/prof_process.js',
|
|
167
168
|
'lib/internal/main/repl.js',
|
|
169
|
+
'lib/internal/main/run.js',
|
|
168
170
|
'lib/internal/main/run_main_module.js',
|
|
169
171
|
'lib/internal/main/test_runner.js',
|
|
170
172
|
'lib/internal/main/watch_mode.js',
|
|
@@ -176,7 +178,6 @@
|
|
|
176
178
|
'lib/internal/modules/esm/fetch_module.js',
|
|
177
179
|
'lib/internal/modules/esm/formats.js',
|
|
178
180
|
'lib/internal/modules/esm/get_format.js',
|
|
179
|
-
'lib/internal/modules/esm/handle_process_exit.js',
|
|
180
181
|
'lib/internal/modules/esm/hooks.js',
|
|
181
182
|
'lib/internal/modules/esm/initialize_import_meta.js',
|
|
182
183
|
'lib/internal/modules/esm/load.js',
|
|
@@ -210,7 +211,6 @@
|
|
|
210
211
|
'lib/internal/policy/manifest.js',
|
|
211
212
|
'lib/internal/policy/sri.js',
|
|
212
213
|
'lib/internal/priority_queue.js',
|
|
213
|
-
'lib/internal/process/esm_loader.js',
|
|
214
214
|
'lib/internal/process/execution.js',
|
|
215
215
|
'lib/internal/process/per_thread.js',
|
|
216
216
|
'lib/internal/process/permission.js',
|
|
@@ -233,6 +233,7 @@
|
|
|
233
233
|
'lib/internal/repl/await.js',
|
|
234
234
|
'lib/internal/repl/history.js',
|
|
235
235
|
'lib/internal/repl/utils.js',
|
|
236
|
+
'lib/internal/shell.js',
|
|
236
237
|
'lib/internal/socket_list.js',
|
|
237
238
|
'lib/internal/socketaddress.js',
|
|
238
239
|
'lib/internal/source_map/prepare_stack_trace.js',
|
|
@@ -346,7 +347,7 @@
|
|
|
346
347
|
'lib/wasi.js',
|
|
347
348
|
'lib/worker_threads.js',
|
|
348
349
|
'lib/zlib.js'],
|
|
349
|
-
'node_module_version':
|
|
350
|
+
'node_module_version': 127,
|
|
350
351
|
'node_no_browser_globals': 'false',
|
|
351
352
|
'node_prefix': '/',
|
|
352
353
|
'node_release_urlbase': 'https://nodejs.org/download/release/',
|
|
@@ -374,9 +375,10 @@
|
|
|
374
375
|
'openssl_is_fips': 'false',
|
|
375
376
|
'openssl_quic': 'true',
|
|
376
377
|
'ossfuzz': 'false',
|
|
377
|
-
'shlib_suffix': 'so.
|
|
378
|
+
'shlib_suffix': 'so.127',
|
|
378
379
|
'single_executable_application': 'true',
|
|
379
380
|
'target_arch': 'arm64',
|
|
381
|
+
'ubsan': 0,
|
|
380
382
|
'use_prefix_to_find_headers': 'false',
|
|
381
383
|
'v8_enable_31bit_smis_on_64bit_arch': 0,
|
|
382
384
|
'v8_enable_extensible_ro_snapshot': 0,
|
|
@@ -386,7 +388,7 @@
|
|
|
386
388
|
'v8_enable_inspector': 1,
|
|
387
389
|
'v8_enable_javascript_promise_hooks': 1,
|
|
388
390
|
'v8_enable_lite_mode': 0,
|
|
389
|
-
'v8_enable_maglev':
|
|
391
|
+
'v8_enable_maglev': 1,
|
|
390
392
|
'v8_enable_object_print': 1,
|
|
391
393
|
'v8_enable_pointer_compression': 0,
|
|
392
394
|
'v8_enable_shared_ro_heap': 1,
|
|
@@ -32,7 +32,7 @@ static constexpr uint16_t kFullyConstructedBitMask = uint16_t{1};
|
|
|
32
32
|
|
|
33
33
|
static constexpr size_t kPageSize = size_t{1} << 17;
|
|
34
34
|
|
|
35
|
-
#if defined(
|
|
35
|
+
#if defined(V8_HOST_ARCH_ARM64) && defined(V8_OS_DARWIN)
|
|
36
36
|
constexpr size_t kGuardPageSize = 0;
|
|
37
37
|
#else
|
|
38
38
|
constexpr size_t kGuardPageSize = 4096;
|
|
@@ -128,13 +128,13 @@ struct IsSubclassOfBasicMemberTemplate {
|
|
|
128
128
|
private:
|
|
129
129
|
template <typename T, typename CheckingPolicy, typename StorageType>
|
|
130
130
|
static std::true_type SubclassCheck(
|
|
131
|
-
BasicMember<T, WeaknessTag, WriteBarrierPolicy, CheckingPolicy,
|
|
132
|
-
|
|
131
|
+
const BasicMember<T, WeaknessTag, WriteBarrierPolicy, CheckingPolicy,
|
|
132
|
+
StorageType>*);
|
|
133
133
|
static std::false_type SubclassCheck(...);
|
|
134
134
|
|
|
135
135
|
public:
|
|
136
|
-
static constexpr bool value =
|
|
137
|
-
|
|
136
|
+
static constexpr bool value = decltype(SubclassCheck(
|
|
137
|
+
std::declval<std::decay_t<BasicMemberCandidate>*>()))::value;
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
template <typename T,
|
|
@@ -180,6 +180,14 @@ constexpr bool IsStrictlyBaseOfV =
|
|
|
180
180
|
std::is_base_of_v<std::decay_t<B>, std::decay_t<D>> &&
|
|
181
181
|
!IsDecayedSameV<B, D>;
|
|
182
182
|
|
|
183
|
+
template <typename T>
|
|
184
|
+
constexpr bool IsAnyMemberTypeV = false;
|
|
185
|
+
|
|
186
|
+
template <typename T, typename WeaknessTag, typename WriteBarrierPolicy,
|
|
187
|
+
typename CheckingPolicy, typename StorageType>
|
|
188
|
+
constexpr bool IsAnyMemberTypeV<internal::BasicMember<
|
|
189
|
+
T, WeaknessTag, WriteBarrierPolicy, CheckingPolicy, StorageType>> = true;
|
|
190
|
+
|
|
183
191
|
} // namespace internal
|
|
184
192
|
|
|
185
193
|
/**
|
|
@@ -245,6 +253,19 @@ constexpr bool IsWeakV = internal::IsWeak<T>::value;
|
|
|
245
253
|
template <typename T>
|
|
246
254
|
constexpr bool IsCompleteV = internal::IsComplete<T>::value;
|
|
247
255
|
|
|
256
|
+
/**
|
|
257
|
+
* Value is true for member types `Member<T>` and `WeakMember<T>`.
|
|
258
|
+
*/
|
|
259
|
+
template <typename T>
|
|
260
|
+
constexpr bool IsMemberOrWeakMemberTypeV =
|
|
261
|
+
IsMemberTypeV<T> || IsWeakMemberTypeV<T>;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Value is true for any member type.
|
|
265
|
+
*/
|
|
266
|
+
template <typename T>
|
|
267
|
+
constexpr bool IsAnyMemberTypeV = internal::IsAnyMemberTypeV<std::decay_t<T>>;
|
|
268
|
+
|
|
248
269
|
} // namespace cppgc
|
|
249
270
|
|
|
250
271
|
#endif // INCLUDE_CPPGC_TYPE_TRAITS_H_
|