Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8de895c
doc: warn about SuppressDestruct()
addaleax Mar 9, 2021
97a0eb3
fixup
addaleax Mar 9, 2021
1647b21
fixup
addaleax Mar 9, 2021
09f39de
test: dd tests for Function constructors
JoseExposito Mar 10, 2021
cf1c43b
chore: fixup linter commands (#940)
legendecas Mar 22, 2021
e320666
Fix tab indent (#938)
tniessen Mar 22, 2021
666e9ff
doc: sync Object::Set value arg with Value::From (#933)
tniessen Mar 22, 2021
81d41ee
doc: added some warnings for buffer and array buffer factory method. …
NickNaso Mar 22, 2021
d198de0
build: add CI configuration for Windows
NickNaso Mar 24, 2021
5110815
src: rename N-API with Node-API on comments
NickNaso Mar 25, 2021
22c67da
doc: rename N-API with Node-API
RaisinTen Mar 25, 2021
7df5bb4
doc: unambiguously mark deprecated signatures
tniessen Mar 20, 2021
0b7e872
Finished tests relating to fetch property from Global Object
JckXia Jan 26, 2021
bdf0eef
src: added Freeze and Seal method to Object class.
NickNaso Mar 27, 2021
79e0786
Update CONTRIBUTING.md (#966)
mhdawson Apr 9, 2021
837a820
src: add pull request template (#967)
mhdawson Apr 9, 2021
ac71abb
Added badges for Node-API v7 and v8. (#954)
NickNaso Apr 12, 2021
a5280a8
doc: correct struct definition (#969)
RaisinTen Apr 16, 2021
34502c3
fix: key for wapping drawing's system condition (#970)
kecsou Apr 16, 2021
b74908f
test: fix intermittent TSFN crashes
KevinEady Apr 21, 2021
3aad6da
test: rename misspelled parameters
tniessen Apr 20, 2021
ad4cc6f
test: run test suites with helpers
legendecas Apr 23, 2021
c4f1eb7
build: add Node.js v16.x to CI (#983)
legendecas Apr 28, 2021
61236ef
src: return bool on object set and define property (#977)
legendecas Apr 29, 2021
5920f57
src: return bool on object freeze and seal (#991)
legendecas May 7, 2021
a1c102a
test: fix undoc assumptions about the timing of tsfn calls
legendecas May 10, 2021
55af990
doc: fix typo in code example (#997)
tniessen May 14, 2021
9f0605d
docs: add napi-rs iin Other Bindings section (#999)
Brooooooklyn May 14, 2021
8558e96
Prepare release 3.2.0.
NickNaso May 17, 2021
370f55a
Fixed readme for new release.
NickNaso May 28, 2021
02f9ea1
Prepare release 3.2.1.
NickNaso May 28, 2021
c2ec24b
Update version on package.json.
NickNaso May 28, 2021
83e18ae
test: function reference call & construct
legendecas May 24, 2021
c1734a9
src: fix gcc-11 c++20 compilation
KevinEady Jun 11, 2021
4479eac
src: fix Error::ThrowAsJavaScriptException crash
Feb 6, 2021
5d4d358
Prepare release 4.0.0.
NickNaso Jun 15, 2021
cc11d72
src: set default return value of Reference Ref/Unref to 0
legendecas May 23, 2021
92d1af5
doc: update examples for context sensitivity
KevinEady Jun 21, 2021
4f9b270
test: dd check for nullptr inside String init
JckXia Jun 27, 2021
e937efb
test: add first set of symbol tests
JckXia Apr 18, 2021
fe950f6
src,test: fix up null char * exception thrown
gabrielschulhof Jul 9, 2021
6ff72ac
doc: update tests to avoid running in parallel
mhdawson Jul 20, 2021
daf910e
src: add AddCleanupHook
KevinEady Jun 24, 2021
6f79043
src: return Maybe on pending exception when cpp exception disabled
legendecas Aug 3, 2021
ecd9eef
Prepare release 4.1.0.
NickNaso Aug 25, 2021
e9cd96a
test: fixed the way to enable C++ exceptions. (#1061)
NickNaso Sep 3, 2021
7b573b1
doc: fix documentation about how to enable C++ exception (#1059)
NickNaso Sep 3, 2021
309ff88
test: fix errors reported by newer compiler
mhdawson Sep 3, 2021
88ef504
test: standardize unit test file names
Aug 27, 2021
1708851
test: run tests with opts to prefix bld root path
Aug 27, 2021
55edda6
docs: fix typo and formatting (#1062)
strager Sep 10, 2021
0aa256e
docs: fix typos (#1068)
todoroff Sep 14, 2021
c82782f
src: fix casts to not be undefined behavior
addaleax Sep 15, 2021
0ae9de5
src,test: allow creating Function with move-only functor
strager Sep 7, 2021
3de1e38
Prepare release v4.2.0.
NickNaso Sep 17, 2021
764dc00
lint: add eslint based on config-semistandard (#1067)
rubiagatra Sep 17, 2021
23f5625
enable unit tests
Jul 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: sync Object::Set value arg with Value::From (#933)
  • Loading branch information
tniessen authored and Deepak Rajamohan committed Sep 23, 2021
commit 666e9ffaa99efa4a27cfa2e1b95ef3312dd7a42c
9 changes: 2 additions & 7 deletions doc/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,7 @@ The key can be any of the following types:
- `const std::string&`
- `uint32_t`

While the value must be any of the following types:
- `napi_value`
- [`Napi::Value`](value.md)
- `const char*`
- `std::string&`
- `bool`
- `double`
The `value` can be of any type that is accepted by [`Napi::Value::From`][].

### Delete()

Expand Down Expand Up @@ -271,3 +265,4 @@ Napi::Value Napi::Object::operator[] (uint32_t index) const;
Returns an indexed property or array element as a [`Napi::Value`](value.md).

[`Napi::Value`]: ./value.md
[`Napi::Value::From`]: ./value.md#from