@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,103 @@
1
+ language: objective-c
2
+
3
+
4
+ env:
5
+ global:
6
+ - secure: "gve1nkeKkwFEG1VAT3i+JwYyAdF0gKXwKx0uxbkBTsmm2M+0MDusohQdFLoEIkSIFktXBIDefoa7iGpLKRfG2VsZLpwJgnvnD0HqbnuR+k+W+bu7BHt4CAaR6GTllsDCjyq9zNyhUThzSnf2WNIpOEF5kHspZlbGfawURuUJH/U="
7
+ - secure: "jqVpmWxxBVXu2X8+XJMpKH0cooc2EKz9xKL2znBfYdNafJORSXcFAVbjCX5mZmVDcgIMwDtm2+gIG4P73hzJ2e3S+y2Z9ROJGyXHa3AxUTvXHQsxqzH8coHHqB8vTvfr0t2O5aKfpvpICpSea39r0hzNoMv6Ie5SwBdqj1YY9K0="
8
+ matrix:
9
+ - NODE_VERSION="v13"
10
+ - NODE_VERSION="v12"
11
+ - NODE_VERSION="v11"
12
+ - NODE_VERSION="v10"
13
+ - NODE_VERSION="v9"
14
+ - NODE_VERSION="v8"
15
+ - NODE_VERSION="v7"
16
+ - NODE_VERSION="v6"
17
+
18
+ before_install:
19
+
20
+ - echo $TRAVIS_OS_NAME
21
+
22
+ # commit
23
+ # ------------------------
24
+ # The commit message is used to determine the whether to manually
25
+ # invoke a binary publish
26
+
27
+ - COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
28
+
29
+ # node
30
+ # ------------------------
31
+
32
+ - export PATH=./node_modules/.bin/:$PATH
33
+ - rm -rf ~/.nvm && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
34
+ - source ~/.nvm/nvm.sh
35
+ - nvm install $NODE_VERSION
36
+ - nvm use $NODE_VERSION
37
+ - npm install -g npm@3
38
+ - node --version
39
+ - npm --version
40
+ - nvm --version
41
+
42
+ # publish dependencies
43
+ # ------------------------
44
+
45
+ - npm install node-gyp -g
46
+ - npm install aws-sdk
47
+
48
+ install:
49
+
50
+ # in the first instance we build from source to create the initial binary
51
+ # which can then be used to create a package
52
+
53
+ - npm install --build-from-source
54
+ - npm test
55
+
56
+ before_script:
57
+
58
+ # Detemine if a publish is required.
59
+ #
60
+ # a) we are building a tag
61
+ # b) we put [publish binary] in the commit message
62
+
63
+ - PUBLISH_BINARY=false
64
+
65
+ - if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH_BINARY=true; fi; # a
66
+ - if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then PUBLISH_BINARY=true; fi; # b
67
+
68
+ # package & publish
69
+ # ------------------------
70
+
71
+ - if [[ $PUBLISH_BINARY == true ]]; then ./node_modules/.bin/node-pre-gyp package publish; fi;
72
+
73
+ # clean-up
74
+ # ------------------------
75
+
76
+ - ./node_modules/.bin/node-pre-gyp clean
77
+ - node-gyp clean
78
+
79
+ script:
80
+
81
+ # validate
82
+ # ------------------------
83
+ # Post publishing a release verify that installing will pull down latest
84
+ # binary from remote host
85
+
86
+ - INSTALL_RESULT=0
87
+ - if [[ $PUBLISH_BINARY == true ]]; then INSTALL_RESULT=$(npm install --fallback-to-build=false > /dev/null)$? || true; fi;
88
+
89
+ - ./node_modules/.bin/node-pre-gyp clean
90
+
91
+ # failure?
92
+ # ------------------------
93
+ # if install returned non zero (errored) then we first unpublish and then
94
+ # call false so travis will bail at this line.
95
+
96
+ - if [[ $INSTALL_RESULT != 0 ]]; then ./node_modules/.bin/node-pre-gyp unpublish; fi;
97
+ - if [[ $INSTALL_RESULT != 0 ]]; then echo "returned $INSTALL_RESULT";false; fi;
98
+
99
+ after_success:
100
+
101
+ # display all published binaries
102
+
103
+ - npm run node-pre-gyp info
@@ -0,0 +1,8 @@
1
+ If you are NOT on OS X and have come here to file an issue about compatibility problems,
2
+ please stop and go to #115 for your answer.
3
+
4
+ You can look through many other similar closed issues as well if you're interested:
5
+ https://github.com/strongloop/fsevents/search?utf8=%E2%9C%93&q=%22notsup%22+OR+%22EBADPLATFORM%22&type=Issues.
6
+
7
+ If you are here to report an issue observed while using this module on OS X, please delete
8
+ all this pre-filled text then go ahead and submit your report.
@@ -0,0 +1,22 @@
1
+ MIT License
2
+ -----------
3
+
4
+ Copyright (C) 2010-2014 Philipp Dunkel
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,78 @@
1
+ # fsevents [![NPM](https://nodei.co/npm/fsevents.png)](https://nodei.co/npm/fsevents/)
2
+
3
+ Native access to OS X FSEvents in [Node.js](http://nodejs.org/)
4
+
5
+ The FSEvents API in OS X allows applications to register for notifications of
6
+ changes to a given directory tree. It is a very fast and lightweight alternative
7
+ to kqueue.
8
+
9
+ This is a low-level library. For a cross-compatible file watching module that
10
+ uses fsevents, check out [Chokidar](https://www.npmjs.com/package/chokidar).
11
+
12
+ * [Module Site & GitHub](https://github.com/strongloop/fsevents)
13
+ * [NPM Page](https://npmjs.org/package/fsevents)
14
+
15
+ ## Installation
16
+
17
+ $ npm install fsevents
18
+
19
+ ## Usage
20
+
21
+ ```js
22
+ var fsevents = require('fsevents');
23
+ var watcher = fsevents(__dirname);
24
+ watcher.on('fsevent', function(path, flags, id) { }); // RAW Event as emitted by OS-X
25
+ watcher.on('change', function(path, info) { }); // Common Event for all changes
26
+ watcher.start() // To start observation
27
+ watcher.stop() // To end observation
28
+ ```
29
+
30
+ ### Events
31
+
32
+ * *fsevent* - RAW Event as emitted by OS-X
33
+ * *change* - Common Event for all changes
34
+ * *created* - A File-System-Item has been created
35
+ * *deleted* - A File-System-Item has been deleted
36
+ * *modified* - A File-System-Item has been modified
37
+ * *moved-out* - A File-System-Item has been moved away from this location
38
+ * *moved-in* - A File-System-Item has been moved into this location
39
+
40
+ All events except *fsevent* take an *info* object as the second parameter of the callback. The structure of this object is:
41
+
42
+ ```js
43
+ {
44
+ "event": "<event-type>",
45
+ "id": <eventi-id>,
46
+ "path": "<path-that-this-is-about>",
47
+ "type": "<file|directory|symlink>",
48
+ "changes": {
49
+ "inode": true, // Has the iNode Meta-Information changed
50
+ "finder": false, // Has the Finder Meta-Data changed
51
+ "access": false, // Have the access permissions changed
52
+ "xattrs": false // Have the xAttributes changed
53
+ },
54
+ "flags": <raw-flags>
55
+ }
56
+ ```
57
+
58
+ ## MIT License
59
+
60
+ Copyright (C) 2010-2014 Philipp Dunkel
61
+
62
+ Permission is hereby granted, free of charge, to any person obtaining a copy
63
+ of this software and associated documentation files (the "Software"), to deal
64
+ in the Software without restriction, including without limitation the rights
65
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
66
+ copies of the Software, and to permit persons to whom the Software is
67
+ furnished to do so, subject to the following conditions:
68
+
69
+ The above copyright notice and this permission notice shall be included in
70
+ all copies or substantial portions of the Software.
71
+
72
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
75
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
76
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
77
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
78
+ THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ {
2
+ "targets": [
3
+ { "target_name": "" }
4
+ ],
5
+ "conditions": [
6
+ ['OS=="mac"', {
7
+ "targets": [{
8
+ "target_name": "fse",
9
+ "sources": ["fsevents.cc"],
10
+ "xcode_settings": {
11
+ "OTHER_LDFLAGS": [
12
+ "-framework CoreFoundation -framework CoreServices"
13
+ ]
14
+ },
15
+ "include_dirs": [
16
+ "<!(node -e \"require('nan')\")"
17
+ ]
18
+ }]
19
+ }]
20
+ ]
21
+ }
@@ -0,0 +1,88 @@
1
+ /*
2
+ ** © 2014 by Philipp Dunkel <pip@pipobscure.com>
3
+ ** Licensed under MIT License.
4
+ */
5
+
6
+ #include "nan.h"
7
+ #include "uv.h"
8
+ #include "v8.h"
9
+ #include "CoreFoundation/CoreFoundation.h"
10
+ #include "CoreServices/CoreServices.h"
11
+ #include <iostream>
12
+ #include <vector>
13
+
14
+ #include "src/storage.cc"
15
+ namespace fse {
16
+ class FSEvents : public Nan::ObjectWrap {
17
+ public:
18
+ explicit FSEvents(const char *path);
19
+ ~FSEvents();
20
+
21
+ uv_mutex_t mutex;
22
+
23
+ // async.cc
24
+ uv_async_t async;
25
+ void asyncStart();
26
+ void asyncTrigger();
27
+ void asyncStop();
28
+
29
+ // thread.cc
30
+ uv_thread_t thread;
31
+ CFRunLoopRef threadloop;
32
+ void threadStart();
33
+ static void threadRun(void *ctx);
34
+ void threadStop();
35
+
36
+ // methods.cc - internal
37
+ Nan::AsyncResource async_resource;
38
+ void emitEvent(const char *path, UInt32 flags, UInt64 id);
39
+
40
+ // Common
41
+ CFArrayRef paths;
42
+ std::vector<fse_event*> events;
43
+ static void Initialize(v8::Local<v8::Object> exports);
44
+
45
+ // methods.cc - exposed
46
+ static NAN_METHOD(New);
47
+ static NAN_METHOD(Stop);
48
+ static NAN_METHOD(Start);
49
+
50
+ };
51
+ }
52
+
53
+ using namespace fse;
54
+
55
+ FSEvents::FSEvents(const char *path)
56
+ : async_resource("fsevents:FSEvents") {
57
+ CFStringRef dirs[] = { CFStringCreateWithCString(NULL, path, kCFStringEncodingUTF8) };
58
+ paths = CFArrayCreate(NULL, (const void **)&dirs, 1, NULL);
59
+ threadloop = NULL;
60
+ if (uv_mutex_init(&mutex)) abort();
61
+ }
62
+ FSEvents::~FSEvents() {
63
+ CFRelease(paths);
64
+ uv_mutex_destroy(&mutex);
65
+ }
66
+
67
+ #ifndef kFSEventStreamEventFlagItemCreated
68
+ #define kFSEventStreamEventFlagItemCreated 0x00000010
69
+ #endif
70
+
71
+ #include "src/async.cc"
72
+ #include "src/thread.cc"
73
+ #include "src/constants.cc"
74
+ #include "src/methods.cc"
75
+
76
+ void FSEvents::Initialize(v8::Local<v8::Object> exports) {
77
+ v8::Isolate* isolate = exports->GetIsolate();
78
+ v8::Local<v8::Context> context = isolate->GetCurrentContext();
79
+ v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(FSEvents::New);
80
+ tpl->SetClassName(Nan::New<v8::String>("FSEvents").ToLocalChecked());
81
+ tpl->InstanceTemplate()->SetInternalFieldCount(1);
82
+ Nan::SetPrototypeTemplate(tpl, "start", Nan::New<v8::FunctionTemplate>(FSEvents::Start));
83
+ Nan::SetPrototypeTemplate(tpl, "stop", Nan::New<v8::FunctionTemplate>(FSEvents::Stop));
84
+ Nan::Set(exports, Nan::New<v8::String>("Constants").ToLocalChecked(), Constants());
85
+ Nan::Set(exports, Nan::New<v8::String>("FSEvents").ToLocalChecked(), tpl->GetFunction(context).ToLocalChecked());
86
+ }
87
+
88
+ NODE_MODULE(fse, FSEvents::Initialize)
@@ -0,0 +1,108 @@
1
+ /*
2
+ ** © 2014 by Philipp Dunkel <pip@pipobscure.com>
3
+ ** Licensed under MIT License.
4
+ */
5
+
6
+ /* jshint node:true */
7
+ 'use strict';
8
+
9
+ if (process.platform !== 'darwin')
10
+ throw new Error('Module \'fsevents\' is not compatible with platform \'' + process.platform + '\'');
11
+
12
+ var Native = require("bindings")("fse");
13
+
14
+ var EventEmitter = require('events').EventEmitter;
15
+ var fs = require('fs');
16
+ var inherits = require('util').inherits;
17
+
18
+ function FSEvents(path, handler) {
19
+ EventEmitter.call(this);
20
+
21
+ Object.defineProperty(this, '_impl', {
22
+ value: new Native.FSEvents(String(path || ''), handler),
23
+ enumerable: false,
24
+ writable: false
25
+ });
26
+ }
27
+
28
+ inherits(FSEvents, EventEmitter);
29
+ proxies(FSEvents, Native.FSEvents);
30
+
31
+ module.exports = watch;
32
+ module.exports.getInfo = getInfo;
33
+ module.exports.FSEvents = Native.FSEvents;
34
+ module.exports.Constants = Native.Constants;
35
+
36
+ var defer = global.setImmediate || process.nextTick;
37
+
38
+ function watch(path) {
39
+ var VFS = require('./vfs');
40
+ var vfs = new VFS(String(path || ''));
41
+ var fse = new FSEvents(vfs.resolvedPath, vfs.wrap(handler));
42
+ EventEmitter.call(fse);
43
+ return fse;
44
+
45
+ function handler(path, flags, id) {
46
+ defer(function() {
47
+ fse.emit('fsevent', path, flags, id);
48
+ var info = getInfo(path, flags);
49
+ info.id = id;
50
+ if (info.event === 'moved') {
51
+ fs.stat(info.path, function(err, stat) {
52
+ info.event = (err || !stat) ? 'moved-out' : 'moved-in';
53
+ fse.emit('change', path, info);
54
+ fse.emit(info.event, path, info);
55
+ });
56
+ } else {
57
+ fse.emit('change', path, info);
58
+ fse.emit(info.event, path, info);
59
+ }
60
+ });
61
+ }
62
+ }
63
+
64
+ function proxies(ctor, target) {
65
+ Object.keys(target.prototype).filter(function(key) {
66
+ return typeof target.prototype[key] === 'function';
67
+ }).forEach(function(key) {
68
+ ctor.prototype[key] = function() {
69
+ this._impl[key].apply(this._impl, arguments);
70
+ return this;
71
+ }
72
+ });
73
+ }
74
+
75
+ function getFileType(flags) {
76
+ if (Native.Constants.kFSEventStreamEventFlagItemIsFile & flags) return 'file';
77
+ if (Native.Constants.kFSEventStreamEventFlagItemIsDir & flags) return 'directory';
78
+ if (Native.Constants.kFSEventStreamEventFlagItemIsSymlink & flags) return 'symlink';
79
+ }
80
+
81
+ function getEventType(flags) {
82
+ if (Native.Constants.kFSEventStreamEventFlagItemRemoved & flags) return 'deleted';
83
+ if (Native.Constants.kFSEventStreamEventFlagItemRenamed & flags) return 'moved';
84
+ if (Native.Constants.kFSEventStreamEventFlagItemCreated & flags) return 'created';
85
+ if (Native.Constants.kFSEventStreamEventFlagItemModified & flags) return 'modified';
86
+ if (Native.Constants.kFSEventStreamEventFlagRootChanged & flags) return 'root-changed';
87
+
88
+ return 'unknown';
89
+ }
90
+
91
+ function getFileChanges(flags) {
92
+ return {
93
+ inode: !! (Native.Constants.kFSEventStreamEventFlagItemInodeMetaMod & flags),
94
+ finder: !! (Native.Constants.kFSEventStreamEventFlagItemFinderInfoMod & flags),
95
+ access: !! (Native.Constants.kFSEventStreamEventFlagItemChangeOwner & flags),
96
+ xattrs: !! (Native.Constants.kFSEventStreamEventFlagItemXattrMod & flags)
97
+ };
98
+ }
99
+
100
+ function getInfo(path, flags) {
101
+ return {
102
+ path: path,
103
+ event: getEventType(flags),
104
+ type: getFileType(flags),
105
+ changes: getFileChanges(flags),
106
+ flags: flags
107
+ };
108
+ }
@@ -0,0 +1,13 @@
1
+ const { spawn } = require('child_process');
2
+
3
+ const rebuildIfDarwin = () => {
4
+ if (process.platform !== 'darwin') {
5
+ console.log();
6
+ console.log(`Skipping 'fsevents' build as platform ${process.platform} is not supported`);
7
+ process.exit(0);
8
+ } else {
9
+ spawn('node-gyp', ['rebuild'], { stdio: 'inherit' });
10
+ }
11
+ };
12
+
13
+ rebuildIfDarwin();
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "fsevents",
3
+ "version": "1.2.13",
4
+ "description": "Native Access to Mac OS-X FSEvents",
5
+ "main": "fsevents.js",
6
+ "dependencies": {
7
+ "bindings": "^1.5.0",
8
+ "nan": "^2.12.1"
9
+ },
10
+ "os": [
11
+ "darwin"
12
+ ],
13
+ "engines": {
14
+ "node": ">= 4.0"
15
+ },
16
+ "scripts": {
17
+ "test": "node ./test/fsevents.js && node ./test/function.js 2> /dev/null",
18
+ "install": "node install.js"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/strongloop/fsevents.git"
23
+ },
24
+ "keywords": [
25
+ "fsevents",
26
+ "mac"
27
+ ],
28
+ "author": "Philipp Dunkel <pip@pipobscure.com>",
29
+ "license": "MIT",
30
+ "bugs": {
31
+ "url": "https://github.com/strongloop/fsevents/issues"
32
+ },
33
+ "homepage": "https://github.com/strongloop/fsevents"
34
+ }
@@ -0,0 +1,76 @@
1
+ const path = require(`path`);
2
+
3
+ let pnpApi = null;
4
+ try {
5
+ pnpApi = require(`pnpapi`);
6
+ } catch {
7
+ }
8
+
9
+ function getVirtualLookupFn(pnpApi) {
10
+ const reverseMap = new Map();
11
+
12
+ for (const locator of pnpApi.getAllLocators()) {
13
+ const pkg = pnpApi.getPackageInformation(locator);
14
+ console.assert(pkg, `The package information should be available`);
15
+
16
+ const resolvedLocation = pnpApi.resolveVirtual(pkg.packageLocation);
17
+ if (resolvedLocation === null)
18
+ continue;
19
+
20
+ const aliases = reverseMap.get(resolvedLocation) || [resolvedLocation];
21
+ reverseMap.set(resolvedLocation, aliases);
22
+ aliases.push(pkg.packageLocation);
23
+ }
24
+
25
+ const keys = [...reverseMap.keys()].sort((a, b) => {
26
+ return b.length - a.length;
27
+ });
28
+
29
+ return p => {
30
+ const prefix = keys.find(candidate => p.startsWith(candidate));
31
+ if (typeof prefix === `undefined`)
32
+ return [p];
33
+
34
+ const sub = p.substr(prefix.length);
35
+ return reverseMap.get(prefix).map(alias => {
36
+ return alias + sub;
37
+ });
38
+ };
39
+ }
40
+
41
+ if (pnpApi != null) {
42
+ const resolveVirtualAliases = getVirtualLookupFn(pnpApi);
43
+
44
+ module.exports = class FsePnp {
45
+ constructor(p) {
46
+ this.normalizedPath = path.resolve(p);
47
+ this.resolvedPath = pnpApi.resolveVirtual(this.normalizedPath) || this.normalizedPath;
48
+ }
49
+
50
+ transpose(p) {
51
+ if (this.resolvedPath !== null) {
52
+ return this.normalizedPath + p.substr(this.resolvedPath.length);
53
+ } else {
54
+ return p;
55
+ }
56
+ }
57
+
58
+ wrap(fn) {
59
+ return (path, ...args) => {
60
+ for (const entry of resolveVirtualAliases(path)) {
61
+ fn(this.transpose(entry), ...args);
62
+ }
63
+ };
64
+ }
65
+ };
66
+ } else {
67
+ module.exports = class FsePnp {
68
+ constructor(p) {
69
+ this.resolvedPath = p;
70
+ }
71
+
72
+ wrap(fn) {
73
+ return fn;
74
+ }
75
+ };
76
+ }
@@ -0,0 +1,20 @@
1
+ module.exports = {
2
+ "parser": "@typescript-eslint/parser",
3
+ "extends": [
4
+ "xo-space/esnext",
5
+ "plugin:@typescript-eslint/recommended",
6
+ "prettier",
7
+ "prettier/@typescript-eslint"
8
+ ],
9
+ "plugins": [
10
+ "@typescript-eslint",
11
+ "prettier"
12
+ ],
13
+ "rules": {
14
+ "prettier/prettier": "error"
15
+ },
16
+ "env": {
17
+ "jest": true,
18
+ "node": true,
19
+ }
20
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "semi": false,
3
+ "singleQuote": true
4
+ }