@cloudbase/manager-node 4.3.0 → 4.3.1

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 (211) hide show
  1. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
  2. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +103 -0
  3. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
  4. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +22 -0
  5. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +78 -0
  6. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +21 -0
  7. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +88 -0
  8. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +108 -0
  9. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +13 -0
  10. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +34 -0
  11. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +76 -0
  12. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +20 -0
  13. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +4 -0
  14. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
  15. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +310 -0
  16. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +21 -0
  17. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +344 -0
  18. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +15 -0
  19. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +13 -0
  20. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +8 -0
  21. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +15 -0
  22. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +48 -0
  23. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +106 -0
  24. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +29 -0
  25. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +151 -0
  26. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +24 -0
  27. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +16 -0
  28. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +84 -0
  29. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +8 -0
  30. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +65 -0
  31. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +114 -0
  32. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +14 -0
  33. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +52 -0
  34. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
  35. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +577 -0
  36. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +138 -0
  37. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +9 -0
  38. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +455 -0
  39. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +146 -0
  40. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +54 -0
  41. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +76 -0
  42. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +41 -0
  43. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +226 -0
  44. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +62 -0
  45. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +583 -0
  46. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +672 -0
  47. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +147 -0
  48. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +123 -0
  49. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +263 -0
  50. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +296 -0
  51. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +73 -0
  52. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +58 -0
  53. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +62 -0
  54. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +199 -0
  55. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +85 -0
  56. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +1 -0
  57. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +3049 -0
  58. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +128 -0
  59. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +676 -0
  60. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
  61. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +72 -0
  62. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +68 -0
  63. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
  64. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +29 -0
  65. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +430 -0
  66. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
  67. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +166 -0
  68. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +356 -0
  69. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
  70. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +340 -0
  71. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +156 -0
  72. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +132 -0
  73. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
  74. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +73 -0
  75. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +95 -0
  76. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +305 -0
  77. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +96 -0
  78. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +437 -0
  79. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +38 -0
  80. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +412 -0
  81. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +14 -0
  82. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +19 -0
  83. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
  84. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +3 -0
  85. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +1053 -0
  86. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
  87. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +34 -0
  88. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +24 -0
  89. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +273 -0
  90. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +2 -0
  91. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +204 -0
  92. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +138 -0
  93. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +3 -0
  94. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  95. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +28 -0
  96. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  97. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  98. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +8 -0
  99. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +5 -0
  100. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  101. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  102. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  103. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1272 -0
  104. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1547 -0
  105. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  106. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  107. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  108. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
  109. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +704 -0
  110. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +709 -0
  111. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +173 -0
  112. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +169 -0
  113. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  114. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  115. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  116. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  117. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1172 -0
  118. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1319 -0
  119. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  120. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  121. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +462 -0
  122. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +89 -0
  123. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
  124. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2745 -0
  125. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3976 -0
  126. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  127. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2965 -0
  128. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
  129. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1391 -0
  130. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  131. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +3112 -0
  132. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  133. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +767 -0
  134. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1260 -0
  135. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  136. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  137. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +373 -0
  138. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1939 -0
  139. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  140. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +303 -0
  141. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3196 -0
  142. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +65 -0
  143. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  144. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  145. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  146. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  147. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +108 -0
  148. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  149. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  150. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  151. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  152. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  153. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +252 -0
  154. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +825 -0
  155. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  156. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  157. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  158. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
  159. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  160. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  161. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +115 -0
  162. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  163. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +261 -0
  164. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  165. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +230 -0
  166. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +15 -0
  167. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +328 -0
  168. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  169. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +39 -0
  170. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  171. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +310 -0
  172. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
  173. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +415 -0
  174. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +26 -0
  175. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +168 -0
  176. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +188 -0
  177. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +146 -0
  178. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +12 -0
  179. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +43 -0
  180. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +81 -0
  181. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  182. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +52 -0
  183. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +40 -0
  184. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +4 -0
  185. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
  186. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +286 -0
  187. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +21 -0
  188. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +457 -0
  189. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +52 -0
  190. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +24 -0
  191. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +515 -0
  192. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +156 -0
  193. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +76 -0
  194. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +100 -0
  195. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +94 -0
  196. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +100 -0
  197. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +72 -0
  198. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Info.plist +63 -0
  199. 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
  200. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +1 -0
  201. 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
  202. 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 +29 -0
  203. 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
  204. 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
  205. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
  206. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
  207. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +165 -0
  208. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
  209. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +9 -0
  210. package/lib/utils/index.js +27 -10
  211. package/package.json +1 -1
