socket 0.14.27 → 0.14.29

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 (52) hide show
  1. package/bin/cli.js +9 -0
  2. package/bin/npm-cli.js +9 -0
  3. package/bin/npx-cli.js +9 -0
  4. package/bin/shadow/module-sync/npm +3 -0
  5. package/bin/shadow/module-sync/npx +3 -0
  6. package/bin/shadow/require/npm +3 -0
  7. package/bin/shadow/require/npx +3 -0
  8. package/dist/module-sync/cli.d.ts.map +1 -0
  9. package/dist/module-sync/cli.js +5256 -0
  10. package/dist/module-sync/constants.d.ts +15 -0
  11. package/dist/module-sync/constants.js +62 -0
  12. package/dist/module-sync/npm-cli.js +85 -0
  13. package/dist/{npm-injection.js → module-sync/npm-injection.js} +78 -92
  14. package/dist/module-sync/npx-cli.js +61 -0
  15. package/dist/{sdk.d.ts → module-sync/sdk.d.ts} +1 -5
  16. package/dist/module-sync/sdk.js +253 -0
  17. package/dist/require/cli.d.ts +3 -0
  18. package/dist/require/cli.d.ts.map +1 -0
  19. package/dist/{cli.js → require/cli.js} +72 -76
  20. package/dist/require/color-or-markdown.d.ts +23 -0
  21. package/dist/require/constants.d.ts +15 -0
  22. package/dist/require/constants.js +57 -0
  23. package/dist/require/errors.d.ts +7 -0
  24. package/dist/require/link.d.ts +2 -0
  25. package/dist/require/link.js +45 -0
  26. package/dist/require/npm-cli.d.ts +2 -0
  27. package/dist/{npm-cli.js → require/npm-cli.js} +12 -10
  28. package/dist/require/npm-injection.d.ts +1 -0
  29. package/dist/require/npm-injection.js +1829 -0
  30. package/dist/require/npx-cli.d.ts +2 -0
  31. package/dist/{npx-cli.js → require/npx-cli.js} +12 -12
  32. package/dist/require/path-resolve.d.ts +8 -0
  33. package/dist/require/path-resolve.js +183 -0
  34. package/dist/require/sdk.d.ts +9 -0
  35. package/dist/{sdk.js → require/sdk.js} +16 -36
  36. package/dist/require/settings.d.ts +9 -0
  37. package/dist/{vendor.js → require/vendor.js} +126 -13
  38. package/package.json +67 -35
  39. package/bin/npm +0 -2
  40. package/bin/npx +0 -2
  41. package/dist/cli.d.ts.map +0 -1
  42. /package/dist/{cli.d.ts → module-sync/cli.d.ts} +0 -0
  43. /package/dist/{color-or-markdown.d.ts → module-sync/color-or-markdown.d.ts} +0 -0
  44. /package/dist/{errors.d.ts → module-sync/errors.d.ts} +0 -0
  45. /package/dist/{link.d.ts → module-sync/link.d.ts} +0 -0
  46. /package/dist/{link.js → module-sync/link.js} +0 -0
  47. /package/dist/{npm-cli.d.ts → module-sync/npm-cli.d.ts} +0 -0
  48. /package/dist/{npm-injection.d.ts → module-sync/npm-injection.d.ts} +0 -0
  49. /package/dist/{npx-cli.d.ts → module-sync/npx-cli.d.ts} +0 -0
  50. /package/dist/{path-resolve.d.ts → module-sync/path-resolve.d.ts} +0 -0
  51. /package/dist/{path-resolve.js → module-sync/path-resolve.js} +0 -0
  52. /package/dist/{settings.d.ts → module-sync/settings.d.ts} +0 -0
package/bin/cli.js ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+
4
+ const semver = require('semver')
5
+ const distType = semver.satisfies(process.versions.node, '>=22.12')
6
+ ? 'module-sync'
7
+ : 'require'
8
+ process.removeAllListeners('warning')
9
+ require(`../dist/${distType}/cli.js`)
package/bin/npm-cli.js ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+
4
+ const semver = require('semver')
5
+ const distType = semver.satisfies(process.versions.node, '>=22.12')
6
+ ? 'module-sync'
7
+ : 'require'
8
+ process.removeAllListeners('warning')
9
+ require(`../dist/${distType}/npm-cli.js`)
package/bin/npx-cli.js ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+
4
+ const semver = require('semver')
5
+ const distType = semver.satisfies(process.versions.node, '>=22.12')
6
+ ? 'module-sync'
7
+ : 'require'
8
+ process.removeAllListeners('warning')
9
+ require(`../dist/${distType}/npx-cli.js`)
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+ require('../../dist/module-sync/npm-cli.js')
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+ require('../../dist/module-sync/npx-cli.js')
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+ require('../../dist/require/npm-cli.js')
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+ require('../../dist/require/npx-cli.js')
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli.ts","../../src/utils/formatting.ts","../../src/flags.ts","../../src/utils/meow-with-subcommands.ts","../../src/commands/cdxgen.ts","../../src/utils/api-helpers.ts","../../src/utils/objects.ts","../../src/utils/format-issues.ts","../../src/commands/info.ts","../../src/commands/login.ts","../../src/commands/logout.ts","../../src/commands/npm.ts","../../src/commands/npx.ts","../../src/utils/fs.ts","../../src/utils/package-manager-detector.ts","../../src/commands/optimize.ts","../../src/commands/organization.ts","../../src/commands/raw-npm.ts","../../src/commands/raw-npx.ts","../../src/commands/report/view.ts","../../src/commands/report/create.ts","../../src/commands/report/index.ts","../../src/commands/wrapper.ts","../../src/commands/scan/create.ts","../../src/commands/scan/delete.ts","../../src/commands/scan/list.ts","../../src/commands/scan/metadata.ts","../../src/commands/scan/stream.ts","../../src/commands/scan/index.ts","../../src/commands/audit-log.ts","../../src/commands/repos/create.ts","../../src/commands/repos/delete.ts","../../src/commands/repos/list.ts","../../src/commands/repos/update.ts","../../src/commands/repos/view.ts","../../src/commands/repos/index.ts","../../src/commands/dependencies.ts","../../src/commands/analytics.ts","../../src/commands/diff-scan/get.ts","../../src/commands/diff-scan/index.ts","../../src/commands/threat-feed.ts","../../src/commands/index.ts"],"names":[],"mappings":""}