amazon-cognito-identity-js
Advanced tools
Comparing version 6.3.5 to 6.3.6-api-v6.26fa5d0.0
{ | ||
"name": "amazon-cognito-identity-js", | ||
"description": "Amazon Cognito Identity Provider JavaScript SDK", | ||
"version": "6.3.5", | ||
"version": "6.3.6-api-v6.26fa5d0.0+26fa5d0", | ||
"author": { | ||
@@ -77,3 +77,3 @@ "name": "Amazon Web Services", | ||
}, | ||
"gitHead": "f0df916a96cdd4b4f2ebbf45c3d3add6d5f16e37" | ||
"gitHead": "26fa5d0a69db52eda29ec36eb31762b86cd30392" | ||
} |
@@ -39,3 +39,6 @@ /*! | ||
} | ||
if (UserPoolId.length > USER_POOL_ID_MAX_LENGTH || !/^[\w-]+_[0-9a-zA-Z]+$/.test(UserPoolId)) { | ||
if ( | ||
UserPoolId.length > USER_POOL_ID_MAX_LENGTH || | ||
!/^[\w-]+_[0-9a-zA-Z]+$/.test(UserPoolId) | ||
) { | ||
throw new Error('Invalid UserPoolId format.'); | ||
@@ -177,11 +180,13 @@ } | ||
/* eslint-disable */ | ||
const amazonCognitoAdvancedSecurityDataConst = AmazonCognitoAdvancedSecurityData; | ||
const amazonCognitoAdvancedSecurityDataConst = | ||
AmazonCognitoAdvancedSecurityData; | ||
/* eslint-enable */ | ||
if (this.advancedSecurityDataCollectionFlag) { | ||
const advancedSecurityData = amazonCognitoAdvancedSecurityDataConst.getData( | ||
username, | ||
this.userPoolId, | ||
this.clientId | ||
); | ||
const advancedSecurityData = | ||
amazonCognitoAdvancedSecurityDataConst.getData( | ||
username, | ||
this.userPoolId, | ||
this.clientId | ||
); | ||
if (advancedSecurityData) { | ||
@@ -188,0 +193,0 @@ const userContextData = { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1386946
24632
2
12