@socketsecurity/cli-with-sentry 0.14.102 → 0.14.104

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.
@@ -1,4 +1,4 @@
1
- import { ArboristClass } from './types.js'
1
+ import { ArboristClass } from './shadow-npm-inject.js'
2
2
  import { SafeNode } from './node.js'
3
3
  declare const SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES: {
4
4
  __proto__: null
@@ -11,10 +11,6 @@ declare const AGENTS: readonly [
11
11
  'vlt'
12
12
  ]
13
13
  type Agent = (typeof AGENTS)[number]
14
- type DetectOptions = {
15
- cwd?: string | undefined
16
- onUnknown?: (pkgManager: string | undefined) => void
17
- }
18
14
  type EnvBase = {
19
15
  agent: Agent
20
16
  agentExecPath: string
@@ -38,10 +34,10 @@ type EnvDetails = Readonly<
38
34
  Remap<
39
35
  EnvBase & {
40
36
  agentVersion: SemVer
37
+ editablePkgJson: EditablePackageJson
41
38
  lockName: string
42
39
  lockPath: string
43
40
  lockSrc: string
44
- pkgJson: EditablePackageJson
45
41
  pkgPath: string
46
42
  }
47
43
  >
@@ -50,14 +46,18 @@ type PartialEnvDetails = Readonly<
50
46
  Remap<
51
47
  EnvBase & {
52
48
  agentVersion: SemVer | undefined
49
+ editablePkgJson: EditablePackageJson | undefined
53
50
  lockName: string | undefined
54
51
  lockPath: string | undefined
55
52
  lockSrc: string | undefined
56
- pkgJson: EditablePackageJson | undefined
57
53
  pkgPath: string | undefined
58
54
  }
59
55
  >
60
56
  >
57
+ type DetectOptions = {
58
+ cwd?: string | undefined
59
+ onUnknown?: (pkgManager: string | undefined) => void
60
+ }
61
61
  declare function detectPackageEnvironment({
62
62
  cwd,
63
63
  onUnknown
@@ -74,9 +74,9 @@ declare function detectAndValidatePackageEnvironment(
74
74
  export {
75
75
  AGENTS,
76
76
  Agent,
77
- DetectOptions,
78
77
  EnvDetails,
79
78
  PartialEnvDetails,
79
+ DetectOptions,
80
80
  detectPackageEnvironment,
81
81
  DetectAndValidateOptions,
82
82
  detectAndValidatePackageEnvironment
@@ -0,0 +1,16 @@
1
+ declare const RangeStyles: string[]
2
+ type RangeStyle =
3
+ | 'caret'
4
+ | 'gt'
5
+ | 'gte'
6
+ | 'lt'
7
+ | 'lte'
8
+ | 'pin'
9
+ | 'preserve'
10
+ | 'tilde'
11
+ declare function applyRange(
12
+ refRange: string,
13
+ version: string,
14
+ style?: RangeStyle
15
+ ): string
16
+ export { RangeStyles, RangeStyle, applyRange }