socket 1.1.115 → 1.1.117
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.
- package/CHANGELOG.md +10 -0
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +1 -1
- package/dist/utils.js +7 -2
- package/dist/utils.js.map +1 -1
- package/package.json +3 -3
- package/external/blessed/usr/fonts/AUTHORS +0 -1
- package/external/blessed/usr/fonts/LICENSE +0 -94
- package/external/blessed/usr/fonts/README +0 -340
- package/external/blessed/usr/fonts/ter-u14b.json +0 -17826
- package/external/blessed/usr/fonts/ter-u14n.json +0 -17826
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-default-org-slug.d.mts","sourceRoot":"","sources":["../../../../src/commands/ci/fetch-default-org-slug.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,sEAAsE;AACtE,wBAAsB,iBAAiB,CACrC,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"fetch-default-org-slug.d.mts","sourceRoot":"","sources":["../../../../src/commands/ci/fetch-default-org-slug.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,sEAAsE;AACtE,wBAAsB,iBAAiB,CACrC,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAwD1B"}
|
package/dist/utils.js
CHANGED
|
@@ -3821,7 +3821,12 @@ async function getDefaultOrgSlug(silence) {
|
|
|
3821
3821
|
data: `No organization associated with the Socket API token. Unable to continue.`
|
|
3822
3822
|
};
|
|
3823
3823
|
}
|
|
3824
|
-
|
|
3824
|
+
|
|
3825
|
+
// Use the org's URL-safe `slug`, not its display `name`: this value is
|
|
3826
|
+
// exported as SOCKET_ORG_SLUG for the Coana CLI, which resolves the org by
|
|
3827
|
+
// slug. `name` is the human-readable display name (and may be null), so using
|
|
3828
|
+
// it here produced a wrong/empty org identifier.
|
|
3829
|
+
const slug = organizations[0]?.slug ?? undefined;
|
|
3825
3830
|
if (!slug) {
|
|
3826
3831
|
return {
|
|
3827
3832
|
ok: false,
|
|
@@ -8350,5 +8355,5 @@ exports.updateConfigValue = updateConfigValue;
|
|
|
8350
8355
|
exports.walkNestedMap = walkNestedMap;
|
|
8351
8356
|
exports.webLink = webLink;
|
|
8352
8357
|
exports.writeSocketJson = writeSocketJson;
|
|
8353
|
-
//# debugId=
|
|
8358
|
+
//# debugId=94ef2183-dca4-487d-a212-97d72c67367e
|
|
8354
8359
|
//# sourceMappingURL=utils.js.map
|