File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,16 @@ export const login = {
71
71
return
72
72
}
73
73
74
+ /**
75
+ * @template T
76
+ * @param {T | null | undefined } value
77
+ * @returns {value is T }
78
+ */
79
+ const nonNullish = value => value != null
80
+
74
81
/** @type {prompts.Choice[] } */
75
82
const enforcedChoices = Object . values ( orgs . organizations )
83
+ . filter ( nonNullish )
76
84
. filter ( org => org . plan === 'enterprise' )
77
85
. map ( org => ( {
78
86
title : org . name ,
Original file line number Diff line number Diff line change 15
15
},
16
16
"license" : " MIT" ,
17
17
"engines" : {
18
- "node" : " ^14.18.0 || ^ 16.13.0 || >=18.0.0"
18
+ "node" : " ^16.13.0 || >=18.0.0"
19
19
},
20
20
"type" : " module" ,
21
21
"bin" : {
84
84
"dependencies" : {
85
85
"@apideck/better-ajv-errors" : " ^0.3.6" ,
86
86
"@socketsecurity/config" : " ^2.0.0" ,
87
- "@socketsecurity/sdk" : " ^0.5.4 " ,
87
+ "@socketsecurity/sdk" : " ^0.7.0 " ,
88
88
"chalk" : " ^5.1.2" ,
89
89
"globby" : " ^13.1.3" ,
90
90
"hpagent" : " ^1.2.0" ,
You can’t perform that action at this time.
0 commit comments