@cloudbase/manager-node 4.3.3 → 4.3.4

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.
Files changed (213) hide show
  1. package/lib/function/index.js +9 -1
  2. package/lib/utils/index.js +17 -1
  3. package/package.json +1 -1
  4. package/types/utils/index.d.ts +2 -0
  5. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
  6. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +0 -103
  7. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
  8. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +0 -22
  9. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +0 -78
  10. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +0 -21
  11. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +0 -88
  12. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +0 -108
  13. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +0 -13
  14. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +0 -34
  15. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +0 -76
  16. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +0 -20
  17. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +0 -4
  18. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
  19. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +0 -310
  20. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +0 -21
  21. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +0 -344
  22. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +0 -15
  23. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +0 -13
  24. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +0 -8
  25. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +0 -15
  26. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +0 -48
  27. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +0 -106
  28. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +0 -29
  29. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +0 -151
  30. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +0 -24
  31. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +0 -16
  32. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +0 -84
  33. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +0 -8
  34. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +0 -65
  35. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +0 -114
  36. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +0 -14
  37. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +0 -52
  38. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
  39. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +0 -577
  40. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +0 -138
  41. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +0 -9
  42. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +0 -455
  43. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +0 -146
  44. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +0 -54
  45. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +0 -76
  46. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +0 -41
  47. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +0 -226
  48. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +0 -62
  49. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +0 -583
  50. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +0 -672
  51. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +0 -147
  52. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +0 -123
  53. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +0 -263
  54. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +0 -296
  55. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +0 -73
  56. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +0 -58
  57. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +0 -62
  58. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +0 -199
  59. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +0 -85
  60. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +0 -1
  61. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +0 -3049
  62. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +0 -128
  63. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +0 -676
  64. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  65. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +0 -72
  66. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +0 -68
  67. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  68. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +0 -29
  69. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +0 -430
  70. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  71. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +0 -166
  72. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +0 -356
  73. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  74. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +0 -340
  75. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +0 -156
  76. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +0 -132
  77. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  78. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +0 -73
  79. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +0 -95
  80. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +0 -305
  81. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +0 -96
  82. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +0 -437
  83. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +0 -38
  84. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +0 -412
  85. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +0 -14
  86. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +0 -19
  87. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
  88. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +0 -3
  89. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +0 -1053
  90. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  91. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +0 -34
  92. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +0 -24
  93. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +0 -273
  94. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +0 -2
  95. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +0 -204
  96. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +0 -138
  97. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +0 -3
  98. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  99. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +0 -28
  100. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  101. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  102. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +0 -8
  103. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +0 -5
  104. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  105. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  106. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  107. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  108. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  109. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  110. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  111. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  112. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  113. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  114. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -709
  115. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  116. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  117. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  118. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  119. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  120. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  121. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  122. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  123. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  124. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  125. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  126. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  127. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  128. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  129. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  130. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  131. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  132. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  133. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  134. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  135. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  136. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  137. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  138. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  139. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  140. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  141. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  142. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  143. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  144. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  145. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  146. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  147. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  148. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  149. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  150. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  151. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  152. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  153. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  154. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  155. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  156. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  157. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  158. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  159. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  160. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  161. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  162. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  163. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  164. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  165. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +0 -115
  166. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  167. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  168. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  169. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +0 -230
  170. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +0 -15
  171. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +0 -328
  172. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  173. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +0 -39
  174. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  175. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +0 -310
  176. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +0 -600
  177. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +0 -415
  178. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +0 -26
  179. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +0 -168
  180. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +0 -188
  181. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +0 -146
  182. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +0 -12
  183. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +0 -43
  184. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +0 -81
  185. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  186. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +0 -52
  187. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +0 -40
  188. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +0 -4
  189. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
  190. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +0 -286
  191. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +0 -21
  192. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +0 -457
  193. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +0 -52
  194. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +0 -24
  195. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +0 -515
  196. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +0 -156
  197. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +0 -76
  198. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +0 -100
  199. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +0 -94
  200. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +0 -100
  201. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +0 -72
  202. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Info.plist +0 -63
  203. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
  204. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +0 -1
  205. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
  206. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf +0 -29
  207. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  208. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib +0 -0
  209. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
  210. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
  211. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +0 -165
  212. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
  213. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +0 -9