@@ -0,0 +1,96 @@
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_TYPEDARRAY_CONTENTS_H_
10
+ #define NAN_TYPEDARRAY_CONTENTS_H_
11
+
12
+ template<typename T>
13
+ class TypedArrayContents {
14
+ public:
15
+ inline explicit TypedArrayContents(v8::Local<v8::Value> from) :
16
+ length_(0), data_(NULL) {
17
+ HandleScope scope;
18
+
19
+ size_t length = 0;
20
+ void* data = NULL;
21
+
22
+ #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
23
+ (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
24
+
25
+ if (from->IsArrayBufferView()) {
26
+ v8::Local<v8::ArrayBufferView> array =
27
+ v8::Local<v8::ArrayBufferView>::Cast(from);
28
+
29
+ const size_t byte_length = array->ByteLength();
30
+ const ptrdiff_t byte_offset = array->ByteOffset();
31
+ v8::Local<v8::ArrayBuffer> buffer = array->Buffer();
32
+
33
+ length = byte_length / sizeof(T);
34
+ // Actually it's 7.9 here but this would lead to ABI issues with Node.js 13
35
+ // using 7.8 till 13.2.0.
36
+ #if (V8_MAJOR_VERSION >= 8)
37
+ data = static_cast<char*>(buffer->GetBackingStore()->Data()) + byte_offset;
38
+ #else
39
+ data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
40
+ #endif
41
+ }
42
+
43
+ #else
44
+
45
+ if (from->IsObject() && !from->IsNull()) {
46
+ v8::Local<v8::Object> array = v8::Local<v8::Object>::Cast(from);
47
+
48
+ MaybeLocal<v8::Value> buffer = Get(array,
49
+ New<v8::String>("buffer").ToLocalChecked());
50
+ MaybeLocal<v8::Value> byte_length = Get(array,
51
+ New<v8::String>("byteLength").ToLocalChecked());
52
+ MaybeLocal<v8::Value> byte_offset = Get(array,
53
+ New<v8::String>("byteOffset").ToLocalChecked());
54
+
55
+ if (!buffer.IsEmpty() &&
56
+ !byte_length.IsEmpty() && byte_length.ToLocalChecked()->IsUint32() &&
57
+ !byte_offset.IsEmpty() && byte_offset.ToLocalChecked()->IsUint32()) {
58
+ data = array->GetIndexedPropertiesExternalArrayData();
59
+ if(data) {
60
+ length = byte_length.ToLocalChecked()->Uint32Value() / sizeof(T);
61
+ }
62
+ }
63
+ }
64
+
65
+ #endif
66
+
67
+ #if defined(_MSC_VER) && _MSC_VER >= 1900 || __cplusplus >= 201103L
68
+ assert(reinterpret_cast<uintptr_t>(data) % alignof (T) == 0);
69
+ #elif defined(_MSC_VER) && _MSC_VER >= 1600 || defined(__GNUC__)
70
+ assert(reinterpret_cast<uintptr_t>(data) % __alignof(T) == 0);
71
+ #else
72
+ assert(reinterpret_cast<uintptr_t>(data) % sizeof (T) == 0);
73
+ #endif
74
+
75
+ length_ = length;
76
+ data_ = static_cast<T*>(data);
77
+ }
78
+
79
+ inline size_t length() const { return length_; }
80
+ inline T* operator*() { return data_; }
81
+ inline const T* operator*() const { return data_; }
82
+
83
+ private:
84
+ NAN_DISALLOW_ASSIGN_COPY_MOVE(TypedArrayContents)
85
+
86
+ //Disable heap allocation
87
+ void *operator new(size_t size);
88
+ void operator delete(void *, size_t) {
89
+ abort();
90
+ }
91
+
92
+ size_t length_;
93
+ T* data_;
94
+ };
95
+
96
+ #endif // NAN_TYPEDARRAY_CONTENTS_H_
@@ -0,0 +1,437 @@
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_WEAK_H_
10
+ #define NAN_WEAK_H_
11
+
12
+ static const int kInternalFieldsInWeakCallback = 2;
13
+ static const int kNoInternalFieldIndex = -1;
14
+
15
+ #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
16
+ (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
17
+ # define NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_ \
18
+ v8::WeakCallbackInfo<WeakCallbackInfo<T> > const&
19
+ # define NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_ \
20
+ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
21
+ # define NAN_WEAK_PARAMETER_CALLBACK_SIG_ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
22
+ # define NAN_WEAK_TWOFIELD_CALLBACK_SIG_ NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_
23
+ #elif NODE_MODULE_VERSION > IOJS_1_1_MODULE_VERSION
24
+ # define NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_ \
25
+ v8::PhantomCallbackData<WeakCallbackInfo<T> > const&
26
+ # define NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_ \
27
+ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
28
+ # define NAN_WEAK_PARAMETER_CALLBACK_SIG_ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
29
+ # define NAN_WEAK_TWOFIELD_CALLBACK_SIG_ NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_
30
+ #elif NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
31
+ # define NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_ \
32
+ v8::PhantomCallbackData<WeakCallbackInfo<T> > const&
33
+ # define NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_ \
34
+ v8::InternalFieldsCallbackData<WeakCallbackInfo<T>, void> const&
35
+ # define NAN_WEAK_PARAMETER_CALLBACK_SIG_ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
36
+ # define NAN_WEAK_TWOFIELD_CALLBACK_SIG_ NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_
37
+ #elif NODE_MODULE_VERSION > NODE_0_10_MODULE_VERSION
38
+ # define NAN_WEAK_CALLBACK_DATA_TYPE_ \
39
+ v8::WeakCallbackData<S, WeakCallbackInfo<T> > const&
40
+ # define NAN_WEAK_CALLBACK_SIG_ NAN_WEAK_CALLBACK_DATA_TYPE_
41
+ #else
42
+ # define NAN_WEAK_CALLBACK_DATA_TYPE_ void *
43
+ # define NAN_WEAK_CALLBACK_SIG_ \
44
+ v8::Persistent<v8::Value>, NAN_WEAK_CALLBACK_DATA_TYPE_
45
+ #endif
46
+
47
+ template<typename T>
48
+ class WeakCallbackInfo {
49
+ public:
50
+ typedef void (*Callback)(const WeakCallbackInfo<T>& data);
51
+ WeakCallbackInfo(
52
+ Persistent<v8::Value> *persistent
53
+ , Callback callback
54
+ , void *parameter
55
+ , void *field1 = 0
56
+ , void *field2 = 0) :
57
+ callback_(callback), isolate_(0), parameter_(parameter) {
58
+ std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
59
+ internal_fields_[0] = field1;
60
+ internal_fields_[1] = field2;
61
+ }
62
+ inline v8::Isolate *GetIsolate() const { return isolate_; }
63
+ inline T *GetParameter() const { return static_cast<T*>(parameter_); }
64
+ inline void *GetInternalField(int index) const {
65
+ assert((index == 0 || index == 1) && "internal field index out of bounds");
66
+ if (index == 0) {
67
+ return internal_fields_[0];
68
+ } else {
69
+ return internal_fields_[1];
70
+ }
71
+ }
72
+
73
+ private:
74
+ NAN_DISALLOW_ASSIGN_COPY_MOVE(WeakCallbackInfo)
75
+ Callback callback_;
76
+ v8::Isolate *isolate_;
77
+ void *parameter_;
78
+ void *internal_fields_[kInternalFieldsInWeakCallback];
79
+ v8::Persistent<v8::Value> persistent_;
80
+ template<typename S, typename M> friend class Persistent;
81
+ template<typename S> friend class PersistentBase;
82
+ #if NODE_MODULE_VERSION <= NODE_0_12_MODULE_VERSION
83
+ # if NODE_MODULE_VERSION > NODE_0_10_MODULE_VERSION
84
+ template<typename S>
85
+ static void invoke(NAN_WEAK_CALLBACK_SIG_ data);
86
+ template<typename S>
87
+ static WeakCallbackInfo *unwrap(NAN_WEAK_CALLBACK_DATA_TYPE_ data);
88
+ # else
89
+ static void invoke(NAN_WEAK_CALLBACK_SIG_ data);
90
+ static WeakCallbackInfo *unwrap(NAN_WEAK_CALLBACK_DATA_TYPE_ data);
91
+ # endif
92
+ #else
93
+ # if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
94
+ (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
95
+ template<bool isFirstPass>
96
+ static void invokeparameter(NAN_WEAK_PARAMETER_CALLBACK_SIG_ data);
97
+ template<bool isFirstPass>
98
+ static void invoketwofield(NAN_WEAK_TWOFIELD_CALLBACK_SIG_ data);
99
+ # else
100
+ static void invokeparameter(NAN_WEAK_PARAMETER_CALLBACK_SIG_ data);
101
+ static void invoketwofield(NAN_WEAK_TWOFIELD_CALLBACK_SIG_ data);
102
+ # endif
103
+ static WeakCallbackInfo *unwrapparameter(
104
+ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_ data);
105
+ static WeakCallbackInfo *unwraptwofield(
106
+ NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_ data);
107
+ #endif
108
+ };
109
+
110
+
111
+ #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
112
+ (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
113
+
114
+ template<typename T>
115
+ template<bool isFirstPass>
116
+ void
117
+ WeakCallbackInfo<T>::invokeparameter(NAN_WEAK_PARAMETER_CALLBACK_SIG_ data) {
118
+ WeakCallbackInfo<T> *cbinfo = unwrapparameter(data);
119
+ if (isFirstPass) {
120
+ cbinfo->persistent_.Reset();
121
+ data.SetSecondPassCallback(invokeparameter<false>);
122
+ } else {
123
+ cbinfo->callback_(*cbinfo);
124
+ delete cbinfo;
125
+ }
126
+ }
127
+
128
+ template<typename T>
129
+ template<bool isFirstPass>
130
+ void
131
+ WeakCallbackInfo<T>::invoketwofield(NAN_WEAK_TWOFIELD_CALLBACK_SIG_ data) {
132
+ WeakCallbackInfo<T> *cbinfo = unwraptwofield(data);
133
+ if (isFirstPass) {
134
+ cbinfo->persistent_.Reset();
135
+ data.SetSecondPassCallback(invoketwofield<false>);
136
+ } else {
137
+ cbinfo->callback_(*cbinfo);
138
+ delete cbinfo;
139
+ }
140
+ }
141
+
142
+ template<typename T>
143
+ WeakCallbackInfo<T> *WeakCallbackInfo<T>::unwrapparameter(
144
+ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_ data) {
145
+ WeakCallbackInfo<T> *cbinfo =
146
+ static_cast<WeakCallbackInfo<T>*>(data.GetParameter());
147
+ cbinfo->isolate_ = data.GetIsolate();
148
+ return cbinfo;
149
+ }
150
+
151
+ template<typename T>
152
+ WeakCallbackInfo<T> *WeakCallbackInfo<T>::unwraptwofield(
153
+ NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_ data) {
154
+ WeakCallbackInfo<T> *cbinfo =
155
+ static_cast<WeakCallbackInfo<T>*>(data.GetInternalField(0));
156
+ cbinfo->isolate_ = data.GetIsolate();
157
+ return cbinfo;
158
+ }
159
+
160
+ #undef NAN_WEAK_PARAMETER_CALLBACK_SIG_
161
+ #undef NAN_WEAK_TWOFIELD_CALLBACK_SIG_
162
+ #undef NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
163
+ #undef NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_
164
+ # elif NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
165
+
166
+ template<typename T>
167
+ void
168
+ WeakCallbackInfo<T>::invokeparameter(NAN_WEAK_PARAMETER_CALLBACK_SIG_ data) {
169
+ WeakCallbackInfo<T> *cbinfo = unwrapparameter(data);
170
+ cbinfo->persistent_.Reset();
171
+ cbinfo->callback_(*cbinfo);
172
+ delete cbinfo;
173
+ }
174
+
175
+ template<typename T>
176
+ void
177
+ WeakCallbackInfo<T>::invoketwofield(NAN_WEAK_TWOFIELD_CALLBACK_SIG_ data) {
178
+ WeakCallbackInfo<T> *cbinfo = unwraptwofield(data);
179
+ cbinfo->persistent_.Reset();
180
+ cbinfo->callback_(*cbinfo);
181
+ delete cbinfo;
182
+ }
183
+
184
+ template<typename T>
185
+ WeakCallbackInfo<T> *WeakCallbackInfo<T>::unwrapparameter(
186
+ NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_ data) {
187
+ WeakCallbackInfo<T> *cbinfo =
188
+ static_cast<WeakCallbackInfo<T>*>(data.GetParameter());
189
+ cbinfo->isolate_ = data.GetIsolate();
190
+ return cbinfo;
191
+ }
192
+
193
+ template<typename T>
194
+ WeakCallbackInfo<T> *WeakCallbackInfo<T>::unwraptwofield(
195
+ NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_ data) {
196
+ WeakCallbackInfo<T> *cbinfo =
197
+ static_cast<WeakCallbackInfo<T>*>(data.GetInternalField1());
198
+ cbinfo->isolate_ = data.GetIsolate();
199
+ return cbinfo;
200
+ }
201
+
202
+ #undef NAN_WEAK_PARAMETER_CALLBACK_SIG_
203
+ #undef NAN_WEAK_TWOFIELD_CALLBACK_SIG_
204
+ #undef NAN_WEAK_PARAMETER_CALLBACK_DATA_TYPE_
205
+ #undef NAN_WEAK_TWOFIELD_CALLBACK_DATA_TYPE_
206
+ #elif NODE_MODULE_VERSION > NODE_0_10_MODULE_VERSION
207
+
208
+ template<typename T>
209
+ template<typename S>
210
+ void WeakCallbackInfo<T>::invoke(NAN_WEAK_CALLBACK_SIG_ data) {
211
+ WeakCallbackInfo<T> *cbinfo = unwrap(data);
212
+ cbinfo->persistent_.Reset();
213
+ cbinfo->callback_(*cbinfo);
214
+ delete cbinfo;
215
+ }
216
+
217
+ template<typename T>
218
+ template<typename S>
219
+ WeakCallbackInfo<T> *WeakCallbackInfo<T>::unwrap(
220
+ NAN_WEAK_CALLBACK_DATA_TYPE_ data) {
221
+ void *parameter = data.GetParameter();
222
+ WeakCallbackInfo<T> *cbinfo =
223
+ static_cast<WeakCallbackInfo<T>*>(parameter);
224
+ cbinfo->isolate_ = data.GetIsolate();
225
+ return cbinfo;
226
+ }
227
+
228
+ #undef NAN_WEAK_CALLBACK_SIG_
229
+ #undef NAN_WEAK_CALLBACK_DATA_TYPE_
230
+ #else
231
+
232
+ template<typename T>
233
+ void WeakCallbackInfo<T>::invoke(NAN_WEAK_CALLBACK_SIG_ data) {
234
+ WeakCallbackInfo<T> *cbinfo = unwrap(data);
235
+ cbinfo->persistent_.Dispose();
236
+ cbinfo->persistent_.Clear();
237
+ cbinfo->callback_(*cbinfo);
238
+ delete cbinfo;
239
+ }
240
+
241
+ template<typename T>
242
+ WeakCallbackInfo<T> *WeakCallbackInfo<T>::unwrap(
243
+ NAN_WEAK_CALLBACK_DATA_TYPE_ data) {
244
+ WeakCallbackInfo<T> *cbinfo =
245
+ static_cast<WeakCallbackInfo<T>*>(data);
246
+ cbinfo->isolate_ = v8::Isolate::GetCurrent();
247
+ return cbinfo;
248
+ }
249
+
250
+ #undef NAN_WEAK_CALLBACK_SIG_
251
+ #undef NAN_WEAK_CALLBACK_DATA_TYPE_
252
+ #endif
253
+
254
+ #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
255
+ (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
256
+ template<typename T, typename M>
257
+ template<typename P>
258
+ inline void Persistent<T, M>::SetWeak(
259
+ P *parameter
260
+ , typename WeakCallbackInfo<P>::Callback callback
261
+ , WeakCallbackType type) {
262
+ WeakCallbackInfo<P> *wcbd;
263
+ if (type == WeakCallbackType::kParameter) {
264
+ wcbd = new WeakCallbackInfo<P>(
265
+ reinterpret_cast<Persistent<v8::Value>*>(this)
266
+ , callback
267
+ , parameter);
268
+ v8::PersistentBase<T>::SetWeak(
269
+ wcbd
270
+ , WeakCallbackInfo<P>::template invokeparameter<true>
271
+ , type);
272
+ } else {
273
+ v8::Local<v8::Value>* self_v(reinterpret_cast<v8::Local<v8::Value>*>(this));
274
+ assert((*self_v)->IsObject());
275
+ v8::Local<v8::Object> self((*self_v).As<v8::Object>());
276
+ int count = self->InternalFieldCount();
277
+ void *internal_fields[kInternalFieldsInWeakCallback] = {0, 0};
278
+ for (int i = 0; i < count && i < kInternalFieldsInWeakCallback; i++) {
279
+ internal_fields[i] = self->GetAlignedPointerFromInternalField(i);
280
+ }
281
+ wcbd = new WeakCallbackInfo<P>(
282
+ reinterpret_cast<Persistent<v8::Value>*>(this)
283
+ , callback
284
+ , 0
285
+ , internal_fields[0]
286
+ , internal_fields[1]);
287
+ self->SetAlignedPointerInInternalField(0, wcbd);
288
+ v8::PersistentBase<T>::SetWeak(
289
+ static_cast<WeakCallbackInfo<P>*>(0)
290
+ , WeakCallbackInfo<P>::template invoketwofield<true>
291
+ , type);
292
+ }
293
+ }
294
+ #elif NODE_MODULE_VERSION > IOJS_1_1_MODULE_VERSION
295
+ template<typename T, typename M>
296
+ template<typename P>
297
+ inline void Persistent<T, M>::SetWeak(
298
+ P *parameter
299
+ , typename WeakCallbackInfo<P>::Callback callback
300
+ , WeakCallbackType type) {
301
+ WeakCallbackInfo<P> *wcbd;
302
+ if (type == WeakCallbackType::kParameter) {
303
+ wcbd = new WeakCallbackInfo<P>(
304
+ reinterpret_cast<Persistent<v8::Value>*>(this)
305
+ , callback
306
+ , parameter);
307
+ v8::PersistentBase<T>::SetPhantom(
308
+ wcbd
309
+ , WeakCallbackInfo<P>::invokeparameter);
310
+ } else {
311
+ v8::Local<v8::Value>* self_v(reinterpret_cast<v8::Local<v8::Value>*>(this));
312
+ assert((*self_v)->IsObject());
313
+ v8::Local<v8::Object> self((*self_v).As<v8::Object>());
314
+ int count = self->InternalFieldCount();
315
+ void *internal_fields[kInternalFieldsInWeakCallback] = {0, 0};
316
+ for (int i = 0; i < count && i < kInternalFieldsInWeakCallback; i++) {
317
+ internal_fields[i] = self->GetAlignedPointerFromInternalField(i);
318
+ }
319
+ wcbd = new WeakCallbackInfo<P>(
320
+ reinterpret_cast<Persistent<v8::Value>*>(this)
321
+ , callback
322
+ , 0
323
+ , internal_fields[0]
324
+ , internal_fields[1]);
325
+ self->SetAlignedPointerInInternalField(0, wcbd);
326
+ v8::PersistentBase<T>::SetPhantom(
327
+ static_cast<WeakCallbackInfo<P>*>(0)
328
+ , WeakCallbackInfo<P>::invoketwofield
329
+ , 0
330
+ , count > 1 ? 1 : kNoInternalFieldIndex);
331
+ }
332
+ }
333
+ #elif NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
334
+ template<typename T, typename M>
335
+ template<typename P>
336
+ inline void Persistent<T, M>::SetWeak(
337
+ P *parameter
338
+ , typename WeakCallbackInfo<P>::Callback callback
339
+ , WeakCallbackType type) {
340
+ WeakCallbackInfo<P> *wcbd;
341
+ if (type == WeakCallbackType::kParameter) {
342
+ wcbd = new WeakCallbackInfo<P>(
343
+ reinterpret_cast<Persistent<v8::Value>*>(this)
344
+ , callback
345
+ , parameter);
346
+ v8::PersistentBase<T>::SetPhantom(
347
+ wcbd
348
+ , WeakCallbackInfo<P>::invokeparameter);
349
+ } else {
350
+ v8::Local<v8::Value>* self_v(reinterpret_cast<v8::Local<v8::Value>*>(this));
351
+ assert((*self_v)->IsObject());
352
+ v8::Local<v8::Object> self((*self_v).As<v8::Object>());
353
+ int count = self->InternalFieldCount();
354
+ void *internal_fields[kInternalFieldsInWeakCallback] = {0, 0};
355
+ for (int i = 0; i < count && i < kInternalFieldsInWeakCallback; i++) {
356
+ internal_fields[i] = self->GetAlignedPointerFromInternalField(i);
357
+ }
358
+ wcbd = new WeakCallbackInfo<P>(
359
+ reinterpret_cast<Persistent<v8::Value>*>(this)
360
+ , callback
361
+ , 0
362
+ , internal_fields[0]
363
+ , internal_fields[1]);
364
+ self->SetAlignedPointerInInternalField(0, wcbd);
365
+ v8::PersistentBase<T>::SetPhantom(
366
+ WeakCallbackInfo<P>::invoketwofield
367
+ , 0
368
+ , count > 1 ? 1 : kNoInternalFieldIndex);
369
+ }
370
+ }
371
+ #elif NODE_MODULE_VERSION > NODE_0_10_MODULE_VERSION
372
+ template<typename T, typename M>
373
+ template<typename P>
374
+ inline void Persistent<T, M>::SetWeak(
375
+ P *parameter
376
+ , typename WeakCallbackInfo<P>::Callback callback
377
+ , WeakCallbackType type) {
378
+ WeakCallbackInfo<P> *wcbd;
379
+ if (type == WeakCallbackType::kParameter) {
380
+ wcbd = new WeakCallbackInfo<P>(
381
+ reinterpret_cast<Persistent<v8::Value>*>(this)
382
+ , callback
383
+ , parameter);
384
+ v8::PersistentBase<T>::SetWeak(wcbd, WeakCallbackInfo<P>::invoke);
385
+ } else {
386
+ v8::Local<v8::Value>* self_v(reinterpret_cast<v8::Local<v8::Value>*>(this));
387
+ assert((*self_v)->IsObject());
388
+ v8::Local<v8::Object> self((*self_v).As<v8::Object>());
389
+ int count = self->InternalFieldCount();
390
+ void *internal_fields[kInternalFieldsInWeakCallback] = {0, 0};
391
+ for (int i = 0; i < count && i < kInternalFieldsInWeakCallback; i++) {
392
+ internal_fields[i] = self->GetAlignedPointerFromInternalField(i);
393
+ }
394
+ wcbd = new WeakCallbackInfo<P>(
395
+ reinterpret_cast<Persistent<v8::Value>*>(this)
396
+ , callback
397
+ , 0
398
+ , internal_fields[0]
399
+ , internal_fields[1]);
400
+ v8::PersistentBase<T>::SetWeak(wcbd, WeakCallbackInfo<P>::invoke);
401
+ }
402
+ }
403
+ #else
404
+ template<typename T>
405
+ template<typename P>
406
+ inline void PersistentBase<T>::SetWeak(
407
+ P *parameter
408
+ , typename WeakCallbackInfo<P>::Callback callback
409
+ , WeakCallbackType type) {
410
+ WeakCallbackInfo<P> *wcbd;
411
+ if (type == WeakCallbackType::kParameter) {
412
+ wcbd = new WeakCallbackInfo<P>(
413
+ reinterpret_cast<Persistent<v8::Value>*>(this)
414
+ , callback
415
+ , parameter);
416
+ persistent.MakeWeak(wcbd, WeakCallbackInfo<P>::invoke);
417
+ } else {
418
+ v8::Local<v8::Value>* self_v(reinterpret_cast<v8::Local<v8::Value>*>(this));
419
+ assert((*self_v)->IsObject());
420
+ v8::Local<v8::Object> self((*self_v).As<v8::Object>());
421
+ int count = self->InternalFieldCount();
422
+ void *internal_fields[kInternalFieldsInWeakCallback] = {0, 0};
423
+ for (int i = 0; i < count && i < kInternalFieldsInWeakCallback; i++) {
424
+ internal_fields[i] = self->GetPointerFromInternalField(i);
425
+ }
426
+ wcbd = new WeakCallbackInfo<P>(
427
+ reinterpret_cast<Persistent<v8::Value>*>(this)
428
+ , callback
429
+ , 0
430
+ , internal_fields[0]
431
+ , internal_fields[1]);
432
+ persistent.MakeWeak(wcbd, WeakCallbackInfo<P>::invoke);
433
+ }
434
+ }
435
+ #endif
436
+
437
+ #endif // NAN_WEAK_H_
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "nan",
3
+ "version": "2.22.2",
4
+ "description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 22 compatibility",
5
+ "main": "include_dirs.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git://github.com/nodejs/nan.git"
9
+ },
10
+ "scripts": {
11
+ "test": "tap --gc --stderr test/js/*-test.js",
12
+ "test:worker": "node --experimental-worker test/tap-as-worker.js --gc --stderr test/js/*-test.js",
13
+ "rebuild-tests-2015": "node-gyp rebuild --msvs_version=2015 --directory test",
14
+ "rebuild-tests": "node-gyp rebuild --directory test",
15
+ "docs": "doc/.build.sh"
16
+ },
17
+ "contributors": [
18
+ "Rod Vagg <r@va.gg> (https://github.com/rvagg)",
19
+ "Benjamin Byholm <bbyholm@abo.fi> (https://github.com/kkoopa/)",
20
+ "Trevor Norris <trev.norris@gmail.com> (https://github.com/trevnorris)",
21
+ "Nathan Rajlich <nathan@tootallnate.net> (https://github.com/TooTallNate)",
22
+ "Brett Lawson <brett19@gmail.com> (https://github.com/brett19)",
23
+ "Ben Noordhuis <info@bnoordhuis.nl> (https://github.com/bnoordhuis)",
24
+ "David Siegel <david@artcom.de> (https://github.com/agnat)",
25
+ "Michael Ira Krufky <mkrufky@gmail.com> (https://github.com/mkrufky)"
26
+ ],
27
+ "devDependencies": {
28
+ "bindings": "~1.2.1",
29
+ "commander": "^2.8.1",
30
+ "glob": "^5.0.14",
31
+ "request": "=2.81.0",
32
+ "node-gyp": "~v10.3.1",
33
+ "readable-stream": "^2.1.4",
34
+ "tap": "~0.7.1",
35
+ "xtend": "~4.0.0"
36
+ },
37
+ "license": "MIT"
38
+ }