Files
node/doc/api
Gerhard Stoebich c9506a8f3e n-api: add more property defaults
Add a default value for class method and js like property in enum
napi_property_attributes.

n-api currently offers only one default which is non configurable,
non writable, non enumerable - like Object.defineProperty(). While
this is formal correct the usual way to create properties in JS is
either by defining a class or use obj.prop = value.

The defaults from these variants are now backed into enum values.

PR-URL: https://github.com/nodejs/node/pull/35214
Refs: https://github.com/nodejs/node-addon-api/issues/811
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
2020-09-18 00:53:16 +02:00
..
2020-08-28 07:11:09 -07:00
2020-06-26 10:25:14 -07:00
2020-09-16 06:11:52 -07:00
2020-09-17 08:34:47 -07:00
2020-09-16 16:21:45 +00:00
2020-09-17 08:34:47 -07:00
2020-09-17 08:34:47 -07:00
2020-09-17 08:34:47 -07:00
2020-09-15 16:49:55 -04:00
2020-09-15 16:49:55 -04:00
2020-09-14 12:42:08 -07:00
2020-09-18 00:53:16 +02:00
2020-08-11 11:13:17 -07:00
2020-06-26 10:25:14 -07:00
2020-06-26 10:25:14 -07:00
2020-09-05 12:00:45 +00:00
2020-06-30 15:27:43 -07:00