Socket
Socket
Sign inDemoInstall

auth0-lock

Package Overview
Dependencies
Maintainers
37
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0-lock - npm Package Compare versions

Comparing version 11.25.0 to 11.25.1

1

DEVELOPMENT.md

@@ -31,3 +31,2 @@ ## Environment

```
```

@@ -34,0 +33,0 @@ ## The SDK Playground

23

lib/__tests__/connection/enterprise/quick_auth_screen.js

@@ -135,5 +135,6 @@ 'use strict';

it('renders the connection using the connection name when there is no domain available', function () {
it('renders the connection using the connection display name when preferConnectionDisplayName is true and there are no IdP domains configured', function () {
var mockConnection = _immutable2.default.fromJS({
name: 'Test'
name: 'Test',
displayName: 'My Connection'
});

@@ -146,2 +147,5 @@

var l = require('core/index');
l.ui.preferConnectionDisplayName.mockReturnValue(true);
var Component = getComponent();

@@ -151,2 +155,17 @@

});
it('renders the connection using the connection name when there is no domain available', function () {
var mockConnection = _immutable2.default.fromJS({
name: 'Test'
});
var _require4 = require('connection/enterprise'),
quickAuthConnection = _require4.quickAuthConnection;
quickAuthConnection.mockReturnValue(mockConnection);
var Component = getComponent();
(0, _testUtils.expectComponent)(_react2.default.createElement(Component, defaultProps)).toMatchSnapshot();
});
});

@@ -62,6 +62,5 @@ 'use strict';

var preferConnectionDisplayName = l.ui.preferConnectionDisplayName(model);
var buttonTheme = theme.get(connection.get('name'));
var buttonLabel = buttonTheme && buttonTheme.get('displayName') || connectionDomain && i18n.str('loginAtLabel', preferConnectionDisplayName && connectionDisplayName ? connectionDisplayName : connectionDomain) || i18n.str('loginAtLabel', connectionName);
var buttonLabel = buttonTheme && buttonTheme.get('displayName') || preferConnectionDisplayName && connectionDisplayName && i18n.str('loginAtLabel', connectionDisplayName) || connectionDomain && i18n.str('loginAtLabel', connectionDomain) || i18n.str('loginAtLabel', connectionName);

@@ -68,0 +67,0 @@ var primaryColor = buttonTheme && buttonTheme.get('primaryColor');

@@ -179,3 +179,3 @@ 'use strict';

function getVersion() {
return '11.25.0';
return '11.25.1';
}

@@ -119,3 +119,3 @@ 'use strict';

method: 'registerLanguageDictionary',
url: l.languageBaseUrl(m) + '/js/lock/' + '11.25.0' + '/' + language + '.js',
url: l.languageBaseUrl(m) + '/js/lock/' + '11.25.1' + '/' + 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.25.0';
Auth0Lock.version = '11.25.1';

@@ -48,0 +48,0 @@ // TODO: should we have different telemetry for classic/passwordless?

@@ -44,2 +44,2 @@ 'use strict';

Auth0LockPasswordless.version = '11.25.0';
Auth0LockPasswordless.version = '11.25.1';
{
"name": "auth0-lock",
"version": "11.25.0",
"version": "11.25.1",
"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.25.0/lock.min.js"></script>
<script src="https://cdn.auth0.com/js/lock/11.25.1/lock.min.js"></script>
```

@@ -29,0 +29,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc