auth0-lock 11.33.0 → 11.33.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 +3 -3
- package/.github/dependabot.yml +9 -0
- package/.github/workflows/semgrep.yml +25 -0
- package/CHANGELOG.md +9 -0
- package/README.md +2 -2
- package/lib/core/web_api/helper.js +1 -1
- package/lib/engine/classic/sign_up_pane.js +2 -2
- package/lib/i18n.js +1 -1
- package/lib/lock.js +1 -1
- package/lib/passwordless.js +1 -1
- package/package.json +6 -6
package/.circleci/config.yml
CHANGED
|
@@ -4,7 +4,7 @@ orbs:
|
|
|
4
4
|
executors:
|
|
5
5
|
docker-executor:
|
|
6
6
|
docker:
|
|
7
|
-
- image:
|
|
7
|
+
- image: cimg/node:14.19-browsers
|
|
8
8
|
jobs:
|
|
9
9
|
build-and-test:
|
|
10
10
|
executor: docker-executor
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
- checkout
|
|
15
15
|
- run:
|
|
16
16
|
name: Update Yarn
|
|
17
|
-
command: '
|
|
17
|
+
command: 'npm update -g yarn'
|
|
18
18
|
- restore_cache:
|
|
19
19
|
name: Restore Yarn Package Cache
|
|
20
20
|
key: yarn-packages-{{ checksum "yarn.lock" }}
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
49
49
|
- checkout
|
|
50
50
|
- run:
|
|
51
51
|
name: Update Yarn
|
|
52
|
-
command: '
|
|
52
|
+
command: 'npm update -g yarn'
|
|
53
53
|
- restore_cache:
|
|
54
54
|
name: Restore Yarn Package Cache
|
|
55
55
|
key: yarn-packages-{{ checksum "yarn.lock" }}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Semgrep
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request: {}
|
|
5
|
+
|
|
6
|
+
push:
|
|
7
|
+
branches: ["master", "main"]
|
|
8
|
+
|
|
9
|
+
schedule:
|
|
10
|
+
- cron: '30 0 1,15 * *'
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
semgrep:
|
|
14
|
+
name: Scan
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
container:
|
|
17
|
+
image: returntocorp/semgrep
|
|
18
|
+
# Skip any PR created by dependabot to avoid permission issues
|
|
19
|
+
if: (github.actor != 'dependabot[bot]')
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v3
|
|
22
|
+
|
|
23
|
+
- run: semgrep ci
|
|
24
|
+
env:
|
|
25
|
+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v11.33.1](https://github.com/auth0/lock/tree/v11.33.1) (2022-06-14)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.0...v11.33.1)
|
|
5
|
+
|
|
6
|
+
**Fixed**
|
|
7
|
+
- Move captcha pane below additional signup fields in UI [\#2135](https://github.com/auth0/lock/pull/2135) ([stevehobbsdev](https://github.com/stevehobbsdev))
|
|
8
|
+
|
|
9
|
+
**Security**
|
|
10
|
+
- [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))
|
|
11
|
+
|
|
3
12
|
## [v11.33.0](https://github.com/auth0/lock/tree/v11.33.0) (2022-05-05)
|
|
4
13
|
|
|
5
14
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.32.2...v11.33.0)
|
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.33.
|
|
28
|
+
<script src="https://cdn.auth0.com/js/lock/11.33.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.33.
|
|
493
|
+
:warning: **Note**: From `11.33.1` onwards, all HTML tags are stripped from user input into custom signup fields.
|
|
494
494
|
|
|
495
495
|
##### Text field
|
|
496
496
|
|
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.33.
|
|
128
|
+
url: l.languageBaseUrl(m) + '/js/lock/' + '11.33.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.33.
|
|
45
|
+
Auth0Lock.version = '11.33.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth0-lock",
|
|
3
|
-
"version": "11.33.
|
|
3
|
+
"version": "11.33.1",
|
|
4
4
|
"description": "Auth0 Lock",
|
|
5
5
|
"author": "Auth0 <support@auth0.com> (http://auth0.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"bump-version": "^0.5.0",
|
|
57
57
|
"chalk": "^4.1.2",
|
|
58
58
|
"cross-env": "^7.0.3",
|
|
59
|
-
"css-loader": "^0.
|
|
59
|
+
"css-loader": "^0.28.11",
|
|
60
60
|
"emojic": "^1.1.15",
|
|
61
61
|
"enzyme": "^3.1.0",
|
|
62
62
|
"enzyme-adapter-react-15": "^1.0.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"grunt-babel": "^6.0.0",
|
|
73
73
|
"grunt-cli": "^0.1.13",
|
|
74
74
|
"grunt-concurrent": "^2.3.1",
|
|
75
|
-
"grunt-contrib-clean": "^0.
|
|
75
|
+
"grunt-contrib-clean": "^0.7.0",
|
|
76
76
|
"grunt-env": "^0.4.4",
|
|
77
77
|
"grunt-exec": "^0.4.6",
|
|
78
78
|
"grunt-webpack": "^2.0.1",
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
"puppeteer": "^10.1.0",
|
|
94
94
|
"react-test-renderer": "^15.6.2",
|
|
95
95
|
"sinon": "^1.15.4",
|
|
96
|
-
"stylus": "^0.
|
|
96
|
+
"stylus": "^0.58.1",
|
|
97
97
|
"stylus-loader": "^2.3.1",
|
|
98
|
-
"tmp": "^0.1
|
|
98
|
+
"tmp": "^0.2.1",
|
|
99
99
|
"uglify-js": "^2.7.4",
|
|
100
100
|
"unminified-webpack-plugin": "^1.1.1",
|
|
101
101
|
"unreleased": "^0.1.0",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"auth0-password-policies": "^1.0.2",
|
|
110
110
|
"blueimp-md5": "^2.19.0",
|
|
111
111
|
"classnames": "^2.3.1",
|
|
112
|
-
"dompurify": "^2.3.
|
|
112
|
+
"dompurify": "^2.3.7",
|
|
113
113
|
"immutable": "^3.7.3",
|
|
114
114
|
"jsonp": "^0.2.1",
|
|
115
115
|
"node-fetch": "^2.6.7",
|