@socketsecurity/cli-with-sentry 1.0.7 → 1.0.8

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 (140) hide show
  1. package/dist/cli.js +41 -31
  2. package/dist/cli.js.map +1 -1
  3. package/dist/constants.js +8 -3
  4. package/dist/constants.js.map +1 -1
  5. package/dist/shadow-npm-bin.js +5 -5
  6. package/dist/shadow-npm-bin.js.map +1 -1
  7. package/dist/socket-completion.bash +23 -7
  8. package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -1
  9. package/dist/types/commands/fix/handle-fix.d.mts +2 -1
  10. package/dist/types/commands/fix/handle-fix.d.mts.map +1 -1
  11. package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -1
  12. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -1
  13. package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -1
  14. package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -1
  15. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -1
  16. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -1
  17. package/dist/types/constants.d.mts.map +1 -1
  18. package/dist/types/utils/alerts-map.d.mts.map +1 -1
  19. package/dist/types/utils/api.d.mts.map +1 -1
  20. package/dist/types/utils/meow-with-subcommands.d.mts +2 -3
  21. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
  22. package/dist/utils.js +34 -45
  23. package/dist/utils.js.map +1 -1
  24. package/dist/vendor.js +27 -24
  25. package/external/@coana-tech/cli/cli.mjs +1 -1
  26. package/external/@socketsecurity/registry/lib/constants/npm-real-exec-path.js +2 -40
  27. package/external/@socketsecurity/registry/lib/npm.js +102 -71
  28. package/external/@socketsecurity/registry/lib/spinner.js +6 -0
  29. package/external/blessed-contrib/lib/widget/charts/bar.js +4 -3
  30. package/external/blessed-contrib/lib/widget/charts/line.js +4 -3
  31. package/external/blessed-contrib/lib/widget/table.js +3 -3
  32. package/package.json +11 -12
  33. package/external/node-gyp/.release-please-manifest.json +0 -3
  34. package/external/node-gyp/CHANGELOG.md +0 -1053
  35. package/external/node-gyp/CODE_OF_CONDUCT.md +0 -4
  36. package/external/node-gyp/CONTRIBUTING.md +0 -34
  37. package/external/node-gyp/LICENSE +0 -24
  38. package/external/node-gyp/README.md +0 -273
  39. package/external/node-gyp/SECURITY.md +0 -2
  40. package/external/node-gyp/addon.gypi +0 -204
  41. package/external/node-gyp/bin/node-gyp.js +0 -137
  42. package/external/node-gyp/eslint.config.js +0 -3
  43. package/external/node-gyp/gyp/.release-please-manifest.json +0 -3
  44. package/external/node-gyp/gyp/LICENSE +0 -28
  45. package/external/node-gyp/gyp/data/ninja/build.ninja +0 -4
  46. package/external/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  47. package/external/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  48. package/external/node-gyp/gyp/docs/Hacking.md +0 -46
  49. package/external/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  50. package/external/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  51. package/external/node-gyp/gyp/docs/README.md +0 -27
  52. package/external/node-gyp/gyp/docs/Testing.md +0 -450
  53. package/external/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  54. package/external/node-gyp/gyp/gyp +0 -8
  55. package/external/node-gyp/gyp/gyp.bat +0 -5
  56. package/external/node-gyp/gyp/gyp_main.py +0 -45
  57. package/external/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  58. package/external/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  59. package/external/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  60. package/external/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  61. package/external/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  62. package/external/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  63. package/external/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  64. package/external/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  65. package/external/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  66. package/external/node-gyp/gyp/pylib/gyp/common.py +0 -709
  67. package/external/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  68. package/external/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  69. package/external/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  70. package/external/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  71. package/external/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  72. package/external/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  73. package/external/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  74. package/external/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  75. package/external/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  76. package/external/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  77. package/external/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  78. package/external/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  79. package/external/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  80. package/external/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  81. package/external/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  82. package/external/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  83. package/external/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  84. package/external/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  85. package/external/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  86. package/external/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  87. package/external/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  88. package/external/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  89. package/external/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  90. package/external/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  91. package/external/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  92. package/external/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  93. package/external/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  94. package/external/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  95. package/external/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  96. package/external/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  97. package/external/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  98. package/external/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  99. package/external/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  100. package/external/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  101. package/external/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  102. package/external/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  103. package/external/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  104. package/external/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  105. package/external/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  106. package/external/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  107. package/external/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  108. package/external/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  109. package/external/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  110. package/external/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  111. package/external/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  112. package/external/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  113. package/external/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  114. package/external/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  115. package/external/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  116. package/external/node-gyp/gyp/pylib/packaging/version.py +0 -563
  117. package/external/node-gyp/gyp/pyproject.toml +0 -115
  118. package/external/node-gyp/gyp/release-please-config.json +0 -11
  119. package/external/node-gyp/gyp/test_gyp.py +0 -261
  120. package/external/node-gyp/lib/Find-VisualStudio.cs +0 -250
  121. package/external/node-gyp/lib/build.js +0 -230
  122. package/external/node-gyp/lib/clean.js +0 -15
  123. package/external/node-gyp/lib/configure.js +0 -328
  124. package/external/node-gyp/lib/create-config-gypi.js +0 -153
  125. package/external/node-gyp/lib/download.js +0 -41
  126. package/external/node-gyp/lib/find-node-directory.js +0 -63
  127. package/external/node-gyp/lib/find-python.js +0 -310
  128. package/external/node-gyp/lib/find-visualstudio.js +0 -600
  129. package/external/node-gyp/lib/install.js +0 -415
  130. package/external/node-gyp/lib/list.js +0 -26
  131. package/external/node-gyp/lib/log.js +0 -168
  132. package/external/node-gyp/lib/node-gyp.js +0 -188
  133. package/external/node-gyp/lib/process-release.js +0 -148
  134. package/external/node-gyp/lib/rebuild.js +0 -12
  135. package/external/node-gyp/lib/remove.js +0 -43
  136. package/external/node-gyp/lib/util.js +0 -81
  137. package/external/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  138. package/external/node-gyp/package.json +0 -52
  139. package/external/node-gyp/release-please-config.json +0 -40
  140. package/external/node-gyp/src/win_delay_load_hook.cc +0 -41