@@ -1,672 +0,0 @@
1
- ## JavaScript-accessible methods
2
-
3
- A _template_ is a blueprint for JavaScript functions and objects in a context. You can use a template to wrap C++ functions and data structures within JavaScript objects so that they can be manipulated from JavaScript. See the V8 Embedders Guide section on [Templates](https://github.com/v8/v8/wiki/Embedder%27s-Guide#templates) for further information.
4
-
5
- In order to expose functionality to JavaScript via a template, you must provide it to V8 in a form that it understands. Across the versions of V8 supported by NAN, JavaScript-accessible method signatures vary widely, NAN fully abstracts method declaration and provides you with an interface that is similar to the most recent V8 API but is backward-compatible with older versions that still use the now-deceased `v8::Argument` type.
6
-
7
- * **Method argument types**
8
- - <a href="#api_nan_function_callback_info"><b><code>Nan::FunctionCallbackInfo</code></b></a>
9
- - <a href="#api_nan_property_callback_info"><b><code>Nan::PropertyCallbackInfo</code></b></a>
10
- - <a href="#api_nan_return_value"><b><code>Nan::ReturnValue</code></b></a>
11
- * **Method declarations**
12
- - <a href="#api_nan_method"><b>Method declaration</b></a>
13
- - <a href="#api_nan_getter"><b>Getter declaration</b></a>
14
- - <a href="#api_nan_setter"><b>Setter declaration</b></a>
15
- - <a href="#api_nan_property_getter"><b>Property getter declaration</b></a>
16
- - <a href="#api_nan_property_setter"><b>Property setter declaration</b></a>
17
- - <a href="#api_nan_property_enumerator"><b>Property enumerator declaration</b></a>
18
- - <a href="#api_nan_property_deleter"><b>Property deleter declaration</b></a>
19
- - <a href="#api_nan_property_query"><b>Property query declaration</b></a>
20
- - <a href="#api_nan_index_getter"><b>Index getter declaration</b></a>
21
- - <a href="#api_nan_index_setter"><b>Index setter declaration</b></a>
22
- - <a href="#api_nan_index_enumerator"><b>Index enumerator declaration</b></a>
23
- - <a href="#api_nan_index_deleter"><b>Index deleter declaration</b></a>
24
- - <a href="#api_nan_index_query"><b>Index query declaration</b></a>
25
- * Method and template helpers
26
- - <a href="#api_nan_set_method"><b><code>Nan::SetMethod()</code></b></a>
27
- - <a href="#api_nan_set_prototype_method"><b><code>Nan::SetPrototypeMethod()</code></b></a>
28
- - <a href="#api_nan_set_accessor"><b><code>Nan::SetAccessor()</code></b></a>
29
- - <a href="#api_nan_set_named_property_handler"><b><code>Nan::SetNamedPropertyHandler()</code></b></a>
30
- - <a href="#api_nan_set_indexed_property_handler"><b><code>Nan::SetIndexedPropertyHandler()</code></b></a>
31
- - <a href="#api_nan_set_template"><b><code>Nan::SetTemplate()</code></b></a>
32
- - <a href="#api_nan_set_prototype_template"><b><code>Nan::SetPrototypeTemplate()</code></b></a>
33
- - <a href="#api_nan_set_instance_template"><b><code>Nan::SetInstanceTemplate()</code></b></a>
34
- - <a href="#api_nan_set_call_handler"><b><code>Nan::SetCallHandler()</code></b></a>
35
- - <a href="#api_nan_set_call_as_function_handler"><b><code>Nan::SetCallAsFunctionHandler()</code></b></a>
36
-
37
- <a name="api_nan_function_callback_info"></a>
38
- ### Nan::FunctionCallbackInfo
39
-
40
- `Nan::FunctionCallbackInfo` should be used in place of [`v8::FunctionCallbackInfo`](https://v8docs.nodesource.com/node-8.16/dd/d0d/classv8_1_1_function_callback_info.html), even with older versions of Node where `v8::FunctionCallbackInfo` does not exist.
41
-
42
- Definition:
43
-
44
- ```c++
45
- template<typename T> class FunctionCallbackInfo {
46
- public:
47
- ReturnValue<T> GetReturnValue() const;
48
- v8::Local<v8::Function> Callee(); // NOTE: Not available in NodeJS >= 10.0.0
49
- v8::Local<v8::Value> Data();
50
- v8::Local<v8::Object> Holder();
51
- bool IsConstructCall();
52
- int Length() const;
53
- v8::Local<v8::Value> operator[](int i) const;
54
- v8::Local<v8::Object> This() const;
55
- v8::Isolate *GetIsolate() const;
56
- };
57
- ```
58
-
59
- See the [`v8::FunctionCallbackInfo`](https://v8docs.nodesource.com/node-8.16/dd/d0d/classv8_1_1_function_callback_info.html) documentation for usage details on these. See [`Nan::ReturnValue`](#api_nan_return_value) for further information on how to set a return value from methods.
60
-
61
- **Note:** `FunctionCallbackInfo::Callee` is removed in Node.js after `10.0.0` because it is was deprecated in V8. Consider using `info.Data()` to pass any information you need.
62
-
63
- <a name="api_nan_property_callback_info"></a>
64
- ### Nan::PropertyCallbackInfo
65
-
66
- `Nan::PropertyCallbackInfo` should be used in place of [`v8::PropertyCallbackInfo`](https://v8docs.nodesource.com/node-8.16/d7/dc5/classv8_1_1_property_callback_info.html), even with older versions of Node where `v8::PropertyCallbackInfo` does not exist.
67
-
68
- Definition:
69
-
70
- ```c++
71
- template<typename T> class PropertyCallbackInfo : public PropertyCallbackInfoBase<T> {
72
- public:
73
- ReturnValue<T> GetReturnValue() const;
74
- v8::Isolate* GetIsolate() const;
75
- v8::Local<v8::Value> Data() const;
76
- v8::Local<v8::Object> This() const;
77
- v8::Local<v8::Object> Holder() const;
78
- };
79
- ```
80
-
81
- See the [`v8::PropertyCallbackInfo`](https://v8docs.nodesource.com/node-8.16/d7/dc5/classv8_1_1_property_callback_info.html) documentation for usage details on these. See [`Nan::ReturnValue`](#api_nan_return_value) for further information on how to set a return value from property accessor methods.
82
-
83
- <a name="api_nan_return_value"></a>
84
- ### Nan::ReturnValue
85
-
86
- `Nan::ReturnValue` is used in place of [`v8::ReturnValue`](https://v8docs.nodesource.com/node-8.16/da/da7/classv8_1_1_return_value.html) on both [`Nan::FunctionCallbackInfo`](#api_nan_function_callback_info) and [`Nan::PropertyCallbackInfo`](#api_nan_property_callback_info) as the return type of `GetReturnValue()`.
87
-
88
- Example usage:
89
-
90
- ```c++
91
- void EmptyArray(const Nan::FunctionCallbackInfo<v8::Value>& info) {
92
- info.GetReturnValue().Set(Nan::New<v8::Array>());
93
- }
94
- ```
95
-
96
- Definition:
97
-
98
- ```c++
99
- template<typename T> class ReturnValue {
100
- public:
101
- // Handle setters
102
- template <typename S> void Set(const v8::Local<S> &handle);
103
- template <typename S> void Set(const Nan::Global<S> &handle);
104
-
105
- // Fast primitive setters
106
- void Set(bool value);
107
- void Set(double i);
108
- void Set(int32_t i);
109
- void Set(uint32_t i);
110
-
111
- // Fast JS primitive setters
112
- void SetNull();
113
- void SetUndefined();
114
- void SetEmptyString();
115
-
116
- // Convenience getter for isolate
117
- v8::Isolate *GetIsolate() const;
118
- };
119
- ```
120
-
121
- See the documentation on [`v8::ReturnValue`](https://v8docs.nodesource.com/node-8.16/da/da7/classv8_1_1_return_value.html) for further information on this.
122
-
123
- <a name="api_nan_method"></a>
124
- ### Method declaration
125
-
126
- JavaScript-accessible methods should be declared with the following signature to form a `Nan::FunctionCallback`:
127
-
128
- ```c++
129
- typedef void(*FunctionCallback)(const FunctionCallbackInfo<v8::Value>&);
130
- ```
131
-
132
- Example:
133
-
134
- ```c++
135
- void MethodName(const Nan::FunctionCallbackInfo<v8::Value>& info) {
136
- ...
137
- }
138
- ```
139
-
140
- You do not need to declare a new `HandleScope` within a method as one is implicitly created for you.
141
-
142
- **Example usage**
143
-
144
- ```c++
145
- // .h:
146
- class Foo : public Nan::ObjectWrap {
147
- ...
148
-
149
- static void Bar(const Nan::FunctionCallbackInfo<v8::Value>& info);
150
- static void Baz(const Nan::FunctionCallbackInfo<v8::Value>& info);
151
- }
152
-
153
-
154
- // .cc:
155
- void Foo::Bar(const Nan::FunctionCallbackInfo<v8::Value>& info) {
156
- ...
157
- }
158
-
159
- void Foo::Baz(const Nan::FunctionCallbackInfo<v8::Value>& info) {
160
- ...
161
- }
162
- ```
163
-
164
- A helper macro `NAN_METHOD(methodname)` exists, compatible with NAN v1 method declarations.
165
-
166
- **Example usage with `NAN_METHOD(methodname)`**
167
-
168
- ```c++
169
- // .h:
170
- class Foo : public Nan::ObjectWrap {
171
- ...
172
-
173
- static NAN_METHOD(Bar);
174
- static NAN_METHOD(Baz);
175
- }
176
-
177
-
178
- // .cc:
179
- NAN_METHOD(Foo::Bar) {
180
- ...
181
- }
182
-
183
- NAN_METHOD(Foo::Baz) {
184
- ...
185
- }
186
- ```
187
-
188
- Use [`Nan::SetPrototypeMethod`](#api_nan_set_prototype_method) to attach a method to a JavaScript function prototype or [`Nan::SetMethod`](#api_nan_set_method) to attach a method directly on a JavaScript object.
189
-
190
- <a name="api_nan_getter"></a>
191
- ### Getter declaration
192
-
193
- JavaScript-accessible getters should be declared with the following signature to form a `Nan::GetterCallback`:
194
-
195
- ```c++
196
- typedef void(*GetterCallback)(v8::Local<v8::String>,
197
- const PropertyCallbackInfo<v8::Value>&);
198
- ```
199
-
200
- Example:
201
-
202
- ```c++
203
- void GetterName(v8::Local<v8::String> property,
204
- const Nan::PropertyCallbackInfo<v8::Value>& info) {
205
- ...
206
- }
207
- ```
208
-
209
- You do not need to declare a new `HandleScope` within a getter as one is implicitly created for you.
210
-
211
- A helper macro `NAN_GETTER(methodname)` exists, compatible with NAN v1 method declarations.
212
-
213
- Also see the V8 Embedders Guide documentation on [Accessors](https://v8.dev/docs/embed#accessors).
214
-
215
- <a name="api_nan_setter"></a>
216
- ### Setter declaration
217
-
218
- JavaScript-accessible setters should be declared with the following signature to form a <b><code>Nan::SetterCallback</code></b>:
219
-
220
- ```c++
221
- typedef void(*SetterCallback)(v8::Local<v8::String>,
222
- v8::Local<v8::Value>,
223
- const PropertyCallbackInfo<void>&);
224
- ```
225
-
226
- Example:
227
-
228
- ```c++
229
- void SetterName(v8::Local<v8::String> property,
230
- v8::Local<v8::Value> value,
231
- const Nan::PropertyCallbackInfo<void>& info) {
232
- ...
233
- }
234
- ```
235
-
236
- You do not need to declare a new `HandleScope` within a setter as one is implicitly created for you.
237
-
238
- A helper macro `NAN_SETTER(methodname)` exists, compatible with NAN v1 method declarations.
239
-
240
- Also see the V8 Embedders Guide documentation on [Accessors](https://v8.dev/docs/embed#accessors).
241
-
242
- <a name="api_nan_property_getter"></a>
243
- ### Property getter declaration
244
-
245
- JavaScript-accessible property getters should be declared with the following signature to form a <b><code>Nan::PropertyGetterCallback</code></b>:
246
-
247
- ```c++
248
- typedef void(*PropertyGetterCallback)(v8::Local<v8::String>,
249
- const PropertyCallbackInfo<v8::Value>&);
250
- ```
251
-
252
- Example:
253
-
254
- ```c++
255
- void PropertyGetterName(v8::Local<v8::String> property,
256
- const Nan::PropertyCallbackInfo<v8::Value>& info) {
257
- ...
258
- }
259
- ```
260
-
261
- You do not need to declare a new `HandleScope` within a property getter as one is implicitly created for you.
262
-
263
- A helper macro `NAN_PROPERTY_GETTER(methodname)` exists, compatible with NAN v1 method declarations.
264
-
265
- Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
266
-
267
- <a name="api_nan_property_setter"></a>
268
- ### Property setter declaration
269
-
270
- JavaScript-accessible property setters should be declared with the following signature to form a <b><code>Nan::PropertySetterCallback</code></b>:
271
-
272
- ```c++
273
- typedef void(*PropertySetterCallback)(v8::Local<v8::String>,
274
- v8::Local<v8::Value>,
275
- const PropertyCallbackInfo<v8::Value>&);
276
- ```
277
-
278
- Example:
279
-
280
- ```c++
281
- void PropertySetterName(v8::Local<v8::String> property,
282
- v8::Local<v8::Value> value,
283
- const Nan::PropertyCallbackInfo<v8::Value>& info);
284
- ```
285
-
286
- You do not need to declare a new `HandleScope` within a property setter as one is implicitly created for you.
287
-
288
- A helper macro `NAN_PROPERTY_SETTER(methodname)` exists, compatible with NAN v1 method declarations.
289
-
290
- Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
291
-
292
- <a name="api_nan_property_enumerator"></a>
293
- ### Property enumerator declaration
294
-
295
- JavaScript-accessible property enumerators should be declared with the following signature to form a <b><code>Nan::PropertyEnumeratorCallback</code></b>:
296
-
297
- ```c++
298
- typedef void(*PropertyEnumeratorCallback)(const PropertyCallbackInfo<v8::Array>&);
299
- ```
300
-
301
- Example:
302
-
303
- ```c++
304
- void PropertyEnumeratorName(const Nan::PropertyCallbackInfo<v8::Array>& info);
305
- ```
306
-
307
- You do not need to declare a new `HandleScope` within a property enumerator as one is implicitly created for you.
308
-
309
- A helper macro `NAN_PROPERTY_ENUMERATOR(methodname)` exists, compatible with NAN v1 method declarations.
310
-
311
- Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
312
-
313
- <a name="api_nan_property_deleter"></a>
314
- ### Property deleter declaration
315
-
316
- JavaScript-accessible property deleters should be declared with the following signature to form a <b><code>Nan::PropertyDeleterCallback</code></b>:
317
-
318
- ```c++
319
- typedef void(*PropertyDeleterCallback)(v8::Local<v8::String>,
320
- const PropertyCallbackInfo<v8::Boolean>&);
321
- ```
322
-
323
- Example:
324
-
325
- ```c++
326
- void PropertyDeleterName(v8::Local<v8::String> property,
327
- const Nan::PropertyCallbackInfo<v8::Boolean>& info);
328
- ```
329
-
330
- You do not need to declare a new `HandleScope` within a property deleter as one is implicitly created for you.
331
-
332
- A helper macro `NAN_PROPERTY_DELETER(methodname)` exists, compatible with NAN v1 method declarations.
333
-
334
- Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
335
-
336
- <a name="api_nan_property_query"></a>
337
- ### Property query declaration
338
-
339
- JavaScript-accessible property query methods should be declared with the following signature to form a <b><code>Nan::PropertyQueryCallback</code></b>:
340
-
341
- ```c++
342
- typedef void(*PropertyQueryCallback)(v8::Local<v8::String>,
343
- const PropertyCallbackInfo<v8::Integer>&);
344
- ```
345
-
346
- Example:
347
-
348
- ```c++
349
- void PropertyQueryName(v8::Local<v8::String> property,
350
- const Nan::PropertyCallbackInfo<v8::Integer>& info);
351
- ```
352
-
353
- You do not need to declare a new `HandleScope` within a property query method as one is implicitly created for you.
354
-
355
- A helper macro `NAN_PROPERTY_QUERY(methodname)` exists, compatible with NAN v1 method declarations.
356
-
357
- Also see the V8 Embedders Guide documentation on named property [Interceptors](https://v8.dev/docs/embed#interceptors).
358
-
359
- <a name="api_nan_index_getter"></a>
360
- ### Index getter declaration
361
-
362
- JavaScript-accessible index getter methods should be declared with the following signature to form a <b><code>Nan::IndexGetterCallback</code></b>:
363
-
364
- ```c++
365
- typedef void(*IndexGetterCallback)(uint32_t,
366
- const PropertyCallbackInfo<v8::Value>&);
367
- ```
368
-
369
- Example:
370
-
371
- ```c++
372
- void IndexGetterName(uint32_t index, const PropertyCallbackInfo<v8::Value>& info);
373
- ```
374
-
375
- You do not need to declare a new `HandleScope` within a index getter as one is implicitly created for you.
376
-
377
- A helper macro `NAN_INDEX_GETTER(methodname)` exists, compatible with NAN v1 method declarations.
378
-
379
- Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
380
-
381
- <a name="api_nan_index_setter"></a>
382
- ### Index setter declaration
383
-
384
- JavaScript-accessible index setter methods should be declared with the following signature to form a <b><code>Nan::IndexSetterCallback</code></b>:
385
-
386
- ```c++
387
- typedef void(*IndexSetterCallback)(uint32_t,
388
- v8::Local<v8::Value>,
389
- const PropertyCallbackInfo<v8::Value>&);
390
- ```
391
-
392
- Example:
393
-
394
- ```c++
395
- void IndexSetterName(uint32_t index,
396
- v8::Local<v8::Value> value,
397
- const PropertyCallbackInfo<v8::Value>& info);
398
- ```
399
-
400
- You do not need to declare a new `HandleScope` within a index setter as one is implicitly created for you.
401
-
402
- A helper macro `NAN_INDEX_SETTER(methodname)` exists, compatible with NAN v1 method declarations.
403
-
404
- Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
405
-
406
- <a name="api_nan_index_enumerator"></a>
407
- ### Index enumerator declaration
408
-
409
- JavaScript-accessible index enumerator methods should be declared with the following signature to form a <b><code>Nan::IndexEnumeratorCallback</code></b>:
410
-
411
- ```c++
412
- typedef void(*IndexEnumeratorCallback)(const PropertyCallbackInfo<v8::Array>&);
413
- ```
414
-
415
- Example:
416
-
417
- ```c++
418
- void IndexEnumeratorName(const PropertyCallbackInfo<v8::Array>& info);
419
- ```
420
-
421
- You do not need to declare a new `HandleScope` within a index enumerator as one is implicitly created for you.
422
-
423
- A helper macro `NAN_INDEX_ENUMERATOR(methodname)` exists, compatible with NAN v1 method declarations.
424
-
425
- Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
426
-
427
- <a name="api_nan_index_deleter"></a>
428
- ### Index deleter declaration
429
-
430
- JavaScript-accessible index deleter methods should be declared with the following signature to form a <b><code>Nan::IndexDeleterCallback</code></b>:
431
-
432
- ```c++
433
- typedef void(*IndexDeleterCallback)(uint32_t,
434
- const PropertyCallbackInfo<v8::Boolean>&);
435
- ```
436
-
437
- Example:
438
-
439
- ```c++
440
- void IndexDeleterName(uint32_t index, const PropertyCallbackInfo<v8::Boolean>& info);
441
- ```
442
-
443
- You do not need to declare a new `HandleScope` within a index deleter as one is implicitly created for you.
444
-
445
- A helper macro `NAN_INDEX_DELETER(methodname)` exists, compatible with NAN v1 method declarations.
446
-
447
- Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
448
-
449
- <a name="api_nan_index_query"></a>
450
- ### Index query declaration
451
-
452
- JavaScript-accessible index query methods should be declared with the following signature to form a <b><code>Nan::IndexQueryCallback</code></b>:
453
-
454
- ```c++
455
- typedef void(*IndexQueryCallback)(uint32_t,
456
- const PropertyCallbackInfo<v8::Integer>&);
457
- ```
458
-
459
- Example:
460
-
461
- ```c++
462
- void IndexQueryName(uint32_t index, const PropertyCallbackInfo<v8::Integer>& info);
463
- ```
464
-
465
- You do not need to declare a new `HandleScope` within a index query method as one is implicitly created for you.
466
-
467
- A helper macro `NAN_INDEX_QUERY(methodname)` exists, compatible with NAN v1 method declarations.
468
-
469
- Also see the V8 Embedders Guide documentation on indexed property [Interceptors](https://v8.dev/docs/embed#interceptors).
470
-
471
- <a name="api_nan_set_method"></a>
472
- ### Nan::SetMethod()
473
-
474
- Sets a method with a given name directly on a JavaScript object where the method has the `Nan::FunctionCallback` signature (see <a href="#api_nan_method">Method declaration</a>).
475
-
476
- Signature:
477
-
478
- ```c++
479
- void Nan::SetMethod(v8::Local<v8::Object> recv,
480
- const char *name,
481
- Nan::FunctionCallback callback,
482
- v8::Local<v8::Value> data = v8::Local<v8::Value>())
483
- void Nan::SetMethod(v8::Local<v8::Template> templ,
484
- const char *name,
485
- Nan::FunctionCallback callback,
486
- v8::Local<v8::Value> data = v8::Local<v8::Value>())
487
- ```
488
-
489
- <a name="api_nan_set_prototype_method"></a>
490
- ### Nan::SetPrototypeMethod()
491
-
492
- Sets a method with a given name on a `FunctionTemplate`'s prototype where the method has the `Nan::FunctionCallback` signature (see <a href="#api_nan_method">Method declaration</a>).
493
-
494
- Signature:
495
-
496
- ```c++
497
- void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate> recv,
498
- const char* name,
499
- Nan::FunctionCallback callback,
500
- v8::Local<v8::Value> data = v8::Local<v8::Value>())
501
- ```
502
-
503
- <a name="api_nan_set_accessor"></a>
504
- ### Nan::SetAccessor()
505
-
506
- Sets getters and setters for a property with a given name on an `ObjectTemplate` or a plain `Object`. Accepts getters with the `Nan::GetterCallback` signature (see <a href="#api_nan_getter">Getter declaration</a>) and setters with the `Nan::SetterCallback` signature (see <a href="#api_nan_setter">Setter declaration</a>).
507
-
508
- Signature:
509
-
510
- ```c++
511
- // The signature parameter was deprecated in Node 16 and subsequently removed
512
- NAN_DEPRECATED void SetAccessor(v8::Local<v8::ObjectTemplate> tpl,
513
- v8::Local<v8::String> name,
514
- Nan::GetterCallback getter,
515
- Nan::SetterCallback setter = 0,
516
- v8::Local<v8::Value> data = v8::Local<v8::Value>(),
517
- v8::AccessControl settings = v8::DEFAULT,
518
- v8::PropertyAttribute attribute = v8::None,
519
- imp::Sig signature = imp::Sig());
520
- void SetAccessor(v8::Local<v8::ObjectTemplate> tpl,
521
- v8::Local<v8::String> name,
522
- Nan::GetterCallback getter,
523
- Nan::SetterCallback setter = 0,
524
- v8::Local<v8::Value> data = v8::Local<v8::Value>(),
525
- v8::AccessControl settings = v8::DEFAULT,
526
- v8::PropertyAttribute attribute = v8::None);
527
- bool SetAccessor(v8::Local<v8::Object> obj,
528
- v8::Local<v8::String> name,
529
- Nan::GetterCallback getter,
530
- Nan::SetterCallback setter = 0,
531
- v8::Local<v8::Value> data = v8::Local<v8::Value>(),
532
- v8::AccessControl settings = v8::DEFAULT,
533
- v8::PropertyAttribute attribute = v8::None)
534
- ```
535
-
536
- See the V8 [`ObjectTemplate#SetAccessor()`](https://v8docs.nodesource.com/node-8.16/db/d5f/classv8_1_1_object_template.html#aca0ed196f8a9adb1f68b1aadb6c9cd77) and [`Object#SetAccessor()`](https://v8docs.nodesource.com/node-8.16/db/d85/classv8_1_1_object.html#ae91b3b56b357f285288c89fbddc46d1b) for further information about how to use `Nan::SetAccessor()`.
537
-
538
- <a name="api_nan_set_named_property_handler"></a>
539
- ### Nan::SetNamedPropertyHandler()
540
-
541
- Sets named property getters, setters, query, deleter and enumerator methods on an `ObjectTemplate`. Accepts:
542
-
543
- * Property getters with the `Nan::PropertyGetterCallback` signature (see <a href="#api_nan_property_getter">Property getter declaration</a>)
544
- * Property setters with the `Nan::PropertySetterCallback` signature (see <a href="#api_nan_property_setter">Property setter declaration</a>)
545
- * Property query methods with the `Nan::PropertyQueryCallback` signature (see <a href="#api_nan_property_query">Property query declaration</a>)
546
- * Property deleters with the `Nan::PropertyDeleterCallback` signature (see <a href="#api_nan_property_deleter">Property deleter declaration</a>)
547
- * Property enumerators with the `Nan::PropertyEnumeratorCallback` signature (see <a href="#api_nan_property_enumerator">Property enumerator declaration</a>)
548
-
549
- Signature:
550
-
551
- ```c++
552
- void SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate> tpl,
553
- Nan::PropertyGetterCallback getter,
554
- Nan::PropertySetterCallback setter = 0,
555
- Nan::PropertyQueryCallback query = 0,
556
- Nan::PropertyDeleterCallback deleter = 0,
557
- Nan::PropertyEnumeratorCallback enumerator = 0,
558
- v8::Local<v8::Value> data = v8::Local<v8::Value>())
559
- ```
560
-
561
- See the V8 [`ObjectTemplate#SetNamedPropertyHandler()`](https://v8docs.nodesource.com/node-8.16/db/d5f/classv8_1_1_object_template.html#a33b3ebd7de641f6cc6414b7de01fc1c7) for further information about how to use `Nan::SetNamedPropertyHandler()`.
562
-
563
- <a name="api_nan_set_indexed_property_handler"></a>
564
- ### Nan::SetIndexedPropertyHandler()
565
-
566
- Sets indexed property getters, setters, query, deleter and enumerator methods on an `ObjectTemplate`. Accepts:
567
-
568
- * Indexed property getters with the `Nan::IndexGetterCallback` signature (see <a href="#api_nan_index_getter">Index getter declaration</a>)
569
- * Indexed property setters with the `Nan::IndexSetterCallback` signature (see <a href="#api_nan_index_setter">Index setter declaration</a>)
570
- * Indexed property query methods with the `Nan::IndexQueryCallback` signature (see <a href="#api_nan_index_query">Index query declaration</a>)
571
- * Indexed property deleters with the `Nan::IndexDeleterCallback` signature (see <a href="#api_nan_index_deleter">Index deleter declaration</a>)
572
- * Indexed property enumerators with the `Nan::IndexEnumeratorCallback` signature (see <a href="#api_nan_index_enumerator">Index enumerator declaration</a>)
573
-
574
- Signature:
575
-
576
- ```c++
577
- void SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate> tpl,
578
- Nan::IndexGetterCallback getter,
579
- Nan::IndexSetterCallback setter = 0,
580
- Nan::IndexQueryCallback query = 0,
581
- Nan::IndexDeleterCallback deleter = 0,
582
- Nan::IndexEnumeratorCallback enumerator = 0,
583
- v8::Local<v8::Value> data = v8::Local<v8::Value>())
584
- ```
585
-
586
- See the V8 [`ObjectTemplate#SetIndexedPropertyHandler()`](https://v8docs.nodesource.com/node-8.16/db/d5f/classv8_1_1_object_template.html#ac89f06d634add0e890452033f7d17ff1) for further information about how to use `Nan::SetIndexedPropertyHandler()`.
587
-
588
- <a name="api_nan_set_template"></a>
589
- ### Nan::SetTemplate()
590
-
591
- Adds properties on an `Object`'s or `Function`'s template.
592
-
593
- Signature:
594
-
595
- ```c++
596
- void Nan::SetTemplate(v8::Local<v8::Template> templ,
597
- const char *name,
598
- v8::Local<v8::Data> value);
599
- void Nan::SetTemplate(v8::Local<v8::Template> templ,
600
- v8::Local<v8::String> name,
601
- v8::Local<v8::Data> value,
602
- v8::PropertyAttribute attributes)
603
- ```
604
-
605
- Calls the `Template`'s [`Set()`](https://v8docs.nodesource.com/node-8.16/db/df7/classv8_1_1_template.html#ae3fbaff137557aa6a0233bc7e52214ac).
606
-
607
- <a name="api_nan_set_prototype_template"></a>
608
- ### Nan::SetPrototypeTemplate()
609
-
610
- Adds properties on an `Object`'s or `Function`'s prototype template.
611
-
612
- Signature:
613
-
614
- ```c++
615
- void Nan::SetPrototypeTemplate(v8::Local<v8::FunctionTemplate> templ,
616
- const char *name,
617
- v8::Local<v8::Data> value);
618
- void Nan::SetPrototypeTemplate(v8::Local<v8::FunctionTemplate> templ,
619
- v8::Local<v8::String> name,
620
- v8::Local<v8::Data> value,
621
- v8::PropertyAttribute attributes)
622
- ```
623
-
624
- Calls the `FunctionTemplate`'s _PrototypeTemplate's_ [`Set()`](https://v8docs.nodesource.com/node-8.16/db/df7/classv8_1_1_template.html#a2db6a56597bf23c59659c0659e564ddf).
625
-
626
- <a name="api_nan_set_instance_template"></a>
627
- ### Nan::SetInstanceTemplate()
628
-
629
- Use to add instance properties on `FunctionTemplate`'s.
630
-
631
- Signature:
632
-
633
- ```c++
634
- void Nan::SetInstanceTemplate(v8::Local<v8::FunctionTemplate> templ,
635
- const char *name,
636
- v8::Local<v8::Data> value);
637
- void Nan::SetInstanceTemplate(v8::Local<v8::FunctionTemplate> templ,
638
- v8::Local<v8::String> name,
639
- v8::Local<v8::Data> value,
640
- v8::PropertyAttribute attributes)
641
- ```
642
-
643
- Calls the `FunctionTemplate`'s _InstanceTemplate's_ [`Set()`](https://v8docs.nodesource.com/node-8.16/db/df7/classv8_1_1_template.html#a2db6a56597bf23c59659c0659e564ddf).
644
-
645
- <a name="api_nan_set_call_handler"></a>
646
- ### Nan::SetCallHandler()
647
-
648
- Set the call-handler callback for a `v8::FunctionTemplate`.
649
- This callback is called whenever the function created from this FunctionTemplate is called.
650
-
651
- Signature:
652
-
653
- ```c++
654
- void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate> templ, Nan::FunctionCallback callback, v8::Local<v8::Value> data = v8::Local<v8::Value>())
655
- ```
656
-
657
- Calls the `FunctionTemplate`'s [`SetCallHandler()`](https://v8docs.nodesource.com/node-8.16/d8/d83/classv8_1_1_function_template.html#ab7574b298db3c27fbc2ed465c08ea2f8).
658
-
659
- <a name="api_nan_set_call_as_function_handler"></a>
660
- ### Nan::SetCallAsFunctionHandler()
661
-
662
- Sets the callback to be used when calling instances created from the `v8::ObjectTemplate` as a function.
663
- If no callback is set, instances behave like normal JavaScript objects that cannot be called as a function.
664
-
665
- Signature:
666
-
667
- ```c++
668
- void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate> templ, Nan::FunctionCallback callback, v8::Local<v8::Value> data = v8::Local<v8::Value>())
669
- ```
670
-
671
- Calls the `ObjectTemplate`'s [`SetCallAsFunctionHandler()`](https://v8docs.nodesource.com/node-8.16/db/d5f/classv8_1_1_object_template.html#a5e9612fc80bf6db8f2da199b9b0bd04e).
672
-