@cloudbase/manager-node 4.3.3 → 4.4.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.
Files changed (215) hide show
  1. package/lib/function/index.js +85 -12
  2. package/lib/utils/index.js +39 -1
  3. package/package.json +1 -1
  4. package/types/function/index.d.ts +38 -12
  5. package/types/interfaces/function.interface.d.ts +33 -0
  6. package/types/utils/index.d.ts +9 -0
  7. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
  8. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +0 -103
  9. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
  10. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +0 -22
  11. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +0 -78
  12. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +0 -21
  13. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +0 -88
  14. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +0 -108
  15. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +0 -13
  16. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +0 -34
  17. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +0 -76
  18. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +0 -20
  19. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +0 -4
  20. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
  21. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +0 -310
  22. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +0 -21
  23. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +0 -344
  24. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +0 -15
  25. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +0 -13
  26. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +0 -8
  27. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +0 -15
  28. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +0 -48
  29. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +0 -106
  30. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +0 -29
  31. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +0 -151
  32. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +0 -24
  33. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +0 -16
  34. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +0 -84
  35. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +0 -8
  36. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +0 -65
  37. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +0 -114
  38. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +0 -14
  39. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +0 -52
  40. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
  41. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +0 -577
  42. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +0 -138
  43. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +0 -9
  44. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +0 -455
  45. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +0 -146
  46. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +0 -54
  47. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +0 -76
  48. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +0 -41
  49. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +0 -226
  50. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +0 -62
  51. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +0 -583
  52. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +0 -672
  53. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +0 -147
  54. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +0 -123
  55. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +0 -263
  56. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +0 -296
  57. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +0 -73
  58. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +0 -58
  59. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +0 -62
  60. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +0 -199
  61. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +0 -85
  62. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +0 -1
  63. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +0 -3049
  64. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +0 -128
  65. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +0 -676
  66. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  67. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +0 -72
  68. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +0 -68
  69. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  70. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +0 -29
  71. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +0 -430
  72. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  73. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +0 -166
  74. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +0 -356
  75. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  76. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +0 -340
  77. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +0 -156
  78. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +0 -132
  79. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  80. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +0 -73
  81. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +0 -95
  82. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +0 -305
  83. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +0 -96
  84. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +0 -437
  85. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +0 -38
  86. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +0 -412
  87. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +0 -14
  88. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +0 -19
  89. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
  90. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +0 -3
  91. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +0 -1053
  92. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  93. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +0 -34
  94. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +0 -24
  95. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +0 -273
  96. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +0 -2
  97. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +0 -204
  98. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +0 -138
  99. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +0 -3
  100. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  101. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +0 -28
  102. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  103. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  104. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +0 -8
  105. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +0 -5
  106. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  107. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  108. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  109. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  110. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  111. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  112. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  113. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  114. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  115. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  116. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -709
  117. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  118. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  119. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  120. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  121. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  122. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  123. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  124. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  125. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  126. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  127. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  128. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  129. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  130. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  131. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  132. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  133. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  134. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  135. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  136. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  137. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  138. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  139. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  140. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  141. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  142. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  143. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  144. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  145. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  146. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  147. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  148. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  149. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  150. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  151. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  152. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  153. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  154. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  155. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  156. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  157. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  158. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  159. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  160. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  161. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  162. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  163. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  164. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  165. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  166. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  167. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +0 -115
  168. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  169. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  170. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  171. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +0 -230
  172. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +0 -15
  173. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +0 -328
  174. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  175. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +0 -39
  176. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  177. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +0 -310
  178. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +0 -600
  179. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +0 -415
  180. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +0 -26
  181. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +0 -168
  182. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +0 -188
  183. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +0 -146
  184. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +0 -12
  185. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +0 -43
  186. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +0 -81
  187. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  188. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +0 -52
  189. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +0 -40
  190. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +0 -4
  191. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
  192. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +0 -286
  193. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +0 -21
  194. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +0 -457
  195. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +0 -52
  196. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +0 -24
  197. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +0 -515
  198. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +0 -156
  199. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +0 -76
  200. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +0 -100
  201. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +0 -94
  202. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +0 -100
  203. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +0 -72
  204. 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
  205. 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
  206. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +0 -1
  207. 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
  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/Credits.rtf +0 -29
  209. 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
  210. 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
  211. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
  212. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
  213. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +0 -165
  214. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
  215. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +0 -9
