auth0-lock 11.34.2 → 11.35.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/.circleci/config.yml +4 -2
- package/.eslintrc.json +5 -5
- package/.github/workflows/codeql.yml +41 -0
- package/CHANGELOG.md +38 -0
- package/EXAMPLES.md +626 -0
- package/Makefile +2 -2
- package/README.md +78 -653
- package/lib/__tests__/connection/passwordless/passwordless.js +4 -2
- package/lib/__tests__/engine/passwordless/social_or_email_login_screen.js +126 -0
- package/lib/__tests__/engine/passwordless/social_or_phone_number_login_screen.js +126 -0
- package/lib/connection/captcha.js +21 -6
- package/lib/connection/database/actions.js +5 -5
- package/lib/connection/database/index.js +1 -1
- package/lib/connection/database/login_pane.js +1 -1
- package/lib/connection/enterprise/actions.js +2 -2
- package/lib/connection/enterprise/hrd_pane.js +1 -1
- package/lib/connection/passwordless/actions.js +33 -11
- package/lib/connection/social/index.js +1 -1
- package/lib/core/index.js +12 -6
- package/lib/core/remote_data.js +9 -0
- package/lib/core/web_api/helper.js +3 -3
- package/lib/core/web_api/p2_api.js +6 -0
- package/lib/core/web_api.js +4 -0
- package/lib/core.js +1 -1
- package/lib/engine/classic/sign_up_pane.js +1 -1
- package/lib/engine/passwordless/social_or_email_login_screen.js +12 -1
- package/lib/engine/passwordless/social_or_phone_number_login_screen.js +12 -1
- package/lib/field/captcha/captcha_pane.js +4 -3
- package/lib/field/email/email_pane.js +1 -1
- package/lib/field/index.js +1 -1
- package/lib/field/password/password_pane.js +1 -1
- package/lib/field/username/username_pane.js +1 -1
- package/lib/i18n/af.js +3 -1
- package/lib/i18n/ar.js +3 -1
- package/lib/i18n/az.js +3 -1
- package/lib/i18n/bg.js +3 -1
- package/lib/i18n/ca.js +3 -1
- package/lib/i18n/cs.js +3 -1
- package/lib/i18n/da.js +3 -1
- package/lib/i18n/de.js +3 -1
- package/lib/i18n/el.js +3 -1
- package/lib/i18n/en.js +3 -1
- package/lib/i18n/es.js +3 -1
- package/lib/i18n/et.js +3 -1
- package/lib/i18n/fa.js +3 -1
- package/lib/i18n/fi.js +3 -1
- package/lib/i18n/fr.js +3 -1
- package/lib/i18n/he.js +3 -1
- package/lib/i18n/hr.js +3 -1
- package/lib/i18n/hu.js +3 -1
- package/lib/i18n/id.js +3 -1
- package/lib/i18n/it.js +3 -1
- package/lib/i18n/ja.js +3 -1
- package/lib/i18n/ko.js +3 -1
- package/lib/i18n/lt.js +3 -1
- package/lib/i18n/lv.js +3 -1
- package/lib/i18n/ms.js +3 -1
- package/lib/i18n/nb.js +3 -1
- package/lib/i18n/nl.js +3 -1
- package/lib/i18n/nn.js +3 -1
- package/lib/i18n/no.js +3 -1
- package/lib/i18n/pl.js +3 -1
- package/lib/i18n/pt-br.js +3 -1
- package/lib/i18n/pt.js +3 -1
- package/lib/i18n/ro.js +3 -1
- package/lib/i18n/ru.js +3 -1
- package/lib/i18n/sk.js +3 -1
- package/lib/i18n/sl.js +3 -1
- package/lib/i18n/sr.js +3 -1
- package/lib/i18n/sv.js +3 -1
- package/lib/i18n/tr.js +3 -1
- package/lib/i18n/ua.js +3 -1
- package/lib/i18n/uk.js +3 -1
- package/lib/i18n/vi.js +3 -1
- package/lib/i18n/zh-tw.js +3 -1
- package/lib/i18n/zh.js +3 -1
- package/lib/i18n.js +1 -1
- package/lib/lock.js +1 -1
- package/lib/passwordless.js +1 -1
- package/lib/ui/box/multisize_slide.js +1 -1
- package/opslevel.yml +6 -0
- package/package.json +22 -21
package/.circleci/config.yml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
version: 2.1
|
|
2
2
|
orbs:
|
|
3
|
-
ship: auth0/ship@0
|
|
3
|
+
ship: auth0/ship@0
|
|
4
4
|
executors:
|
|
5
5
|
docker-executor:
|
|
6
6
|
docker:
|
|
7
|
-
- image: cimg/node:
|
|
7
|
+
- image: cimg/node:lts-browsers
|
|
8
8
|
jobs:
|
|
9
9
|
build-and-test:
|
|
10
10
|
executor: docker-executor
|
|
@@ -78,6 +78,7 @@ workflows:
|
|
|
78
78
|
context:
|
|
79
79
|
- browserstack-env
|
|
80
80
|
- ship/node-publish:
|
|
81
|
+
publish-command: yarn publish --tag v11
|
|
81
82
|
requires:
|
|
82
83
|
- build-and-test
|
|
83
84
|
pkg-manager: yarn
|
|
@@ -88,3 +89,4 @@ workflows:
|
|
|
88
89
|
branches:
|
|
89
90
|
only:
|
|
90
91
|
- master
|
|
92
|
+
- v11
|
package/.eslintrc.json
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
},
|
|
7
7
|
"parser": "babel-eslint",
|
|
8
8
|
"rules": {
|
|
9
|
-
"react/display-name":
|
|
10
|
-
"react/prop-types":
|
|
11
|
-
"react/no-find-dom-node":
|
|
12
|
-
"react/no-string-refs":
|
|
13
|
-
"react/no-danger":
|
|
9
|
+
"react/display-name": "off",
|
|
10
|
+
"react/prop-types": "warn",
|
|
11
|
+
"react/no-find-dom-node": "warn",
|
|
12
|
+
"react/no-string-refs": "warn",
|
|
13
|
+
"react/no-danger": "error"
|
|
14
14
|
},
|
|
15
15
|
"plugins": ["react"],
|
|
16
16
|
"settings": {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: "CodeQL"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "master", "v6", "v7", "v8", "v9-optional-signup-username", "v9", "v10" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "master" ]
|
|
8
|
+
schedule:
|
|
9
|
+
- cron: "11 10 * * 4"
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
analyze:
|
|
13
|
+
name: Analyze
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
actions: read
|
|
17
|
+
contents: read
|
|
18
|
+
security-events: write
|
|
19
|
+
|
|
20
|
+
strategy:
|
|
21
|
+
fail-fast: false
|
|
22
|
+
matrix:
|
|
23
|
+
language: [ javascript ]
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout
|
|
27
|
+
uses: actions/checkout@v3
|
|
28
|
+
|
|
29
|
+
- name: Initialize CodeQL
|
|
30
|
+
uses: github/codeql-action/init@v2
|
|
31
|
+
with:
|
|
32
|
+
languages: ${{ matrix.language }}
|
|
33
|
+
queries: +security-and-quality
|
|
34
|
+
|
|
35
|
+
- name: Autobuild
|
|
36
|
+
uses: github/codeql-action/autobuild@v2
|
|
37
|
+
|
|
38
|
+
- name: Perform CodeQL Analysis
|
|
39
|
+
uses: github/codeql-action/analyze@v2
|
|
40
|
+
with:
|
|
41
|
+
category: "/language:${{ matrix.language }}"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,47 +1,85 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v11.35.1](https://github.com/auth0/lock/tree/v11.35.1) (2023-02-02)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.35.0...v11.35.1)
|
|
5
|
+
|
|
6
|
+
**Changed**
|
|
7
|
+
- FDR-487 - feat: update microsoft button [\#2261](https://github.com/auth0/lock/pull/2261) ([jamescgarrett](https://github.com/jamescgarrett))
|
|
8
|
+
|
|
9
|
+
## [v11.35.0](https://github.com/auth0/lock/tree/v11.35.0) (2022-12-19)
|
|
10
|
+
|
|
11
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.34.2...v11.35.0)
|
|
12
|
+
|
|
13
|
+
**Added**
|
|
14
|
+
|
|
15
|
+
- Support captcha for Passwordless [\#2222](https://github.com/auth0/lock/pull/2222) ([robinbijlani](https://github.com/robinbijlani))
|
|
16
|
+
|
|
17
|
+
**Changed**
|
|
18
|
+
|
|
19
|
+
- Bump dependencies to latest patch and fix typos [\#2210](https://github.com/auth0/lock/pull/2210) ([piwysocki](https://github.com/piwysocki))
|
|
20
|
+
- Add CodeQL workflow for GitHub code scanning [\#2197](https://github.com/auth0/lock/pull/2197) ([lgtm-com[bot]](https://github.com/apps/lgtm-com))
|
|
21
|
+
- Use lts-browsers docker image for Circle build [\#2204](https://github.com/auth0/lock/pull/2204) ([piwysocki](https://github.com/piwysocki))
|
|
22
|
+
- homepage added to package.json [\#2208](https://github.com/auth0/lock/pull/2208) ([piwysocki](https://github.com/piwysocki))
|
|
23
|
+
- Remove FAQ reference from README [\#2203](https://github.com/auth0/lock/pull/2203) ([frederikprijck](https://github.com/frederikprijck))
|
|
24
|
+
- Update okta logo [\#2201](https://github.com/auth0/lock/pull/2201) ([jamescgarrett](https://github.com/jamescgarrett))
|
|
25
|
+
- Update readme to match new design [\#2187](https://github.com/auth0/lock/pull/2187) ([ewanharris](https://github.com/ewanharris))
|
|
26
|
+
|
|
3
27
|
## [v11.34.2](https://github.com/auth0/lock/tree/v11.34.2) (2022-10-10)
|
|
28
|
+
|
|
4
29
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.34.1...v11.34.2)
|
|
5
30
|
|
|
6
31
|
**Fixed**
|
|
32
|
+
|
|
7
33
|
- [SDK-3657] Render sign up confirmation before sign in [\#2180](https://github.com/auth0/lock/pull/2180) ([ewanharris](https://github.com/ewanharris))
|
|
8
34
|
|
|
9
35
|
## [v11.34.1](https://github.com/auth0/lock/tree/v11.34.1) (2022-09-29)
|
|
36
|
+
|
|
10
37
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.34.0...v11.34.1)
|
|
11
38
|
|
|
12
39
|
**Fixed**
|
|
40
|
+
|
|
13
41
|
- [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))
|
|
14
42
|
|
|
15
43
|
**Security**
|
|
44
|
+
|
|
16
45
|
- [ESD-22866] Disable spellcheck and autocorrect on all sensitive input fields [\#2178](https://github.com/auth0/lock/pull/2178) ([ewanharris](https://github.com/ewanharris))
|
|
17
46
|
|
|
18
47
|
## [v11.34.0](https://github.com/auth0/lock/tree/v11.34.0) (2022-09-14)
|
|
48
|
+
|
|
19
49
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.3...v11.34.0)
|
|
20
50
|
|
|
21
51
|
**Added**
|
|
52
|
+
|
|
22
53
|
- FDR-297: Adding okta for enterprise [\#2172](https://github.com/auth0/lock/pull/2172) ([jamescgarrett](https://github.com/jamescgarrett))
|
|
23
54
|
|
|
24
55
|
## [v11.33.3](https://github.com/auth0/lock/tree/v11.33.3) (2022-08-16)
|
|
56
|
+
|
|
25
57
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.2...v11.33.3)
|
|
26
58
|
|
|
27
59
|
**Added**
|
|
60
|
+
|
|
28
61
|
- IAMRISK-1725 Add password_leaked error label for Signup [\#2160](https://github.com/auth0/lock/pull/2160) ([robinbijlani](https://github.com/robinbijlani))
|
|
29
62
|
|
|
30
63
|
## [v11.33.2](https://github.com/auth0/lock/tree/v11.33.2) (2022-06-29)
|
|
64
|
+
|
|
31
65
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.1...v11.33.2)
|
|
32
66
|
|
|
33
67
|
**Changed**
|
|
68
|
+
|
|
34
69
|
- Bump qs from 6.10.5 to 6.11.0 [\#2147](https://github.com/auth0/lock/pull/2147) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
35
70
|
- Bump shell-quote from 1.7.2 to 1.7.3 [\#2145](https://github.com/auth0/lock/pull/2145) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
36
71
|
- Bump prettier from 2.7.0 to 2.7.1 [\#2144](https://github.com/auth0/lock/pull/2144) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
37
72
|
|
|
38
73
|
## [v11.33.1](https://github.com/auth0/lock/tree/v11.33.1) (2022-06-14)
|
|
74
|
+
|
|
39
75
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.0...v11.33.1)
|
|
40
76
|
|
|
41
77
|
**Fixed**
|
|
78
|
+
|
|
42
79
|
- Move captcha pane below additional signup fields in UI [\#2135](https://github.com/auth0/lock/pull/2135) ([stevehobbsdev](https://github.com/stevehobbsdev))
|
|
43
80
|
|
|
44
81
|
**Security**
|
|
82
|
+
|
|
45
83
|
- [Snyk] Upgrade dompurify from 2.3.6 to 2.3.7 [\#2132](https://github.com/auth0/lock/pull/2132) ([snyk-bot](https://github.com/snyk-bot))
|
|
46
84
|
|
|
47
85
|
## [v11.33.0](https://github.com/auth0/lock/tree/v11.33.0) (2022-05-05)
|