@@ -1,89 +0,0 @@
1
- # Copyright (c) 2011 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
- """gypd output module
6
-
7
- This module produces gyp input as its output. Output files are given the
8
- .gypd extension to avoid overwriting the .gyp files that they are generated
9
- from. Internal references to .gyp files (such as those found in
10
- "dependencies" sections) are not adjusted to point to .gypd files instead;
11
- unlike other paths, which are relative to the .gyp or .gypd file, such paths
12
- are relative to the directory from which gyp was run to create the .gypd file.
13
-
14
- This generator module is intended to be a sample and a debugging aid, hence
15
- the "d" for "debug" in .gypd. It is useful to inspect the results of the
16
- various merges, expansions, and conditional evaluations performed by gyp
17
- and to see a representation of what would be fed to a generator module.
18
-
19
- It's not advisable to rename .gypd files produced by this module to .gyp,
20
- because they will have all merges, expansions, and evaluations already
21
- performed and the relevant constructs not present in the output; paths to
22
- dependencies may be wrong; and various sections that do not belong in .gyp
23
- files such as such as "included_files" and "*_excluded" will be present.
24
- Output will also be stripped of comments. This is not intended to be a
25
- general-purpose gyp pretty-printer; for that, you probably just want to
26
- run "pprint.pprint(eval(open('source.gyp').read()))", which will still strip
27
- comments but won't do all of the other things done to this module's output.
28
-
29
- The specific formatting of the output generated by this module is subject
30
- to change.
31
- """
32
-
33
-
34
- import pprint
35
-
36
- import gyp.common
37
-
38
- # These variables should just be spit back out as variable references.
39
- _generator_identity_variables = [
40
- "CONFIGURATION_NAME",
41
- "EXECUTABLE_PREFIX",
42
- "EXECUTABLE_SUFFIX",
43
- "INTERMEDIATE_DIR",
44
- "LIB_DIR",
45
- "PRODUCT_DIR",
46
- "RULE_INPUT_ROOT",
47
- "RULE_INPUT_DIRNAME",
48
- "RULE_INPUT_EXT",
49
- "RULE_INPUT_NAME",
50
- "RULE_INPUT_PATH",
51
- "SHARED_INTERMEDIATE_DIR",
52
- "SHARED_LIB_DIR",
53
- "SHARED_LIB_PREFIX",
54
- "SHARED_LIB_SUFFIX",
55
- "STATIC_LIB_PREFIX",
56
- "STATIC_LIB_SUFFIX",
57
- ]
58
-
59
- # gypd doesn't define a default value for OS like many other generator
60
- # modules. Specify "-D OS=whatever" on the command line to provide a value.
61
- generator_default_variables = {}
62
-
63
- # gypd supports multiple toolsets
64
- generator_supports_multiple_toolsets = True
65
-
66
- # TODO(mark): This always uses <, which isn't right. The input module should
67
- # notify the generator to tell it which phase it is operating in, and this
68
- # module should use < for the early phase and then switch to > for the late
69
- # phase. Bonus points for carrying @ back into the output too.
70
- for v in _generator_identity_variables:
71
- generator_default_variables[v] = "<(%s)" % v
72
-
73
-
74
- def GenerateOutput(target_list, target_dicts, data, params):
75
- output_files = {}
76
- for qualified_target in target_list:
77
- [input_file, target] = gyp.common.ParseQualifiedTarget(qualified_target)[0:2]
78
-
79
- if input_file[-4:] != ".gyp":
80
- continue
81
- input_file_stem = input_file[:-4]
82
- output_file = input_file_stem + params["options"].suffix + ".gypd"
83
-
84
- output_files[output_file] = output_files.get(output_file, input_file)
85
-
86
- for output_file, input_file in output_files.items():
87
- output = open(output_file, "w")
88
- pprint.pprint(data[input_file], output)
89
- output.close()
@@ -1,56 +0,0 @@
1
- # Copyright (c) 2011 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
- """gypsh output module
6
-
7
- gypsh is a GYP shell. It's not really a generator per se. All it does is
8
- fire up an interactive Python session with a few local variables set to the
9
- variables passed to the generator. Like gypd, it's intended as a debugging
10
- aid, to facilitate the exploration of .gyp structures after being processed
11
- by the input module.
12
-
13
- The expected usage is "gyp -f gypsh -D OS=desired_os".
14
- """
15
-
16
-
17
- import code
18
- import sys
19
-
20
- # All of this stuff about generator variables was lovingly ripped from gypd.py.
21
- # That module has a much better description of what's going on and why.
22
- _generator_identity_variables = [
23
- "EXECUTABLE_PREFIX",
24
- "EXECUTABLE_SUFFIX",
25
- "INTERMEDIATE_DIR",
26
- "PRODUCT_DIR",
27
- "RULE_INPUT_ROOT",
28
- "RULE_INPUT_DIRNAME",
29
- "RULE_INPUT_EXT",
30
- "RULE_INPUT_NAME",
31
- "RULE_INPUT_PATH",
32
- "SHARED_INTERMEDIATE_DIR",
33
- ]
34
-
35
- generator_default_variables = {}
36
-
37
- for v in _generator_identity_variables:
38
- generator_default_variables[v] = "<(%s)" % v
39
-
40
-
41
- def GenerateOutput(target_list, target_dicts, data, params):
42
- locals = {
43
- "target_list": target_list,
44
- "target_dicts": target_dicts,
45
- "data": data,
46
- }
47
-
48
- # Use a banner that looks like the stock Python one and like what
49
- # code.interact uses by default, but tack on something to indicate what
50
- # locals are available, and identify gypsh.
51
- banner = (
52
- f"Python {sys.version} on {sys.platform}\nlocals.keys() = "
53
- f"{sorted(locals.keys())!r}\ngypsh"
54
- )
55
-
56
- code.interact(banner, local=locals)