@@ -1,676 +0,0 @@
1
- /*********************************************************************
2
- * NAN - Native Abstractions for Node.js
3
- *
4
- * Copyright (c) 2018 NAN contributors
5
- *
6
- * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
7
- ********************************************************************/
8
-
9
- #ifndef NAN_CALLBACKS_12_INL_H_
10
- #define NAN_CALLBACKS_12_INL_H_
11
-
12
- template<typename T>
13
- class ReturnValue {
14
- v8::ReturnValue<T> value_;
15
-
16
- public:
17
- template <class S>
18
- explicit inline ReturnValue(const v8::ReturnValue<S> &value) :
19
- value_(value) {}
20
- template <class S>
21
- explicit inline ReturnValue(const ReturnValue<S>& that)
22
- : value_(that.value_) {
23
- TYPE_CHECK(T, S);
24
- }
25
-
26
- // Handle setters
27
- template <typename S> inline void Set(const v8::Local<S> &handle) {
28
- TYPE_CHECK(T, S);
29
- value_.Set(handle);
30
- }
31
-
32
- template <typename S> inline void Set(const Global<S> &handle) {
33
- TYPE_CHECK(T, S);
34
- #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
35
- (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && \
36
- (V8_MINOR_VERSION > 5 || (V8_MINOR_VERSION == 5 && \
37
- defined(V8_BUILD_NUMBER) && V8_BUILD_NUMBER >= 8))))
38
- value_.Set(handle);
39
- #else
40
- value_.Set(*reinterpret_cast<const v8::Persistent<S>*>(&handle));
41
- const_cast<Global<S> &>(handle).Reset();
42
- #endif
43
- }
44
-
45
- // Fast primitive setters
46
- inline void Set(bool value) {
47
- TYPE_CHECK(T, v8::Boolean);
48
- value_.Set(value);
49
- }
50
-
51
- inline void Set(double i) {
52
- TYPE_CHECK(T, v8::Number);
53
- value_.Set(i);
54
- }
55
-
56
- inline void Set(int32_t i) {
57
- TYPE_CHECK(T, v8::Integer);
58
- value_.Set(i);
59
- }
60
-
61
- inline void Set(uint32_t i) {
62
- TYPE_CHECK(T, v8::Integer);
63
- value_.Set(i);
64
- }
65
-
66
- // Fast JS primitive setters
67
- inline void SetNull() {
68
- TYPE_CHECK(T, v8::Primitive);
69
- value_.SetNull();
70
- }
71
-
72
- inline void SetUndefined() {
73
- TYPE_CHECK(T, v8::Primitive);
74
- value_.SetUndefined();
75
- }
76
-
77
- inline void SetEmptyString() {
78
- TYPE_CHECK(T, v8::String);
79
- value_.SetEmptyString();
80
- }
81
-
82
- // Convenience getter for isolate
83
- inline v8::Isolate *GetIsolate() const {
84
- return value_.GetIsolate();
85
- }
86
-
87
- // Pointer setter: Uncompilable to prevent inadvertent misuse.
88
- template<typename S>
89
- inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
90
- };
91
-
92
- template<typename T>
93
- class FunctionCallbackInfo {
94
- const v8::FunctionCallbackInfo<T> &info_;
95
- const v8::Local<v8::Value> data_;
96
-
97
- public:
98
- explicit inline FunctionCallbackInfo(
99
- const v8::FunctionCallbackInfo<T> &info
100
- , v8::Local<v8::Value> data) :
101
- info_(info)
102
- , data_(data) {}
103
-
104
- inline ReturnValue<T> GetReturnValue() const {
105
- return ReturnValue<T>(info_.GetReturnValue());
106
- }
107
-
108
- #if NODE_MAJOR_VERSION < 10
109
- inline v8::Local<v8::Function> Callee() const { return info_.Callee(); }
110
- #endif
111
- inline v8::Local<v8::Value> Data() const { return data_; }
112
- inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
113
- inline bool IsConstructCall() const { return info_.IsConstructCall(); }
114
- inline int Length() const { return info_.Length(); }
115
- inline v8::Local<v8::Value> operator[](int i) const { return info_[i]; }
116
- inline v8::Local<v8::Object> This() const { return info_.This(); }
117
- inline v8::Isolate *GetIsolate() const { return info_.GetIsolate(); }
118
-
119
-
120
- protected:
121
- static const int kHolderIndex = 0;
122
- static const int kIsolateIndex = 1;
123
- static const int kReturnValueDefaultValueIndex = 2;
124
- static const int kReturnValueIndex = 3;
125
- static const int kDataIndex = 4;
126
- static const int kCalleeIndex = 5;
127
- static const int kContextSaveIndex = 6;
128
- static const int kArgsLength = 7;
129
-
130
- private:
131
- NAN_DISALLOW_ASSIGN_COPY_MOVE(FunctionCallbackInfo)
132
- };
133
-
134
- template<typename T>
135
- class PropertyCallbackInfo {
136
- const v8::PropertyCallbackInfo<T> &info_;
137
- const v8::Local<v8::Value> data_;
138
-
139
- public:
140
- explicit inline PropertyCallbackInfo(
141
- const v8::PropertyCallbackInfo<T> &info
142
- , const v8::Local<v8::Value> data) :
143
- info_(info)
144
- , data_(data) {}
145
-
146
- inline v8::Isolate* GetIsolate() const { return info_.GetIsolate(); }
147
- inline v8::Local<v8::Value> Data() const { return data_; }
148
- inline v8::Local<v8::Object> This() const { return info_.This(); }
149
- inline v8::Local<v8::Object> Holder() const { return info_.Holder(); }
150
- inline ReturnValue<T> GetReturnValue() const {
151
- return ReturnValue<T>(info_.GetReturnValue());
152
- }
153
-
154
- protected:
155
- static const int kHolderIndex = 0;
156
- static const int kIsolateIndex = 1;
157
- static const int kReturnValueDefaultValueIndex = 2;
158
- static const int kReturnValueIndex = 3;
159
- static const int kDataIndex = 4;
160
- static const int kThisIndex = 5;
161
- static const int kArgsLength = 6;
162
-
163
- private:
164
- NAN_DISALLOW_ASSIGN_COPY_MOVE(PropertyCallbackInfo)
165
- };
166
-
167
- namespace imp {
168
- static
169
- void FunctionCallbackWrapper(const v8::FunctionCallbackInfo<v8::Value> &info) {
170
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
171
- FunctionCallback callback = reinterpret_cast<FunctionCallback>(
172
- reinterpret_cast<intptr_t>(
173
- obj->GetInternalField(kFunctionIndex)
174
- .As<v8::Value>().As<v8::External>()->Value()));
175
- FunctionCallbackInfo<v8::Value>
176
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
177
- callback(cbinfo);
178
- }
179
-
180
- typedef void (*NativeFunction)(const v8::FunctionCallbackInfo<v8::Value> &);
181
-
182
- #if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
183
- static
184
- void GetterCallbackWrapper(
185
- v8::Local<v8::Name> property
186
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
187
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
188
- PropertyCallbackInfo<v8::Value>
189
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
190
- GetterCallback callback = reinterpret_cast<GetterCallback>(
191
- reinterpret_cast<intptr_t>(
192
- obj->GetInternalField(kGetterIndex)
193
- .As<v8::Value>().As<v8::External>()->Value()));
194
- callback(property.As<v8::String>(), cbinfo);
195
- }
196
-
197
- typedef void (*NativeGetter)
198
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
199
-
200
- static
201
- void SetterCallbackWrapper(
202
- v8::Local<v8::Name> property
203
- , v8::Local<v8::Value> value
204
- , const v8::PropertyCallbackInfo<void> &info) {
205
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
206
- PropertyCallbackInfo<void>
207
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
208
- SetterCallback callback = reinterpret_cast<SetterCallback>(
209
- reinterpret_cast<intptr_t>(
210
- obj->GetInternalField(kSetterIndex)
211
- .As<v8::Value>().As<v8::External>()->Value()));
212
- callback(property.As<v8::String>(), value, cbinfo);
213
- }
214
-
215
- typedef void (*NativeSetter)(
216
- v8::Local<v8::Name>
217
- , v8::Local<v8::Value>
218
- , const v8::PropertyCallbackInfo<void> &);
219
- #else
220
- static
221
- void GetterCallbackWrapper(
222
- v8::Local<v8::String> property
223
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
224
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
225
- PropertyCallbackInfo<v8::Value>
226
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
227
- GetterCallback callback = reinterpret_cast<GetterCallback>(
228
- reinterpret_cast<intptr_t>(
229
- obj->GetInternalField(kGetterIndex)
230
- .As<v8::Value>().As<v8::External>()->Value()));
231
- callback(property, cbinfo);
232
- }
233
-
234
- typedef void (*NativeGetter)
235
- (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &);
236
-
237
- static
238
- void SetterCallbackWrapper(
239
- v8::Local<v8::String> property
240
- , v8::Local<v8::Value> value
241
- , const v8::PropertyCallbackInfo<void> &info) {
242
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
243
- PropertyCallbackInfo<void>
244
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
245
- SetterCallback callback = reinterpret_cast<SetterCallback>(
246
- reinterpret_cast<intptr_t>(
247
- obj->GetInternalField(kSetterIndex)
248
- .As<v8::Value>().As<v8::External>()->Value()));
249
- callback(property, value, cbinfo);
250
- }
251
-
252
- typedef void (*NativeSetter)(
253
- v8::Local<v8::String>
254
- , v8::Local<v8::Value>
255
- , const v8::PropertyCallbackInfo<void> &);
256
- #endif
257
-
258
- #if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
259
-
260
- #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
261
- (V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
262
- static
263
- v8::Intercepted PropertyGetterCallbackWrapper(
264
- v8::Local<v8::Name> property
265
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
266
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
267
- PropertyCallbackInfo<v8::Value>
268
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
269
- PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
270
- reinterpret_cast<intptr_t>(
271
- obj->GetInternalField(kPropertyGetterIndex)
272
- .As<v8::Value>().As<v8::External>()->Value()));
273
- return callback(property.As<v8::String>(), cbinfo);
274
- }
275
-
276
- typedef v8::Intercepted (*NativePropertyGetter)
277
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
278
-
279
- static
280
- v8::Intercepted PropertySetterCallbackWrapper(
281
- v8::Local<v8::Name> property
282
- , v8::Local<v8::Value> value
283
- , const v8::PropertyCallbackInfo<void> &info) {
284
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
285
- PropertyCallbackInfo<void>
286
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
287
- PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
288
- reinterpret_cast<intptr_t>(
289
- obj->GetInternalField(kPropertySetterIndex)
290
- .As<v8::Value>().As<v8::External>()->Value()));
291
- return callback(property.As<v8::String>(), value, cbinfo);
292
- }
293
-
294
- typedef v8::Intercepted (*NativePropertySetter)(
295
- v8::Local<v8::Name>
296
- , v8::Local<v8::Value>
297
- , const v8::PropertyCallbackInfo<void> &);
298
-
299
- #else
300
- static
301
- void PropertyGetterCallbackWrapper(
302
- v8::Local<v8::Name> property
303
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
304
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
305
- PropertyCallbackInfo<v8::Value>
306
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
307
- PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
308
- reinterpret_cast<intptr_t>(
309
- obj->GetInternalField(kPropertyGetterIndex)
310
- .As<v8::Value>().As<v8::External>()->Value()));
311
- callback(property.As<v8::String>(), cbinfo);
312
- }
313
-
314
- typedef void (*NativePropertyGetter)
315
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &);
316
-
317
- static
318
- void PropertySetterCallbackWrapper(
319
- v8::Local<v8::Name> property
320
- , v8::Local<v8::Value> value
321
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
322
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
323
- PropertyCallbackInfo<v8::Value>
324
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
325
- PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
326
- reinterpret_cast<intptr_t>(
327
- obj->GetInternalField(kPropertySetterIndex)
328
- .As<v8::Value>().As<v8::External>()->Value()));
329
- callback(property.As<v8::String>(), value, cbinfo);
330
- }
331
-
332
- typedef void (*NativePropertySetter)(
333
- v8::Local<v8::Name>
334
- , v8::Local<v8::Value>
335
- , const v8::PropertyCallbackInfo<v8::Value> &);
336
- #endif
337
-
338
- static
339
- void PropertyEnumeratorCallbackWrapper(
340
- const v8::PropertyCallbackInfo<v8::Array> &info) {
341
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
342
- PropertyCallbackInfo<v8::Array>
343
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
344
- PropertyEnumeratorCallback callback =
345
- reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
346
- obj->GetInternalField(kPropertyEnumeratorIndex)
347
- .As<v8::Value>().As<v8::External>()->Value()));
348
- callback(cbinfo);
349
- }
350
-
351
- typedef void (*NativePropertyEnumerator)
352
- (const v8::PropertyCallbackInfo<v8::Array> &);
353
-
354
- #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
355
- (V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
356
- static
357
- v8::Intercepted PropertyDeleterCallbackWrapper(
358
- v8::Local<v8::Name> property
359
- , const v8::PropertyCallbackInfo<v8::Boolean> &info) {
360
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
361
- PropertyCallbackInfo<v8::Boolean>
362
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
363
- PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
364
- reinterpret_cast<intptr_t>(
365
- obj->GetInternalField(kPropertyDeleterIndex)
366
- .As<v8::Value>().As<v8::External>()->Value()));
367
- return callback(property.As<v8::String>(), cbinfo);
368
- }
369
-
370
- typedef v8::Intercepted (NativePropertyDeleter)
371
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean> &);
372
-
373
-
374
- static
375
- v8::Intercepted PropertyQueryCallbackWrapper(
376
- v8::Local<v8::Name> property
377
- , const v8::PropertyCallbackInfo<v8::Integer> &info) {
378
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
379
- PropertyCallbackInfo<v8::Integer>
380
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
381
- PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
382
- reinterpret_cast<intptr_t>(
383
- obj->GetInternalField(kPropertyQueryIndex)
384
- .As<v8::Value>().As<v8::External>()->Value()));
385
- return callback(property.As<v8::String>(), cbinfo);
386
- }
387
-
388
- typedef v8::Intercepted (*NativePropertyQuery)
389
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer> &);
390
- #else
391
- static
392
- void PropertyDeleterCallbackWrapper(
393
- v8::Local<v8::Name> property
394
- , const v8::PropertyCallbackInfo<v8::Boolean> &info) {
395
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
396
- PropertyCallbackInfo<v8::Boolean>
397
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
398
- PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
399
- reinterpret_cast<intptr_t>(
400
- obj->GetInternalField(kPropertyDeleterIndex)
401
- .As<v8::Value>().As<v8::External>()->Value()));
402
- callback(property.As<v8::String>(), cbinfo);
403
- }
404
-
405
- typedef void (NativePropertyDeleter)
406
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean> &);
407
-
408
- static
409
- void PropertyQueryCallbackWrapper(
410
- v8::Local<v8::Name> property
411
- , const v8::PropertyCallbackInfo<v8::Integer> &info) {
412
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
413
- PropertyCallbackInfo<v8::Integer>
414
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
415
- PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
416
- reinterpret_cast<intptr_t>(
417
- obj->GetInternalField(kPropertyQueryIndex)
418
- .As<v8::Value>().As<v8::External>()->Value()));
419
- callback(property.As<v8::String>(), cbinfo);
420
- }
421
-
422
- typedef void (*NativePropertyQuery)
423
- (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer> &);
424
- #endif
425
- #else
426
- static
427
- void PropertyGetterCallbackWrapper(
428
- v8::Local<v8::String> property
429
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
430
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
431
- PropertyCallbackInfo<v8::Value>
432
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
433
- PropertyGetterCallback callback = reinterpret_cast<PropertyGetterCallback>(
434
- reinterpret_cast<intptr_t>(
435
- obj->GetInternalField(kPropertyGetterIndex)
436
- .As<v8::Value>().As<v8::External>()->Value()));
437
- callback(property, cbinfo);
438
- }
439
-
440
- typedef void (*NativePropertyGetter)
441
- (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &);
442
-
443
- static
444
- void PropertySetterCallbackWrapper(
445
- v8::Local<v8::String> property
446
- , v8::Local<v8::Value> value
447
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
448
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
449
- PropertyCallbackInfo<v8::Value>
450
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
451
- PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>(
452
- reinterpret_cast<intptr_t>(
453
- obj->GetInternalField(kPropertySetterIndex)
454
- .As<v8::Value>().As<v8::External>()->Value()));
455
- callback(property, value, cbinfo);
456
- }
457
-
458
- typedef void (*NativePropertySetter)(
459
- v8::Local<v8::String>
460
- , v8::Local<v8::Value>
461
- , const v8::PropertyCallbackInfo<v8::Value> &);
462
-
463
- static
464
- void PropertyEnumeratorCallbackWrapper(
465
- const v8::PropertyCallbackInfo<v8::Array> &info) {
466
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
467
- PropertyCallbackInfo<v8::Array>
468
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
469
- PropertyEnumeratorCallback callback =
470
- reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>(
471
- obj->GetInternalField(kPropertyEnumeratorIndex)
472
- .As<v8::Value>().As<v8::External>()->Value()));
473
- callback(cbinfo);
474
- }
475
-
476
- typedef void (*NativePropertyEnumerator)
477
- (const v8::PropertyCallbackInfo<v8::Array> &);
478
-
479
- static
480
- void PropertyDeleterCallbackWrapper(
481
- v8::Local<v8::String> property
482
- , const v8::PropertyCallbackInfo<v8::Boolean> &info) {
483
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
484
- PropertyCallbackInfo<v8::Boolean>
485
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
486
- PropertyDeleterCallback callback = reinterpret_cast<PropertyDeleterCallback>(
487
- reinterpret_cast<intptr_t>(
488
- obj->GetInternalField(kPropertyDeleterIndex)
489
- .As<v8::Value>().As<v8::External>()->Value()));
490
- callback(property, cbinfo);
491
- }
492
-
493
- typedef void (NativePropertyDeleter)
494
- (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Boolean> &);
495
-
496
- static
497
- void PropertyQueryCallbackWrapper(
498
- v8::Local<v8::String> property
499
- , const v8::PropertyCallbackInfo<v8::Integer> &info) {
500
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
501
- PropertyCallbackInfo<v8::Integer>
502
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
503
- PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>(
504
- reinterpret_cast<intptr_t>(
505
- obj->GetInternalField(kPropertyQueryIndex)
506
- .As<v8::Value>().As<v8::External>()->Value()));
507
- callback(property, cbinfo);
508
- }
509
-
510
- typedef void (*NativePropertyQuery)
511
- (v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Integer> &);
512
- #endif
513
-
514
- #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
515
- (V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
516
- static
517
- v8::Intercepted IndexGetterCallbackWrapper(
518
- uint32_t index, const v8::PropertyCallbackInfo<v8::Value> &info) {
519
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
520
- PropertyCallbackInfo<v8::Value>
521
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
522
- IndexGetterCallback callback = reinterpret_cast<IndexGetterCallback>(
523
- reinterpret_cast<intptr_t>(
524
- obj->GetInternalField(kIndexPropertyGetterIndex)
525
- .As<v8::Value>().As<v8::External>()->Value()));
526
- return callback(index, cbinfo);
527
- }
528
-
529
- typedef v8::Intercepted (*NativeIndexGetter)
530
- (uint32_t, const v8::PropertyCallbackInfo<v8::Value> &);
531
-
532
- static
533
- v8::Intercepted IndexSetterCallbackWrapper(
534
- uint32_t index
535
- , v8::Local<v8::Value> value
536
- , const v8::PropertyCallbackInfo<void> &info) {
537
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
538
- PropertyCallbackInfo<void>
539
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
540
- IndexSetterCallback callback = reinterpret_cast<IndexSetterCallback>(
541
- reinterpret_cast<intptr_t>(
542
- obj->GetInternalField(kIndexPropertySetterIndex)
543
- .As<v8::Value>().As<v8::External>()->Value()));
544
- return callback(index, value, cbinfo);
545
- }
546
-
547
- typedef v8::Intercepted (*NativeIndexSetter)(
548
- uint32_t
549
- , v8::Local<v8::Value>
550
- , const v8::PropertyCallbackInfo<void> &);
551
-
552
- #else
553
- static
554
- void IndexGetterCallbackWrapper(
555
- uint32_t index, const v8::PropertyCallbackInfo<v8::Value> &info) {
556
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
557
- PropertyCallbackInfo<v8::Value>
558
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
559
- IndexGetterCallback callback = reinterpret_cast<IndexGetterCallback>(
560
- reinterpret_cast<intptr_t>(
561
- obj->GetInternalField(kIndexPropertyGetterIndex)
562
- .As<v8::Value>().As<v8::External>()->Value()));
563
- callback(index, cbinfo);
564
- }
565
-
566
- typedef void (*NativeIndexGetter)
567
- (uint32_t, const v8::PropertyCallbackInfo<v8::Value> &);
568
- static
569
- void IndexSetterCallbackWrapper(
570
- uint32_t index
571
- , v8::Local<v8::Value> value
572
- , const v8::PropertyCallbackInfo<v8::Value> &info) {
573
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
574
- PropertyCallbackInfo<v8::Value>
575
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
576
- IndexSetterCallback callback = reinterpret_cast<IndexSetterCallback>(
577
- reinterpret_cast<intptr_t>(
578
- obj->GetInternalField(kIndexPropertySetterIndex)
579
- .As<v8::Value>().As<v8::External>()->Value()));
580
- callback(index, value, cbinfo);
581
- }
582
-
583
- typedef void (*NativeIndexSetter)(
584
- uint32_t
585
- , v8::Local<v8::Value>
586
- , const v8::PropertyCallbackInfo<v8::Value> &);
587
-
588
- #endif
589
-
590
- static
591
- void IndexEnumeratorCallbackWrapper(
592
- const v8::PropertyCallbackInfo<v8::Array> &info) {
593
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
594
- PropertyCallbackInfo<v8::Array>
595
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
596
- IndexEnumeratorCallback callback = reinterpret_cast<IndexEnumeratorCallback>(
597
- reinterpret_cast<intptr_t>(
598
- obj->GetInternalField(
599
- kIndexPropertyEnumeratorIndex)
600
- .As<v8::Value>().As<v8::External>()->Value()));
601
- callback(cbinfo);
602
- }
603
-
604
- typedef void (*NativeIndexEnumerator)
605
- (const v8::PropertyCallbackInfo<v8::Array> &);
606
-
607
- #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 12 || \
608
- (V8_MAJOR_VERSION == 12 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 4))
609
- static
610
- v8::Intercepted IndexDeleterCallbackWrapper(
611
- uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
612
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
613
- PropertyCallbackInfo<v8::Boolean>
614
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
615
- IndexDeleterCallback callback = reinterpret_cast<IndexDeleterCallback>(
616
- reinterpret_cast<intptr_t>(
617
- obj->GetInternalField(kIndexPropertyDeleterIndex)
618
- .As<v8::Value>().As<v8::External>()->Value()));
619
- return callback(index, cbinfo);
620
- }
621
-
622
- typedef v8::Intercepted (*NativeIndexDeleter)
623
- (uint32_t, const v8::PropertyCallbackInfo<v8::Boolean> &);
624
-
625
- static
626
- v8::Intercepted IndexQueryCallbackWrapper(
627
- uint32_t index, const v8::PropertyCallbackInfo<v8::Integer> &info) {
628
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
629
- PropertyCallbackInfo<v8::Integer>
630
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
631
- IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>(
632
- reinterpret_cast<intptr_t>(
633
- obj->GetInternalField(kIndexPropertyQueryIndex)
634
- .As<v8::Value>().As<v8::External>()->Value()));
635
- return callback(index, cbinfo);
636
- }
637
-
638
- typedef v8::Intercepted (*NativeIndexQuery)
639
- (uint32_t, const v8::PropertyCallbackInfo<v8::Integer> &);
640
- #else
641
- static
642
- void IndexDeleterCallbackWrapper(
643
- uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean> &info) {
644
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
645
- PropertyCallbackInfo<v8::Boolean>
646
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
647
- IndexDeleterCallback callback = reinterpret_cast<IndexDeleterCallback>(
648
- reinterpret_cast<intptr_t>(
649
- obj->GetInternalField(kIndexPropertyDeleterIndex)
650
- .As<v8::Value>().As<v8::External>()->Value()));
651
- callback(index, cbinfo);
652
- }
653
-
654
- typedef void (*NativeIndexDeleter)
655
- (uint32_t, const v8::PropertyCallbackInfo<v8::Boolean> &);
656
-
657
- static
658
- void IndexQueryCallbackWrapper(
659
- uint32_t index, const v8::PropertyCallbackInfo<v8::Integer> &info) {
660
- v8::Local<v8::Object> obj = info.Data().As<v8::Object>();
661
- PropertyCallbackInfo<v8::Integer>
662
- cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>());
663
- IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>(
664
- reinterpret_cast<intptr_t>(
665
- obj->GetInternalField(kIndexPropertyQueryIndex)
666
- .As<v8::Value>().As<v8::External>()->Value()));
667
- callback(index, cbinfo);
668
- }
669
-
670
- typedef void (*NativeIndexQuery)
671
- (uint32_t, const v8::PropertyCallbackInfo<v8::Integer> &);
672
-
673
- #endif
674
- } // end of namespace imp
675
-
676
- #endif // NAN_CALLBACKS_12_INL_H_