auth0-lock 11.34.0 → 11.34.1
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 +9 -0
- package/README.md +2 -2
- package/lib/connection/passwordless/email_sent_confirmation.js +2 -4
- package/lib/core/web_api/helper.js +1 -1
- package/lib/i18n.js +1 -1
- package/lib/lock.js +1 -1
- package/lib/passwordless.js +1 -1
- package/lib/ui/input/captcha_input.js +2 -0
- package/lib/ui/input/email_input.js +2 -0
- package/lib/ui/input/mfa_code_input.js +2 -0
- package/lib/ui/input/password_input.js +2 -0
- package/lib/ui/input/phone_number_input.js +2 -0
- package/lib/ui/input/username_input.js +1 -1
- package/lib/ui/input/vcode_input.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v11.34.1](https://github.com/auth0/lock/tree/v11.34.1) (2022-09-29)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.34.0...v11.34.1)
|
|
5
|
+
|
|
6
|
+
**Fixed**
|
|
7
|
+
- [ESD-22705] Don't pass function to ConfirmationPane unless closable is enabled [\#2176](https://github.com/auth0/lock/pull/2176) ([ewanharris](https://github.com/ewanharris))
|
|
8
|
+
|
|
9
|
+
**Security**
|
|
10
|
+
- [ESD-22866] Disable spellcheck and autocorrect on all sensitive input fields [\#2178](https://github.com/auth0/lock/pull/2178) ([ewanharris](https://github.com/ewanharris))
|
|
11
|
+
|
|
3
12
|
## [v11.34.0](https://github.com/auth0/lock/tree/v11.34.0) (2022-09-14)
|
|
4
13
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.3...v11.34.0)
|
|
5
14
|
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ From CDN
|
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
27
|
<!-- Latest patch release (recommended for production) -->
|
|
28
|
-
<script src="https://cdn.auth0.com/js/lock/11.34.
|
|
28
|
+
<script src="https://cdn.auth0.com/js/lock/11.34.1/lock.min.js"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
From [npm](https://npmjs.org)
|
|
@@ -490,7 +490,7 @@ Extra input fields can be added to the sign up screen with the `additionalSignUp
|
|
|
490
490
|
|
|
491
491
|
Additional sign up fields are rendered below the default fields in the order they are provided.
|
|
492
492
|
|
|
493
|
-
:warning: **Note**: From `11.34.
|
|
493
|
+
:warning: **Note**: From `11.34.1` onwards, all HTML tags are stripped from user input into custom signup fields.
|
|
494
494
|
|
|
495
495
|
##### Text field
|
|
496
496
|
|
|
@@ -165,7 +165,7 @@ var EmailSentConfirmation = function (_React$Component3) {
|
|
|
165
165
|
|
|
166
166
|
var lock = this.props.lock;
|
|
167
167
|
|
|
168
|
-
var
|
|
168
|
+
var closeHandler = l.ui.closable(lock) ? this.handleClose.bind(this) : undefined;
|
|
169
169
|
var labels = {
|
|
170
170
|
failed: i18n.str(lock, 'failedLabel'),
|
|
171
171
|
resend: i18n.str(lock, 'resendLabel'),
|
|
@@ -181,9 +181,7 @@ var EmailSentConfirmation = function (_React$Component3) {
|
|
|
181
181
|
backHandler: function backHandler() {
|
|
182
182
|
return _this4.handleBack();
|
|
183
183
|
},
|
|
184
|
-
closeHandler:
|
|
185
|
-
return _closeHandler();
|
|
186
|
-
}
|
|
184
|
+
closeHandler: closeHandler
|
|
187
185
|
},
|
|
188
186
|
_react2.default.createElement(
|
|
189
187
|
'p',
|
package/lib/i18n.js
CHANGED
|
@@ -125,7 +125,7 @@ function assertLanguage(m, language, base) {
|
|
|
125
125
|
function syncLang(m, language, _cb) {
|
|
126
126
|
(0, _cdn_utils.load)({
|
|
127
127
|
method: 'registerLanguageDictionary',
|
|
128
|
-
url: l.languageBaseUrl(m) + '/js/lock/' + '11.34.
|
|
128
|
+
url: l.languageBaseUrl(m) + '/js/lock/' + '11.34.1' + '/' + language + '.js',
|
|
129
129
|
check: function check(str) {
|
|
130
130
|
return str && str === language;
|
|
131
131
|
},
|
package/lib/lock.js
CHANGED
|
@@ -42,7 +42,7 @@ var Auth0Lock = function (_Core) {
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
exports.default = Auth0Lock;
|
|
45
|
-
Auth0Lock.version = '11.34.
|
|
45
|
+
Auth0Lock.version = '11.34.1';
|
|
46
46
|
|
|
47
47
|
// TODO: should we have different telemetry for classic/passwordless?
|
|
48
48
|
// TODO: should we set telemetry info before each request?
|
package/lib/passwordless.js
CHANGED
|
@@ -154,6 +154,8 @@ var CaptchaInput = function (_React$Component) {
|
|
|
154
154
|
placeholder: placeholder,
|
|
155
155
|
autoComplete: 'off',
|
|
156
156
|
autoCapitalize: 'off',
|
|
157
|
+
autoCorrect: 'off',
|
|
158
|
+
spellCheck: 'false',
|
|
157
159
|
onChange: this.handleOnChange.bind(this),
|
|
158
160
|
onFocus: this.handleFocus.bind(this),
|
|
159
161
|
onBlur: this.handleBlur.bind(this),
|
|
@@ -108,6 +108,8 @@ var EmailInput = function (_React$Component) {
|
|
|
108
108
|
placeholder: 'yours@example.com',
|
|
109
109
|
autoComplete: autoComplete ? 'on' : 'off',
|
|
110
110
|
autoCapitalize: 'off',
|
|
111
|
+
autoCorrect: 'off',
|
|
112
|
+
spellCheck: 'false',
|
|
111
113
|
onChange: this.handleOnChange.bind(this),
|
|
112
114
|
onFocus: this.handleFocus.bind(this),
|
|
113
115
|
onBlur: this.handleBlur.bind(this),
|
|
@@ -77,6 +77,8 @@ var MFACodeInput = function (_React$Component) {
|
|
|
77
77
|
className: 'auth0-lock-input',
|
|
78
78
|
autoComplete: 'off',
|
|
79
79
|
autoCapitalize: 'off',
|
|
80
|
+
autoCorrect: 'off',
|
|
81
|
+
spellCheck: 'false',
|
|
80
82
|
onChange: this.handleOnChange.bind(this),
|
|
81
83
|
onFocus: this.handleFocus.bind(this),
|
|
82
84
|
onBlur: this.handleBlur.bind(this),
|
|
@@ -121,6 +121,8 @@ var PasswordInput = function (_React$Component) {
|
|
|
121
121
|
className: 'auth0-lock-input',
|
|
122
122
|
autoComplete: allowPasswordAutocomplete ? 'on' : 'off',
|
|
123
123
|
autoCapitalize: 'off',
|
|
124
|
+
autoCorrect: 'off',
|
|
125
|
+
spellCheck: 'false',
|
|
124
126
|
onChange: this.handleOnChange.bind(this),
|
|
125
127
|
onFocus: this.handleFocus.bind(this),
|
|
126
128
|
onBlur: this.handleBlur.bind(this),
|
|
@@ -90,6 +90,8 @@ var PhoneNumberInput = function (_React$Component) {
|
|
|
90
90
|
name: 'phoneNumber',
|
|
91
91
|
className: 'auth0-lock-input auth0-lock-input-number',
|
|
92
92
|
autoComplete: 'off',
|
|
93
|
+
autoCorrect: 'off',
|
|
94
|
+
spellCheck: 'false',
|
|
93
95
|
onFocus: this.handleFocus.bind(this),
|
|
94
96
|
onBlur: this.handleBlur.bind(this),
|
|
95
97
|
'aria-label': 'Telephone number',
|
|
@@ -99,7 +99,7 @@ var UsernameInput = function (_React$Component) {
|
|
|
99
99
|
placeholder: 'username',
|
|
100
100
|
autoComplete: autoComplete ? 'on' : 'off',
|
|
101
101
|
autoCapitalize: 'off',
|
|
102
|
-
spellCheck: '
|
|
102
|
+
spellCheck: 'false',
|
|
103
103
|
autoCorrect: 'off',
|
|
104
104
|
onChange: this.handleOnChange.bind(this),
|
|
105
105
|
onFocus: this.handleFocus.bind(this),
|
|
@@ -104,6 +104,8 @@ var VcodeInput = function (_React$Component) {
|
|
|
104
104
|
className: 'auth0-lock-input auth0-lock-input-code',
|
|
105
105
|
autoComplete: 'off',
|
|
106
106
|
autoCapitalize: 'off',
|
|
107
|
+
autoCorrect: 'off',
|
|
108
|
+
spellCheck: 'false',
|
|
107
109
|
onFocus: this.handleFocus.bind(this),
|
|
108
110
|
onBlur: this.handleBlur.bind(this),
|
|
109
111
|
'aria-label': 'vcode',
|