auth0-lock 13.0.0 → 14.0.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.
- package/.github/workflows/test.yml +3 -2
- package/.version +1 -1
- package/CHANGELOG.md +10 -0
- package/README.md +2 -2
- package/karma.conf.js +5 -1
- package/lib/__tests__/auth_button.js +5 -5
- package/lib/__tests__/connection/database/actions.js +2 -3
- package/lib/__tests__/connection/database/index.js +1 -2
- package/lib/__tests__/connection/database/login_pane.js +9 -9
- package/lib/__tests__/connection/database/password_reset_confirmation.js +6 -6
- package/lib/__tests__/connection/database/reset_password.js +3 -3
- package/lib/__tests__/connection/database/signed_up_confirmation.js +6 -6
- package/lib/__tests__/connection/enterprise/actions.js +2 -3
- package/lib/__tests__/connection/enterprise/hrd_pane.js +4 -5
- package/lib/__tests__/connection/enterprise/hrd_screen.js +4 -5
- package/lib/__tests__/connection/enterprise/quick_auth_screen.js +10 -10
- package/lib/__tests__/connection/passwordless/ask_vcode.js +4 -5
- package/lib/__tests__/connection/passwordless/email_sent_confirmation.js +6 -6
- package/lib/__tests__/connection/passwordless/passwordless.js +7 -7
- package/lib/__tests__/core/actions.js +3 -4
- package/lib/__tests__/core/client/index.js +1 -1
- package/lib/__tests__/core/index.js +5 -5
- package/lib/__tests__/core/remote_data.js +5 -6
- package/lib/__tests__/core/signed_in_confirmation.js +6 -6
- package/lib/__tests__/core/sso/last_login_screen.js +11 -11
- package/lib/__tests__/core/tenant.js +1 -1
- package/lib/__tests__/core/web_api.js +2 -2
- package/lib/__tests__/engine/classic/login.js +9 -9
- package/lib/__tests__/engine/classic/mfa_login_screen.js +2 -2
- package/lib/__tests__/engine/classic/sign_up_pane.js +11 -11
- package/lib/__tests__/engine/classic/sign_up_screen.js +8 -8
- package/lib/__tests__/engine/classic.js +1 -1
- package/lib/__tests__/engine/passwordless/social_or_email_login_screen.js +3 -3
- package/lib/__tests__/engine/passwordless/social_or_phone_number_login_screen.js +3 -3
- package/lib/__tests__/field/captcha/arkose.js +6 -6
- package/lib/__tests__/field/captcha/auth0_v2.js +6 -6
- package/lib/__tests__/field/captcha/friendlyCaptcha.js +6 -6
- package/lib/__tests__/field/captcha/hcaptcha.js +6 -6
- package/lib/__tests__/field/captcha/recaptcha_enterprise.js +6 -6
- package/lib/__tests__/field/captcha/recaptchav2.js +6 -6
- package/lib/__tests__/field/captcha/third_party_captcha.js +12 -13
- package/lib/__tests__/field/captcha.js +8 -8
- package/lib/__tests__/field/custom_input.js +13 -13
- package/lib/__tests__/field/email_pane.js +8 -8
- package/lib/__tests__/field/field.js +2 -2
- package/lib/__tests__/field/login_pane.js +12 -12
- package/lib/__tests__/field/mfa_code_pane.js +4 -4
- package/lib/__tests__/field/option_selection_pane.js +4 -4
- package/lib/__tests__/field/password.js +1 -1
- package/lib/__tests__/field/password_pane.js +12 -12
- package/lib/__tests__/field/phone_number_pane.js +8 -8
- package/lib/__tests__/field/social_buttons_pane.js +8 -8
- package/lib/__tests__/field/username.js +1 -1
- package/lib/__tests__/field/username_pane.js +10 -10
- package/lib/__tests__/field/vcode.js +1 -1
- package/lib/__tests__/field/vcode_pane.js +9 -9
- package/lib/__tests__/i18n.js +2 -3
- package/lib/__tests__/setup-tests.js +1 -1
- package/lib/__tests__/testUtils.js +4 -4
- package/lib/__tests__/ui/box/chrome.js +8 -8
- package/lib/__tests__/ui/box/confirmation_pane.js +6 -6
- package/lib/__tests__/ui/box/container.js +2 -2
- package/lib/__tests__/ui/box/global_message.js +10 -10
- package/lib/__tests__/ui/input/email_input.js +2 -2
- package/lib/__tests__/ui/input/input_wrap.js +2 -2
- package/lib/__tests__/ui/input/password/password_strength.js +2 -2
- package/lib/__tests__/ui/input/password_input.js +5 -5
- package/lib/__tests__/utils/format.js +1 -1
- package/lib/avatar/gravatar_provider.js +1 -1
- package/lib/avatar.js +1 -2
- package/lib/browser.js +1 -2
- package/lib/connection/captcha.js +2 -3
- package/lib/connection/database/actions.js +4 -5
- package/lib/connection/database/index.js +2 -3
- package/lib/connection/database/login_pane.js +11 -12
- package/lib/connection/database/login_sign_up_tabs.js +11 -12
- package/lib/connection/database/mfa_pane.js +9 -9
- package/lib/connection/database/password_reset_confirmation.js +10 -11
- package/lib/connection/database/reset_password.js +10 -11
- package/lib/connection/database/reset_password_pane.js +11 -12
- package/lib/connection/database/sign_up_terms.js +1 -1
- package/lib/connection/database/signed_up_confirmation.js +10 -11
- package/lib/connection/enterprise/actions.js +2 -3
- package/lib/connection/enterprise/hrd_pane.js +10 -11
- package/lib/connection/enterprise/hrd_screen.js +10 -11
- package/lib/connection/enterprise/kerberos_screen.js +10 -11
- package/lib/connection/enterprise/quick_auth_screen.js +10 -11
- package/lib/connection/enterprise/single_sign_on_notice.js +1 -1
- package/lib/connection/enterprise.js +6 -7
- package/lib/connection/passwordless/actions.js +3 -4
- package/lib/connection/passwordless/ask_vcode.js +9 -9
- package/lib/connection/passwordless/email_sent_confirmation.js +11 -12
- package/lib/connection/passwordless/index.js +2 -3
- package/lib/connection/social/index.js +2 -2
- package/lib/core/actions.js +3 -4
- package/lib/core/client/index.js +8 -9
- package/lib/core/client/settings.js +2 -3
- package/lib/core/error_screen.js +10 -11
- package/lib/core/index.js +3 -4
- package/lib/core/loading_screen.js +10 -11
- package/lib/core/pane_separator.js +1 -1
- package/lib/core/remote_data.js +2 -3
- package/lib/core/screen.js +4 -5
- package/lib/core/signed_in_confirmation.js +10 -11
- package/lib/core/sso/data.js +1 -1
- package/lib/core/sso/last_login_screen.js +10 -11
- package/lib/core/tenant/index.js +8 -9
- package/lib/core/tenant/settings.js +1 -2
- package/lib/core/web_api/helper.js +5 -5
- package/lib/core/web_api/p2_api.js +5 -5
- package/lib/core/web_api.js +4 -4
- package/lib/core.js +11 -12
- package/lib/engine/classic/login.js +10 -11
- package/lib/engine/classic/mfa_login_screen.js +10 -11
- package/lib/engine/classic/sign_up_pane.js +10 -11
- package/lib/engine/classic/sign_up_screen.js +10 -11
- package/lib/engine/classic.js +6 -7
- package/lib/engine/passwordless/social_or_email_login_screen.js +10 -11
- package/lib/engine/passwordless/social_or_phone_number_login_screen.js +10 -11
- package/lib/engine/passwordless.js +5 -6
- package/lib/field/captcha/captcha_pane.js +10 -11
- package/lib/field/captcha/third_party_captcha.js +10 -10
- package/lib/field/custom_input.js +3 -4
- package/lib/field/email/email_pane.js +10 -11
- package/lib/field/email.js +2 -3
- package/lib/field/index.js +2 -3
- package/lib/field/mfa-code/mfa_code_pane.js +10 -11
- package/lib/field/mfa_code.js +1 -1
- package/lib/field/option_selection_pane.js +1 -1
- package/lib/field/password/password_pane.js +11 -12
- package/lib/field/password.js +1 -1
- package/lib/field/phone-number/phone_number_pane.js +10 -11
- package/lib/field/phone_number.js +1 -1
- package/lib/field/social/event.js +1 -2
- package/lib/field/social/social_buttons_pane.js +10 -11
- package/lib/field/username/username_pane.js +10 -11
- package/lib/field/username.js +1 -1
- package/lib/field/vcode/vcode_pane.js +11 -12
- package/lib/i18n.js +5 -6
- package/lib/index.js +1 -1
- package/lib/lock.js +11 -12
- package/lib/passwordless.js +11 -12
- package/lib/quick-auth/actions.js +2 -3
- package/lib/sanitizer.js +3 -2
- package/lib/store/index.js +1 -1
- package/lib/sync.js +6 -7
- package/lib/ui/box/button.js +1 -1
- package/lib/ui/box/chrome.js +13 -14
- package/lib/ui/box/confirmation_pane.js +2 -3
- package/lib/ui/box/container.js +10 -11
- package/lib/ui/box/global_message.js +9 -9
- package/lib/ui/box/header.js +10 -10
- package/lib/ui/box/multisize_slide.js +11 -11
- package/lib/ui/box/success_pane.js +2 -2
- package/lib/ui/box.js +6 -6
- package/lib/ui/button/auth_button.js +1 -1
- package/lib/ui/input/captcha_input.js +13 -13
- package/lib/ui/input/checkbox_input.js +9 -9
- package/lib/ui/input/email_input.js +12 -12
- package/lib/ui/input/input_wrap.js +9 -9
- package/lib/ui/input/location_input.js +9 -9
- package/lib/ui/input/mfa_code_input.js +13 -13
- package/lib/ui/input/password/password_strength.js +18 -18
- package/lib/ui/input/password_input.js +14 -15
- package/lib/ui/input/phone_number_input.js +12 -12
- package/lib/ui/input/select_input.js +9 -9
- package/lib/ui/input/text_input.js +12 -12
- package/lib/ui/input/username_input.js +12 -12
- package/lib/ui/input/vcode_input.js +12 -12
- package/lib/ui/list.js +12 -13
- package/lib/ui/pane/quick_auth_pane.js +1 -1
- package/lib/utils/atom.js +3 -3
- package/lib/utils/cache.js +8 -8
- package/lib/utils/cdn_utils.js +1 -1
- package/lib/utils/createRef.js +3 -3
- package/lib/utils/jsonp_utils.js +4 -4
- package/package.json +10 -10
package/lib/ui/list.js
CHANGED
|
@@ -13,23 +13,22 @@ var _text_input = _interopRequireDefault(require("./input/text_input"));
|
|
|
13
13
|
var _media_utils = require("../utils/media_utils");
|
|
14
14
|
var su = _interopRequireWildcard(require("../utils/string_utils"));
|
|
15
15
|
var l = _interopRequireWildcard(require("../core/index"));
|
|
16
|
-
function
|
|
17
|
-
function
|
|
18
|
-
function
|
|
19
|
-
function
|
|
20
|
-
function
|
|
21
|
-
function
|
|
22
|
-
function
|
|
23
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
19
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
20
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
21
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
22
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
24
23
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
25
24
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26
25
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
27
|
-
function _possibleConstructorReturn(
|
|
28
|
-
function _assertThisInitialized(
|
|
26
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
27
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
29
28
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
30
|
-
function _getPrototypeOf(
|
|
31
|
-
function _inherits(
|
|
32
|
-
function _setPrototypeOf(
|
|
29
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
30
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
31
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
33
32
|
var cycle = function cycle(xs, x) {
|
|
34
33
|
return xs.skipWhile(function (y) {
|
|
35
34
|
return y !== x;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _auth_button = _interopRequireDefault(require("../button/auth_button"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
var QuickAuthPane = function QuickAuthPane(props) {
|
|
12
12
|
var alternativeLabel = props.alternativeLabel,
|
|
13
13
|
alternativeClickHandler = props.alternativeClickHandler,
|
package/lib/utils/atom.js
CHANGED
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = atom;
|
|
7
7
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
8
|
-
function _classCallCheck(
|
|
9
|
-
function _defineProperties(
|
|
10
|
-
function _createClass(
|
|
8
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
9
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
10
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
11
11
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
12
12
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
13
|
var Atom = /*#__PURE__*/function () {
|
package/lib/utils/cache.js
CHANGED
|
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
8
|
-
function _toConsumableArray(
|
|
8
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
9
9
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
10
|
-
function _unsupportedIterableToArray(
|
|
11
|
-
function _iterableToArray(
|
|
12
|
-
function _arrayWithoutHoles(
|
|
13
|
-
function _arrayLikeToArray(
|
|
14
|
-
function _classCallCheck(
|
|
15
|
-
function _defineProperties(
|
|
16
|
-
function _createClass(
|
|
10
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
11
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
12
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
19
|
var Cache = exports.default = /*#__PURE__*/function () {
|
package/lib/utils/cdn_utils.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.load = load;
|
|
7
7
|
exports.preload = preload;
|
|
8
8
|
var _auth0Js = _interopRequireDefault(require("auth0-js"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
if (typeof window !== 'undefined' && !window.Auth0) {
|
|
11
11
|
window.Auth0 = {};
|
|
12
12
|
}
|
package/lib/utils/createRef.js
CHANGED
package/lib/utils/jsonp_utils.js
CHANGED
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _jsonp = _interopRequireDefault(require("jsonp"));
|
|
8
|
-
function _interopRequireDefault(
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
-
function _classCallCheck(
|
|
11
|
-
function _defineProperties(
|
|
12
|
-
function _createClass(
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
15
|
var JSONPUtils = /*#__PURE__*/function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth0-lock",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Auth0 Lock",
|
|
5
5
|
"author": "Auth0 <support@auth0.com> (http://auth0.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"dist": "grunt dist",
|
|
29
29
|
"prepublish": "cross-env BABEL_ENV=npm grunt dist",
|
|
30
30
|
"lint": "eslint --ext .jsx,.js src/",
|
|
31
|
-
"test:e2e": "cross-env BABEL_ENV=test karma start
|
|
31
|
+
"test:e2e": "cross-env BABEL_ENV=test karma start",
|
|
32
32
|
"test:e2e:watch": "cross-env BABEL_ENV=test karma start --browsers Chrome --single-run=false",
|
|
33
33
|
"test:e2e:browserstack": "cross-env BABEL_ENV=test karma start",
|
|
34
34
|
"test": "jest --coverage --runInBand",
|
|
35
35
|
"test:watch": "jest --watch --coverage",
|
|
36
|
-
"test:es-check": "es-check
|
|
36
|
+
"test:es-check": "es-check es2017 'build/*.js'",
|
|
37
37
|
"publish:cdn": "ccu --trace",
|
|
38
38
|
"i18n:translate": "grunt dist && node scripts/complete-translations.js && npm run i18n:prettier && npm run build",
|
|
39
39
|
"i18n:prettier": "prettier --write src/i18n/*",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
|
|
65
65
|
"@google-cloud/translate": "^6.0.2",
|
|
66
66
|
"babel-jest": "^29.3.1",
|
|
67
|
-
"babel-loader": "8.
|
|
67
|
+
"babel-loader": "8.4.1",
|
|
68
68
|
"babel-plugin-stylus-compiler": "^1.4.0",
|
|
69
69
|
"babel-plugin-transform-css-import-to-string": "0.0.2",
|
|
70
70
|
"babel-plugin-version-inline": "^1.0.0",
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"glob": "^7.1.7",
|
|
88
88
|
"grunt": "^1.3.0",
|
|
89
89
|
"grunt-babel": "^8.0.0",
|
|
90
|
-
"grunt-cli": "^
|
|
90
|
+
"grunt-cli": "^1.5.0",
|
|
91
91
|
"grunt-concurrent": "^2.3.1",
|
|
92
92
|
"grunt-contrib-clean": "^0.7.0",
|
|
93
|
-
"grunt-env": "^0.
|
|
93
|
+
"grunt-env": "^1.0.1",
|
|
94
94
|
"grunt-exec": "^0.4.6",
|
|
95
95
|
"grunt-webpack": "^5.0.0",
|
|
96
96
|
"husky": "^7.0.2",
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
"karma-mocha": "^2.0.1",
|
|
106
106
|
"karma-mocha-reporter": "^2.2.5",
|
|
107
107
|
"lint-staged": "^13.2.3",
|
|
108
|
-
"mocha": "^
|
|
108
|
+
"mocha": "^11.5.0",
|
|
109
109
|
"node-es-module-loader": "^0.3.8",
|
|
110
110
|
"prettier": "^2.4.1",
|
|
111
|
-
"puppeteer": "^
|
|
111
|
+
"puppeteer": "^24.9.0",
|
|
112
112
|
"react-test-renderer": "^18.2.0",
|
|
113
113
|
"sinon": "^1.15.4",
|
|
114
|
-
"stylus": "^0.
|
|
114
|
+
"stylus": "^0.64.0",
|
|
115
115
|
"stylus-loader": "^3.0.2",
|
|
116
116
|
"tmp": "^0.2.1",
|
|
117
117
|
"unminified-webpack-plugin": "^3.0.0",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"auth0-password-policies": "^1.0.2",
|
|
126
126
|
"blueimp-md5": "^2.19.0",
|
|
127
127
|
"classnames": "^2.3.2",
|
|
128
|
-
"dompurify": "^2.5
|
|
128
|
+
"dompurify": "^3.2.5",
|
|
129
129
|
"immutable": "^3.7.6",
|
|
130
130
|
"jsonp": "^0.2.1",
|
|
131
131
|
"password-sheriff": "^1.1.1",
|