@cloudbase/manager-node 4.3.3 → 4.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/lib/function/index.js +9 -1
  2. package/lib/utils/index.js +17 -1
  3. package/package.json +1 -1
  4. package/types/utils/index.d.ts +2 -0
  5. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.ready +0 -0
  6. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/.travis.yml +0 -103
  7. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
  8. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/LICENSE +0 -22
  9. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/Readme.md +0 -78
  10. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/binding.gyp +0 -21
  11. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.cc +0 -88
  12. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/fsevents.js +0 -108
  13. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/install.js +0 -13
  14. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/package.json +0 -34
  15. package/.yarn/unplugged/fsevents-patch-61ccaa93a2/node_modules/fsevents/vfs.js +0 -76
  16. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.eslintrc.js +0 -20
  17. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.prettierrc +0 -4
  18. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/.ready +0 -0
  19. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/CHANGELOG.md +0 -310
  20. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/LICENSE +0 -21
  21. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/README.md +0 -344
  22. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/husky.js +0 -15
  23. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/checkGitDirEnv.js +0 -13
  24. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/debug.js +0 -8
  25. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/getConf.js +0 -15
  26. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/bin.js +0 -48
  27. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/getScript.js +0 -106
  28. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/gitRevParse.js +0 -29
  29. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/index.js +0 -151
  30. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/installer/is.js +0 -24
  31. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/bin.js +0 -16
  32. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/runner/index.js +0 -84
  33. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/bin.js +0 -8
  34. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/lib/upgrader/index.js +0 -65
  35. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/package.json +0 -114
  36. package/.yarn/unplugged/husky-npm-3.1.0-5cc13e4e34/node_modules/husky/run.js +0 -14
  37. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.github/workflows/ci.yml +0 -52
  38. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/.ready +0 -0
  39. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CHANGELOG.md +0 -577
  40. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/CMakeLists.txt +0 -138
  41. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/LICENSE.md +0 -9
  42. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/README.md +0 -455
  43. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/asyncworker.md +0 -146
  44. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/buffers.md +0 -54
  45. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/callback.md +0 -76
  46. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/converters.md +0 -41
  47. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/errors.md +0 -226
  48. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/json.md +0 -62
  49. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/maybe_types.md +0 -583
  50. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/methods.md +0 -672
  51. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/new.md +0 -147
  52. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/node_misc.md +0 -123
  53. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/object_wrappers.md +0 -263
  54. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/persistent.md +0 -296
  55. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/scopes.md +0 -73
  56. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/script.md +0 -58
  57. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/string_bytes.md +0 -62
  58. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_internals.md +0 -199
  59. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/doc/v8_misc.md +0 -85
  60. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/include_dirs.js +0 -1
  61. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan.h +0 -3049
  62. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks.h +0 -128
  63. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_12_inl.h +0 -676
  64. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  65. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters.h +0 -72
  66. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_43_inl.h +0 -68
  67. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  68. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_define_own_property_helper.h +0 -29
  69. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_12_inl.h +0 -430
  70. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  71. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_json.h +0 -166
  72. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_43_inl.h +0 -356
  73. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  74. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_new.h +0 -340
  75. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_object_wrap.h +0 -156
  76. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_12_inl.h +0 -132
  77. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  78. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_private.h +0 -73
  79. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_scriptorigin.h +0 -95
  80. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_string_bytes.h +0 -305
  81. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_typedarray_contents.h +0 -96
  82. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/nan_weak.h +0 -437
  83. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/package.json +0 -38
  84. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/1to2.js +0 -412
  85. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/README.md +0 -14
  86. package/.yarn/unplugged/nan-npm-2.22.2-bb092bb459/node_modules/nan/tools/package.json +0 -19
  87. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.ready +0 -0
  88. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/.release-please-manifest.json +0 -3
  89. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CHANGELOG.md +0 -1053
  90. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  91. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/CONTRIBUTING.md +0 -34
  92. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/LICENSE +0 -24
  93. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/README.md +0 -273
  94. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/SECURITY.md +0 -2
  95. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/addon.gypi +0 -204
  96. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/bin/node-gyp.js +0 -138
  97. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/eslint.config.js +0 -3
  98. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  99. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/LICENSE +0 -28
  100. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  101. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  102. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp +0 -8
  103. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp.bat +0 -5
  104. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  105. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  106. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  107. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  108. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  109. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  110. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  111. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  112. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  113. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  114. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -709
  115. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  116. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  117. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  118. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  119. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  120. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  121. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  122. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  123. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  124. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  125. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  126. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  127. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  128. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  129. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  130. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  131. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  132. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  133. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  134. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  135. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  136. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  137. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  138. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  139. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  140. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  141. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  142. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  143. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  144. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  145. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  146. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  147. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  148. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  149. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  150. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  151. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  152. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  153. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  154. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  155. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  156. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  157. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  158. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  159. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  160. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  161. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  162. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  163. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  164. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  165. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/pyproject.toml +0 -115
  166. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  167. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  168. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  169. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/build.js +0 -230
  170. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/clean.js +0 -15
  171. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/configure.js +0 -328
  172. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  173. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/download.js +0 -39
  174. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  175. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-python.js +0 -310
  176. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/find-visualstudio.js +0 -600
  177. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/install.js +0 -415
  178. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/list.js +0 -26
  179. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/log.js +0 -168
  180. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/node-gyp.js +0 -188
  181. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/process-release.js +0 -146
  182. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/rebuild.js +0 -12
  183. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/remove.js +0 -43
  184. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/lib/util.js +0 -81
  185. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  186. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/package.json +0 -52
  187. package/.yarn/unplugged/node-gyp-npm-11.2.0-36aeb0fa50/node_modules/node-gyp/release-please-config.json +0 -40
  188. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.prettierrc +0 -4
  189. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/.ready +0 -0
  190. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/CHANGELOG.md +0 -286
  191. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/LICENSE +0 -21
  192. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/README.md +0 -457
  193. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/index.js +0 -52
  194. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/checkGrowl.js +0 -24
  195. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/lib/utils.js +0 -515
  196. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/balloon.js +0 -156
  197. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/growl.js +0 -76
  198. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notificationcenter.js +0 -100
  199. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/notifysend.js +0 -94
  200. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/notifiers/toaster.js +0 -100
  201. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/package.json +0 -72
  202. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Info.plist +0 -63
  203. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
  204. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/PkgInfo +0 -1
  205. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
  206. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/Credits.rtf +0 -29
  207. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  208. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/mac.noindex/terminal-notifier.app/Contents/Resources/en.lproj/MainMenu.nib +0 -0
  209. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu.exe +0 -0
  210. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/notifu/notifu64.exe +0 -0
  211. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/LICENSE +0 -165
  212. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/snoreToast/SnoreToast.exe +0 -0
  213. package/.yarn/unplugged/node-notifier-npm-5.4.5-0ff6280985/node_modules/node-notifier/vendor/terminal-notifier-LICENSE +0 -9
