Skip to content

Commit c22566e

Browse files
Release v9.23.3 (#1363)
1 parent a330175 commit c22566e

26 files changed

+136
-66
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [v9.23.3](https://github.com/auth0/auth0.js/tree/v9.23.3) (2023-11-13)
4+
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.2...v9.23.3)
5+
6+
**Security**
7+
- Bump idtoken-verifier from 2.2.2 to 2.2.4 [\#1362](https://github.com/auth0/auth0.js/pull/1362) ([cgetzen](https://github.com/cgetzen))
8+
39
## [v9.23.2](https://github.com/auth0/auth0.js/tree/v9.23.2) (2023-10-27)
410
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.1...v9.23.2)
511

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ From CDN:
2323

2424
```html
2525
<!-- Latest patch release -->
26-
<script src="https://cdn.auth0.com/js/auth0/9.23.2/auth0.min.js"></script>
26+
<script src="https://cdn.auth0.com/js/auth0/9.23.3/auth0.min.js"></script>
2727
```
2828

2929
From [npm](https://npmjs.org):

dist/auth0.js

+51-19
Large diffs are not rendered by default.

dist/auth0.min.esm.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.esm.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cordova-auth0-plugin.js

+47-15
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* auth0-js v9.23.2
2+
* auth0-js v9.23.3
33
* Author: Auth0
4-
* Date: 2023-10-27
4+
* Date: 2023-11-13
55
* License: MIT
66
*/
77

@@ -11,7 +11,7 @@
1111
(global = global || self, global.CordovaAuth0Plugin = factory());
1212
}(this, (function () { 'use strict';
1313

14-
var version = { raw: '9.23.2' };
14+
var version = { raw: '9.23.3' };
1515

1616
var toString = Object.prototype.toString;
1717

@@ -517,43 +517,75 @@
517517
/* eslint no-invalid-this: 1 */
518518

519519
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
520-
var slice = Array.prototype.slice;
521520
var toStr = Object.prototype.toString;
521+
var max = Math.max;
522522
var funcType = '[object Function]';
523523

524+
var concatty = function concatty(a, b) {
525+
var arr = [];
526+
527+
for (var i = 0; i < a.length; i += 1) {
528+
arr[i] = a[i];
529+
}
530+
for (var j = 0; j < b.length; j += 1) {
531+
arr[j + a.length] = b[j];
532+
}
533+
534+
return arr;
535+
};
536+
537+
var slicy = function slicy(arrLike, offset) {
538+
var arr = [];
539+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
540+
arr[j] = arrLike[i];
541+
}
542+
return arr;
543+
};
544+
545+
var joiny = function (arr, joiner) {
546+
var str = '';
547+
for (var i = 0; i < arr.length; i += 1) {
548+
str += arr[i];
549+
if (i + 1 < arr.length) {
550+
str += joiner;
551+
}
552+
}
553+
return str;
554+
};
555+
524556
var implementation = function bind(that) {
525557
var target = this;
526-
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
558+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
527559
throw new TypeError(ERROR_MESSAGE + target);
528560
}
529-
var args = slice.call(arguments, 1);
561+
var args = slicy(arguments, 1);
530562

531563
var bound;
532564
var binder = function () {
533565
if (this instanceof bound) {
534566
var result = target.apply(
535567
this,
536-
args.concat(slice.call(arguments))
568+
concatty(args, arguments)
537569
);
538570
if (Object(result) === result) {
539571
return result;
540572
}
541573
return this;
542-
} else {
543-
return target.apply(
544-
that,
545-
args.concat(slice.call(arguments))
546-
);
547574
}
575+
return target.apply(
576+
that,
577+
concatty(args, arguments)
578+
);
579+
548580
};
549581

550-
var boundLength = Math.max(0, target.length - args.length);
582+
var boundLength = max(0, target.length - args.length);
551583
var boundArgs = [];
552584
for (var i = 0; i < boundLength; i++) {
553-
boundArgs.push('$' + i);
585+
boundArgs[i] = '$' + i;
554586
}
555587

556-
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
588+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
557589

558590
if (target.prototype) {
559591
var Empty = function Empty() {};

dist/cordova-auth0-plugin.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cordova-auth0-plugin.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/Authentication.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4202,7 +4202,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
42024202
<br class="clear">
42034203

42044204
<footer>
4205-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
4205+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
42064206
</footer>
42074207

42084208
<script> prettyPrint(); </script>

docs/Management.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
12051205
<br class="clear">
12061206

12071207
<footer>
1208-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
1208+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
12091209
</footer>
12101210

12111211
<script> prettyPrint(); </script>

docs/Popup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
19951995
<br class="clear">
19961996

19971997
<footer>
1998-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
1998+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
19991999
</footer>
20002000

20012001
<script> prettyPrint(); </script>

docs/Redirect.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
791791
<br class="clear">
792792

793793
<footer>
794-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
794+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
795795
</footer>
796796

797797
<script> prettyPrint(); </script>

docs/WebAuth.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7284,7 +7284,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
72847284
<br class="clear">
72857285

72867286
<footer>
7287-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
7287+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
72887288
</footer>
72897289

72907290
<script> prettyPrint(); </script>

docs/authentication_index.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
696696
<br class="clear">
697697

698698
<footer>
699-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
699+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
700700
</footer>
701701

702702
<script> prettyPrint(); </script>

docs/authentication_passwordless-authentication.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
289289
<br class="clear">
290290

291291
<footer>
292-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
292+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
293293
</footer>
294294

295295
<script> prettyPrint(); </script>

docs/global.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
10811081
<br class="clear">
10821082

10831083
<footer>
1084-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
1084+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
10851085
</footer>
10861086

10871087
<script> prettyPrint(); </script>

docs/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1 class="page-title">Home</h1>
2626

2727

2828

29-
<h3>auth0-js 9.23.2</h3>
29+
<h3>auth0-js 9.23.3</h3>
3030

3131

3232

@@ -61,7 +61,7 @@ <h2>Getting started</h2>
6161
<h3>Installation</h3>
6262
<p>From CDN:</p>
6363
<pre class="prettyprint source lang-html"><code>&lt;!-- Latest patch release -->
64-
&lt;script src=&quot;https://cdn.auth0.com/js/auth0/9.23.2/auth0.min.js&quot;>&lt;/script>
64+
&lt;script src=&quot;https://cdn.auth0.com/js/auth0/9.23.3/auth0.min.js&quot;>&lt;/script>
6565
</code></pre>
6666
<p>From <a href="https://npmjs.org">npm</a>:</p>
6767
<pre class="prettyprint source lang-sh"><code>npm install auth0-js
@@ -167,7 +167,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
167167
<br class="clear">
168168

169169
<footer>
170-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
170+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
171171
</footer>
172172

173173
<script> prettyPrint(); </script>

docs/management_index.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
217217
<br class="clear">
218218

219219
<footer>
220-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
220+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
221221
</footer>
222222

223223
<script> prettyPrint(); </script>

docs/web-auth_index.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
12331233
<br class="clear">
12341234

12351235
<footer>
1236-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
1236+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
12371237
</footer>
12381238

12391239
<script> prettyPrint(); </script>

docs/web-auth_popup.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
374374
<br class="clear">
375375

376376
<footer>
377-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
377+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
378378
</footer>
379379

380380
<script> prettyPrint(); </script>

docs/web-auth_redirect.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
113113
<br class="clear">
114114

115115
<footer>
116-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Oct 27 2023 15:45:38 GMT+0200 (Central European Summer Time)
116+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Nov 13 2023 11:22:22 GMT+0100 (Central European Standard Time)
117117
</footer>
118118

119119
<script> prettyPrint(); </script>

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auth0-js",
3-
"version": "9.23.2",
3+
"version": "9.23.3",
44
"description": "Auth0 headless browser sdk",
55
"author": "Auth0",
66
"license": "MIT",

src/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = { raw: '9.23.2' };
1+
module.exports = { raw: '9.23.3' };

0 commit comments

Comments
 (0)