auth0-lock 11.30.5 → 11.32.0

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.
Files changed (39) hide show
  1. package/.circleci/config.yml +11 -7
  2. package/.eslintrc.json +9 -2
  3. package/.prettierignore +1 -0
  4. package/.prettierrc.yaml +5 -0
  5. package/.shiprc +2 -1
  6. package/CHANGELOG.md +389 -210
  7. package/README.md +162 -140
  8. package/karma.conf.js +4 -10
  9. package/lib/__tests__/connection/database/login_pane.js +93 -0
  10. package/lib/__tests__/connection/database/reset_password.js +82 -4
  11. package/lib/__tests__/connection/enterprise/actions.js +25 -2
  12. package/lib/__tests__/engine/classic/login.js +0 -2
  13. package/lib/__tests__/engine/classic/sign_up_pane.js +67 -2
  14. package/lib/__tests__/testUtils.js +17 -1
  15. package/lib/__tests__/ui/box/chrome.js +18 -2
  16. package/lib/__tests__/ui/input/password_input.js +4 -1
  17. package/lib/browser.js +12 -10
  18. package/lib/connection/captcha.js +94 -0
  19. package/lib/connection/database/actions.js +11 -69
  20. package/lib/connection/database/login_pane.js +11 -2
  21. package/lib/connection/database/reset_password.js +15 -0
  22. package/lib/connection/enterprise/actions.js +10 -0
  23. package/lib/core/index.js +5 -1
  24. package/lib/core/web_api/helper.js +1 -1
  25. package/lib/core.js +1 -1
  26. package/lib/engine/classic/login.js +2 -2
  27. package/lib/engine/classic/sign_up_pane.js +8 -3
  28. package/lib/field/captcha/captcha_pane.js +0 -4
  29. package/lib/i18n.js +7 -5
  30. package/lib/lock.js +1 -1
  31. package/lib/passwordless.js +1 -1
  32. package/lib/ui/box/chrome.js +20 -5
  33. package/lib/ui/box/container.js +2 -2
  34. package/lib/ui/box/header.js +5 -0
  35. package/lib/ui/input/password_input.js +1 -0
  36. package/lib/utils/cdn_utils.js +1 -1
  37. package/package.json +20 -23
  38. package/local.log +0 -8
  39. package/yarn-error.log +0 -11514
@@ -12,7 +12,7 @@ jobs:
12
12
  LANG: en_US.UTF-8
13
13
  steps:
14
14
  - checkout
15
- - run:
15
+ - run:
16
16
  name: Update Yarn
17
17
  command: 'sudo npm update -g yarn'
18
18
  - restore_cache:
@@ -26,10 +26,16 @@ jobs:
26
26
  key: yarn-packages-{{ checksum "yarn.lock" }}
27
27
  paths:
28
28
  - ~/.cache/yarn
29
- - run:
29
+ - run:
30
30
  name: Build
31
31
  command: yarn build
32
- - run:
32
+ - run:
33
+ name: ES5 compatibility check
34
+ command: yarn test:es-check
35
+ - run:
36
+ name: Validate language files
37
+ command: yarn i18n:validate
38
+ - run:
33
39
  name: Unit Tests
34
40
  command: yarn test
35
41
  - store_artifacts:
@@ -41,7 +47,7 @@ jobs:
41
47
  LANG: en_US.UTF-8
42
48
  steps:
43
49
  - checkout
44
- - run:
50
+ - run:
45
51
  name: Update Yarn
46
52
  command: 'sudo npm update -g yarn'
47
53
  - restore_cache:
@@ -55,7 +61,7 @@ jobs:
55
61
  key: yarn-packages-{{ checksum "yarn.lock" }}
56
62
  paths:
57
63
  - ~/.cache/yarn
58
- - run:
64
+ - run:
59
65
  name: Build
60
66
  command: yarn build
61
67
  - run:
@@ -73,8 +79,6 @@ workflows:
73
79
  - browserstack-env
74
80
  - ship/node-publish:
75
81
  pkg-manager: yarn
76
- requires:
77
- - browserstack
78
82
  context:
79
83
  - publish-npm
80
84
  - publish-gh
package/.eslintrc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": ["plugin:react/recommended", "prettier", "prettier/react"],
2
+ "extends": ["plugin:react/recommended", "prettier"],
3
3
  "env": {
4
4
  "browser": true,
5
5
  "es6": true
@@ -11,5 +11,12 @@
11
11
  "react/no-find-dom-node": 1,
12
12
  "react/no-string-refs": 1,
13
13
  "react/no-danger": 2
14
- }
14
+ },
15
+ "plugins": ["react"],
16
+ "settings": {
17
+ "react": {
18
+ "version": "detect"
19
+ }
20
+ },
21
+ "ignorePatterns": ["build/"]
15
22
  }
@@ -0,0 +1 @@
1
+ build/
@@ -0,0 +1,5 @@
1
+ printWidth: 100
2
+ singleQuote: true
3
+ trailingComma: none
4
+ arrowParens: avoid
5
+ endOfLine: auto
package/.shiprc CHANGED
@@ -2,5 +2,6 @@
2
2
  "files": {
3
3
  "bower.json": [],
4
4
  "README.md": []
5
- }
5
+ },
6
+ "postbump": "yarn dist build"
6
7
  }