@@ -1,59 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """Visual Studio project reader/writer."""
6
-
7
- from gyp import easy_xml
8
-
9
-
10
- class Writer:
11
- """Visual Studio XML tool file writer."""
12
-
13
- def __init__(self, tool_file_path, name):
14
- """Initializes the tool file.
15
-
16
- Args:
17
- tool_file_path: Path to the tool file.
18
- name: Name of the tool file.
19
- """
20
- self.tool_file_path = tool_file_path
21
- self.name = name
22
- self.rules_section = ["Rules"]
23
-
24
- def AddCustomBuildRule(
25
- self, name, cmd, description, additional_dependencies, outputs, extensions
26
- ):
27
- """Adds a rule to the tool file.
28
-
29
- Args:
30
- name: Name of the rule.
31
- description: Description of the rule.
32
- cmd: Command line of the rule.
33
- additional_dependencies: other files which may trigger the rule.
34
- outputs: outputs of the rule.
35
- extensions: extensions handled by the rule.
36
- """
37
- rule = [
38
- "CustomBuildRule",
39
- {
40
- "Name": name,
41
- "ExecutionDescription": description,
42
- "CommandLine": cmd,
43
- "Outputs": ";".join(outputs),
44
- "FileExtensions": ";".join(extensions),
45
- "AdditionalDependencies": ";".join(additional_dependencies),
46
- },
47
- ]
48
- self.rules_section.append(rule)
49
-
50
- def WriteIfChanged(self):
51
- """Writes the tool file."""
52
- content = [
53
- "VisualStudioToolFile",
54
- {"Version": "8.00", "Name": self.name},
55
- self.rules_section,
56
- ]
57
- easy_xml.WriteXmlIfChanged(
58
- content, self.tool_file_path, encoding="Windows-1252"
59
- )
@@ -1,152 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """Visual Studio user preferences file writer."""
6
-
7
- import os
8
- import re
9
- import socket # for gethostname
10
-
11
- from gyp import easy_xml
12
-
13
- # ------------------------------------------------------------------------------
14
-
15
-
16
- def _FindCommandInPath(command):
17
- """If there are no slashes in the command given, this function
18
- searches the PATH env to find the given command, and converts it
19
- to an absolute path. We have to do this because MSVS is looking
20
- for an actual file to launch a debugger on, not just a command
21
- line. Note that this happens at GYP time, so anything needing to
22
- be built needs to have a full path."""
23
- if "/" in command or "\\" in command:
24
- # If the command already has path elements (either relative or
25
- # absolute), then assume it is constructed properly.
26
- return command
27
- else:
28
- # Search through the path list and find an existing file that
29
- # we can access.
30
- paths = os.environ.get("PATH", "").split(os.pathsep)
31
- for path in paths:
32
- item = os.path.join(path, command)
33
- if os.path.isfile(item) and os.access(item, os.X_OK):
34
- return item
35
- return command
36
-
37
-
38
- def _QuoteWin32CommandLineArgs(args):
39
- new_args = []
40
- for arg in args:
41
- # Replace all double-quotes with double-double-quotes to escape
42
- # them for cmd shell, and then quote the whole thing if there
43
- # are any.
44
- if arg.find('"') != -1:
45
- arg = '""'.join(arg.split('"'))
46
- arg = '"%s"' % arg
47
-
48
- # Otherwise, if there are any spaces, quote the whole arg.
49
- elif re.search(r"[ \t\n]", arg):
50
- arg = '"%s"' % arg
51
- new_args.append(arg)
52
- return new_args
53
-
54
-
55
- class Writer:
56
- """Visual Studio XML user user file writer."""
57
-
58
- def __init__(self, user_file_path, version, name):
59
- """Initializes the user file.
60
-
61
- Args:
62
- user_file_path: Path to the user file.
63
- version: Version info.
64
- name: Name of the user file.
65
- """
66
- self.user_file_path = user_file_path
67
- self.version = version
68
- self.name = name
69
- self.configurations = {}
70
-
71
- def AddConfig(self, name):
72
- """Adds a configuration to the project.
73
-
74
- Args:
75
- name: Configuration name.
76
- """
77
- self.configurations[name] = ["Configuration", {"Name": name}]
78
-
79
- def AddDebugSettings(
80
- self, config_name, command, environment={}, working_directory=""
81
- ):
82
- """Adds a DebugSettings node to the user file for a particular config.
83
-
84
- Args:
85
- command: command line to run. First element in the list is the
86
- executable. All elements of the command will be quoted if
87
- necessary.
88
- working_directory: other files which may trigger the rule. (optional)
89
- """
90
- command = _QuoteWin32CommandLineArgs(command)
91
-
92
- abs_command = _FindCommandInPath(command[0])
93
-
94
- if environment and isinstance(environment, dict):
95
- env_list = [f'{key}="{val}"' for (key, val) in environment.items()]
96
- environment = " ".join(env_list)
97
- else:
98
- environment = ""
99
-
100
- n_cmd = [
101
- "DebugSettings",
102
- {
103
- "Command": abs_command,
104
- "WorkingDirectory": working_directory,
105
- "CommandArguments": " ".join(command[1:]),
106
- "RemoteMachine": socket.gethostname(),
107
- "Environment": environment,
108
- "EnvironmentMerge": "true",
109
- # Currently these are all "dummy" values that we're just setting
110
- # in the default manner that MSVS does it. We could use some of
111
- # these to add additional capabilities, I suppose, but they might
112
- # not have parity with other platforms then.
113
- "Attach": "false",
114
- "DebuggerType": "3", # 'auto' debugger
115
- "Remote": "1",
116
- "RemoteCommand": "",
117
- "HttpUrl": "",
118
- "PDBPath": "",
119
- "SQLDebugging": "",
120
- "DebuggerFlavor": "0",
121
- "MPIRunCommand": "",
122
- "MPIRunArguments": "",
123
- "MPIRunWorkingDirectory": "",
124
- "ApplicationCommand": "",
125
- "ApplicationArguments": "",
126
- "ShimCommand": "",
127
- "MPIAcceptMode": "",
128
- "MPIAcceptFilter": "",
129
- },
130
- ]
131
-
132
- # Find the config, and add it if it doesn't exist.
133
- if config_name not in self.configurations:
134
- self.AddConfig(config_name)
135
-
136
- # Add the DebugSettings onto the appropriate config.
137
- self.configurations[config_name].append(n_cmd)
138
-
139
- def WriteIfChanged(self):
140
- """Writes the user file."""
141
- configs = ["Configurations"]
142
- for config, spec in sorted(self.configurations.items()):
143
- configs.append(spec)
144
-
145
- content = [
146
- "VisualStudioUserFile",
147
- {"Version": self.version.ProjectVersion(), "Name": self.name},
148
- configs,
149
- ]
150
- easy_xml.WriteXmlIfChanged(
151
- content, self.user_file_path, encoding="Windows-1252"
152
- )
@@ -1,270 +0,0 @@
1
- # Copyright (c) 2013 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """Utility functions shared amongst the Windows generators."""
6
-
7
- import copy
8
- import os
9
-
10
- # A dictionary mapping supported target types to extensions.
11
- TARGET_TYPE_EXT = {
12
- "executable": "exe",
13
- "loadable_module": "dll",
14
- "shared_library": "dll",
15
- "static_library": "lib",
16
- "windows_driver": "sys",
17
- }
18
-
19
-
20
- def _GetLargePdbShimCcPath():
21
- """Returns the path of the large_pdb_shim.cc file."""
22
- this_dir = os.path.abspath(os.path.dirname(__file__))
23
- src_dir = os.path.abspath(os.path.join(this_dir, "..", ".."))
24
- win_data_dir = os.path.join(src_dir, "data", "win")
25
- large_pdb_shim_cc = os.path.join(win_data_dir, "large-pdb-shim.cc")
26
- return large_pdb_shim_cc
27
-
28
-
29
- def _DeepCopySomeKeys(in_dict, keys):
30
- """Performs a partial deep-copy on |in_dict|, only copying the keys in |keys|.
31
-
32
- Arguments:
33
- in_dict: The dictionary to copy.
34
- keys: The keys to be copied. If a key is in this list and doesn't exist in
35
- |in_dict| this is not an error.
36
- Returns:
37
- The partially deep-copied dictionary.
38
- """
39
- d = {}
40
- for key in keys:
41
- if key not in in_dict:
42
- continue
43
- d[key] = copy.deepcopy(in_dict[key])
44
- return d
45
-
46
-
47
- def _SuffixName(name, suffix):
48
- """Add a suffix to the end of a target.
49
-
50
- Arguments:
51
- name: name of the target (foo#target)
52
- suffix: the suffix to be added
53
- Returns:
54
- Target name with suffix added (foo_suffix#target)
55
- """
56
- parts = name.rsplit("#", 1)
57
- parts[0] = f"{parts[0]}_{suffix}"
58
- return "#".join(parts)
59
-
60
-
61
- def _ShardName(name, number):
62
- """Add a shard number to the end of a target.
63
-
64
- Arguments:
65
- name: name of the target (foo#target)
66
- number: shard number
67
- Returns:
68
- Target name with shard added (foo_1#target)
69
- """
70
- return _SuffixName(name, str(number))
71
-
72
-
73
- def ShardTargets(target_list, target_dicts):
74
- """Shard some targets apart to work around the linkers limits.
75
-
76
- Arguments:
77
- target_list: List of target pairs: 'base/base.gyp:base'.
78
- target_dicts: Dict of target properties keyed on target pair.
79
- Returns:
80
- Tuple of the new sharded versions of the inputs.
81
- """
82
- # Gather the targets to shard, and how many pieces.
83
- targets_to_shard = {}
84
- for t in target_dicts:
85
- shards = int(target_dicts[t].get("msvs_shard", 0))
86
- if shards:
87
- targets_to_shard[t] = shards
88
- # Shard target_list.
89
- new_target_list = []
90
- for t in target_list:
91
- if t in targets_to_shard:
92
- for i in range(targets_to_shard[t]):
93
- new_target_list.append(_ShardName(t, i))
94
- else:
95
- new_target_list.append(t)
96
- # Shard target_dict.
97
- new_target_dicts = {}
98
- for t in target_dicts:
99
- if t in targets_to_shard:
100
- for i in range(targets_to_shard[t]):
101
- name = _ShardName(t, i)
102
- new_target_dicts[name] = copy.copy(target_dicts[t])
103
- new_target_dicts[name]["target_name"] = _ShardName(
104
- new_target_dicts[name]["target_name"], i
105
- )
106
- sources = new_target_dicts[name].get("sources", [])
107
- new_sources = []
108
- for pos in range(i, len(sources), targets_to_shard[t]):
109
- new_sources.append(sources[pos])
110
- new_target_dicts[name]["sources"] = new_sources
111
- else:
112
- new_target_dicts[t] = target_dicts[t]
113
- # Shard dependencies.
114
- for t in sorted(new_target_dicts):
115
- for deptype in ("dependencies", "dependencies_original"):
116
- dependencies = copy.copy(new_target_dicts[t].get(deptype, []))
117
- new_dependencies = []
118
- for d in dependencies:
119
- if d in targets_to_shard:
120
- for i in range(targets_to_shard[d]):
121
- new_dependencies.append(_ShardName(d, i))
122
- else:
123
- new_dependencies.append(d)
124
- new_target_dicts[t][deptype] = new_dependencies
125
-
126
- return (new_target_list, new_target_dicts)
127
-
128
-
129
- def _GetPdbPath(target_dict, config_name, vars):
130
- """Returns the path to the PDB file that will be generated by a given
131
- configuration.
132
-
133
- The lookup proceeds as follows:
134
- - Look for an explicit path in the VCLinkerTool configuration block.
135
- - Look for an 'msvs_large_pdb_path' variable.
136
- - Use '<(PRODUCT_DIR)/<(product_name).(exe|dll).pdb' if 'product_name' is
137
- specified.
138
- - Use '<(PRODUCT_DIR)/<(target_name).(exe|dll).pdb'.
139
-
140
- Arguments:
141
- target_dict: The target dictionary to be searched.
142
- config_name: The name of the configuration of interest.
143
- vars: A dictionary of common GYP variables with generator-specific values.
144
- Returns:
145
- The path of the corresponding PDB file.
146
- """
147
- config = target_dict["configurations"][config_name]
148
- msvs = config.setdefault("msvs_settings", {})
149
-
150
- linker = msvs.get("VCLinkerTool", {})
151
-
152
- pdb_path = linker.get("ProgramDatabaseFile")
153
- if pdb_path:
154
- return pdb_path
155
-
156
- variables = target_dict.get("variables", {})
157
- pdb_path = variables.get("msvs_large_pdb_path", None)
158
- if pdb_path:
159
- return pdb_path
160
-
161
- pdb_base = target_dict.get("product_name", target_dict["target_name"])
162
- pdb_base = "{}.{}.pdb".format(pdb_base, TARGET_TYPE_EXT[target_dict["type"]])
163
- pdb_path = vars["PRODUCT_DIR"] + "/" + pdb_base
164
-
165
- return pdb_path
166
-
167
-
168
- def InsertLargePdbShims(target_list, target_dicts, vars):
169
- """Insert a shim target that forces the linker to use 4KB pagesize PDBs.
170
-
171
- This is a workaround for targets with PDBs greater than 1GB in size, the
172
- limit for the 1KB pagesize PDBs created by the linker by default.
173
-
174
- Arguments:
175
- target_list: List of target pairs: 'base/base.gyp:base'.
176
- target_dicts: Dict of target properties keyed on target pair.
177
- vars: A dictionary of common GYP variables with generator-specific values.
178
- Returns:
179
- Tuple of the shimmed version of the inputs.
180
- """
181
- # Determine which targets need shimming.
182
- targets_to_shim = []
183
- for t in target_dicts:
184
- target_dict = target_dicts[t]
185
-
186
- # We only want to shim targets that have msvs_large_pdb enabled.
187
- if not int(target_dict.get("msvs_large_pdb", 0)):
188
- continue
189
- # This is intended for executable, shared_library and loadable_module
190
- # targets where every configuration is set up to produce a PDB output.
191
- # If any of these conditions is not true then the shim logic will fail
192
- # below.
193
- targets_to_shim.append(t)
194
-
195
- large_pdb_shim_cc = _GetLargePdbShimCcPath()
196
-
197
- for t in targets_to_shim:
198
- target_dict = target_dicts[t]
199
- target_name = target_dict.get("target_name")
200
-
201
- base_dict = _DeepCopySomeKeys(
202
- target_dict, ["configurations", "default_configuration", "toolset"]
203
- )
204
-
205
- # This is the dict for copying the source file (part of the GYP tree)
206
- # to the intermediate directory of the project. This is necessary because
207
- # we can't always build a relative path to the shim source file (on Windows
208
- # GYP and the project may be on different drives), and Ninja hates absolute
209
- # paths (it ends up generating the .obj and .obj.d alongside the source
210
- # file, polluting GYPs tree).
211
- copy_suffix = "large_pdb_copy"
212
- copy_target_name = target_name + "_" + copy_suffix
213
- full_copy_target_name = _SuffixName(t, copy_suffix)
214
- shim_cc_basename = os.path.basename(large_pdb_shim_cc)
215
- shim_cc_dir = vars["SHARED_INTERMEDIATE_DIR"] + "/" + copy_target_name
216
- shim_cc_path = shim_cc_dir + "/" + shim_cc_basename
217
- copy_dict = copy.deepcopy(base_dict)
218
- copy_dict["target_name"] = copy_target_name
219
- copy_dict["type"] = "none"
220
- copy_dict["sources"] = [large_pdb_shim_cc]
221
- copy_dict["copies"] = [
222
- {"destination": shim_cc_dir, "files": [large_pdb_shim_cc]}
223
- ]
224
-
225
- # This is the dict for the PDB generating shim target. It depends on the
226
- # copy target.
227
- shim_suffix = "large_pdb_shim"
228
- shim_target_name = target_name + "_" + shim_suffix
229
- full_shim_target_name = _SuffixName(t, shim_suffix)
230
- shim_dict = copy.deepcopy(base_dict)
231
- shim_dict["target_name"] = shim_target_name
232
- shim_dict["type"] = "static_library"
233
- shim_dict["sources"] = [shim_cc_path]
234
- shim_dict["dependencies"] = [full_copy_target_name]
235
-
236
- # Set up the shim to output its PDB to the same location as the final linker
237
- # target.
238
- for config_name, config in shim_dict.get("configurations").items():
239
- pdb_path = _GetPdbPath(target_dict, config_name, vars)
240
-
241
- # A few keys that we don't want to propagate.
242
- for key in ["msvs_precompiled_header", "msvs_precompiled_source", "test"]:
243
- config.pop(key, None)
244
-
245
- msvs = config.setdefault("msvs_settings", {})
246
-
247
- # Update the compiler directives in the shim target.
248
- compiler = msvs.setdefault("VCCLCompilerTool", {})
249
- compiler["DebugInformationFormat"] = "3"
250
- compiler["ProgramDataBaseFileName"] = pdb_path
251
-
252
- # Set the explicit PDB path in the appropriate configuration of the
253
- # original target.
254
- config = target_dict["configurations"][config_name]
255
- msvs = config.setdefault("msvs_settings", {})
256
- linker = msvs.setdefault("VCLinkerTool", {})
257
- linker["GenerateDebugInformation"] = "true"
258
- linker["ProgramDatabaseFile"] = pdb_path
259
-
260
- # Add the new targets. They must go to the beginning of the list so that
261
- # the dependency generation works as expected in ninja.
262
- target_list.insert(0, full_copy_target_name)
263
- target_list.insert(0, full_shim_target_name)
264
- target_dicts[full_copy_target_name] = copy_dict
265
- target_dicts[full_shim_target_name] = shim_dict
266
-
267
- # Update the original target to depend on the shim target.
268
- target_dict.setdefault("dependencies", []).append(full_shim_target_name)
269
-
270
- return (target_list, target_dicts)