idea-toolbox
Advanced tools
Comparing version 6.5.9 to 6.5.10
@@ -13,3 +13,9 @@ "use strict"; | ||
this.name = x.name; | ||
this.groups = x.groups || x['cognito:groups']?.split(',') || []; | ||
this.groups = | ||
x.groups || | ||
(x['cognito:groups'] | ||
? Array.isArray(x['cognito:groups']) | ||
? x['cognito:groups'] | ||
: x['cognito:groups'].split(',') | ||
: []); | ||
if (x.attributes) | ||
@@ -16,0 +22,0 @@ this.attributes = x.attributes; |
{ | ||
"name": "idea-toolbox", | ||
"version": "6.5.9", | ||
"version": "6.5.10", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240189
7063