Files
node/doc/api
Gerhard Stoebich 7f3b2b2a1f 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-21 12:12:34 -04:00
..
2020-09-01 11:17:55 -04:00
2020-07-16 17:08:55 -04:00
2020-09-21 11:53:36 -04:00
2020-09-21 12:12:32 -04:00
2020-09-21 11:53:37 -04:00
2020-07-16 17:09:04 -04:00
2020-09-21 12:12:32 -04:00
2020-09-21 12:12:32 -04:00
2020-09-21 12:12:32 -04:00
2020-09-07 12:29:17 -04:00
2020-09-17 10:36:40 -04:00
2020-09-15 15:17:31 -04:00
2020-09-15 15:17:31 -04:00
2020-09-17 10:36:44 -04:00
2020-09-21 12:12:34 -04:00
2020-07-20 16:51:34 -04:00
2020-07-16 17:08:55 -04:00
2020-07-16 17:08:55 -04:00
2020-09-07 12:29:29 -04:00
2020-07-16 17:08:55 -04:00