auth0-lock
Advanced tools
Comparing version 11.24.1 to 11.24.2
@@ -87,8 +87,9 @@ 'use strict'; | ||
expect(instance.state.headerHeight).toBe(0); | ||
expect(instance.state.headerHeight).toBe(200); | ||
expect(component).toMatchSnapshot(); | ||
Chrome.prototype.getHeaderSize.mockReturnValue(250); | ||
triggerEvent('signin ready'); | ||
expect(instance.state.headerHeight).toBe(200); | ||
expect(instance.state.headerHeight).toBe(250); | ||
expect(component).toMatchSnapshot(); | ||
@@ -101,8 +102,9 @@ }); | ||
expect(instance.state.headerHeight).toBe(0); | ||
expect(instance.state.headerHeight).toBe(200); | ||
expect(component).toMatchSnapshot(); | ||
Chrome.prototype.getHeaderSize.mockReturnValue(250); | ||
triggerEvent('signup ready'); | ||
expect(instance.state.headerHeight).toBe(200); | ||
expect(instance.state.headerHeight).toBe(250); | ||
expect(component).toMatchSnapshot(); | ||
@@ -109,0 +111,0 @@ }); |
@@ -27,3 +27,3 @@ 'use strict'; | ||
// /ro or /oauth/token for DB connections | ||
if (window && (!!window.cordova || !!window.electron)) { | ||
if (!hostedLoginPage && window && (!!window.cordova || !!window.electron)) { | ||
opts.redirect = false; | ||
@@ -30,0 +30,0 @@ opts.sso = false; |
@@ -179,3 +179,3 @@ 'use strict'; | ||
function getVersion() { | ||
return '11.24.1'; | ||
return '11.24.2'; | ||
} |
@@ -119,3 +119,3 @@ 'use strict'; | ||
method: 'registerLanguageDictionary', | ||
url: l.languageBaseUrl(m) + '/js/lock/' + '11.24.1' + '/' + language + '.js', | ||
url: l.languageBaseUrl(m) + '/js/lock/' + '11.24.2' + '/' + language + '.js', | ||
check: function check(str) { | ||
@@ -122,0 +122,0 @@ return str && str === language; |
@@ -45,3 +45,3 @@ 'use strict'; | ||
exports.default = Auth0Lock; | ||
Auth0Lock.version = '11.24.1'; | ||
Auth0Lock.version = '11.24.2'; | ||
@@ -48,0 +48,0 @@ // TODO: should we have different telemetry for classic/passwordless? |
@@ -30,2 +30,7 @@ 'use strict'; | ||
(0, _core.injectStyles)(); | ||
(0, _core.setWindowHeightStyle)(); | ||
window.addEventListener('resize', function () { | ||
(0, _core.setWindowHeightStyle)(); | ||
}); | ||
return _this; | ||
@@ -40,2 +45,2 @@ } | ||
Auth0LockPasswordless.version = '11.24.1'; | ||
Auth0LockPasswordless.version = '11.24.2'; |
@@ -150,2 +150,5 @@ 'use strict'; | ||
// eslint-disable-next-line react/no-deprecated | ||
Chrome.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { | ||
@@ -239,2 +242,3 @@ var _this3 = this; | ||
l.handleEvent(m, 'signin ready', fn); | ||
fn(); | ||
}; | ||
@@ -241,0 +245,0 @@ |
@@ -80,3 +80,3 @@ 'use strict'; | ||
'a', | ||
{ href: link, target: '_blank', className: 'auth0-lock-badge' }, | ||
{ href: link, target: '_blank', className: 'auth0-lock-badge', rel: 'noopener noreferrer' }, | ||
'Protected with ', | ||
@@ -83,0 +83,0 @@ badgeSvg |
@@ -41,2 +41,5 @@ 'use strict'; | ||
// eslint-disable-next-line react/no-deprecated | ||
Slider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { | ||
@@ -43,0 +46,0 @@ // TODO: take a prop to identify what are we rendering instead of |
{ | ||
"name": "auth0-lock", | ||
"version": "11.24.1", | ||
"version": "11.24.2", | ||
"description": "Auth0 Lock", | ||
@@ -5,0 +5,0 @@ "author": "Auth0 <support@auth0.com> (http://auth0.com)", |
@@ -26,3 +26,3 @@ [![NPM version][npm-image]][npm-url] | ||
<!-- Latest patch release (recommended for production) --> | ||
<script src="https://cdn.auth0.com/js/lock/11.24.1/lock.min.js"></script> | ||
<script src="https://cdn.auth0.com/js/lock/11.24.2/lock.min.js"></script> | ||
``` | ||
@@ -29,0 +29,0 @@ |
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1341785
231
21664
339
1
1
1
5