You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@okta/okta-auth-js

Package Overview
Dependencies
Maintainers
1
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@okta/okta-auth-js - npm Package Compare versions

Comparing version

to
6.4.2

6

CHANGELOG.md
# Changelog
## 6.4.2
### Fixes
- [#1180](https://github.com/okta/okta-auth-js/pull/1180) Fixes commonjs bundle `dynamic import` transpiling issue
## 6.4.1

@@ -4,0 +10,0 @@

25

cjs/crypto/node.js

@@ -7,2 +7,8 @@ "use strict";

var _promise = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/promise"));
var _weakMap = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/weak-map"));
var _getOwnPropertyDescriptor = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor"));
var _atob = _interopRequireDefault(require("atob"));

@@ -14,17 +20,6 @@

/*!
* Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and limitations under the License.
*/
function _getRequireWildcardCache(nodeInterop) { if (typeof _weakMap.default !== "function") return null; var cacheBabelInterop = new _weakMap.default(); var cacheNodeInterop = new _weakMap.default(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
/* global atob, btoa */
// Ponyfill for NodeJS
// Webpack config excludes this file
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && _getOwnPropertyDescriptor.default; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? (0, _getOwnPropertyDescriptor.default)(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
let a;

@@ -50,3 +45,3 @@ exports.atob = a;

try {
return await import('crypto');
return await _promise.default.resolve().then(() => _interopRequireWildcard(require('crypto')));
} catch (err) {

@@ -53,0 +48,0 @@ // this environment has no crypto module!

4

cjs/OktaUserAgent.js

@@ -24,3 +24,3 @@ "use strict";

// add base sdk env
this.environments = [`okta-auth-js/${"6.4.1"}`];
this.environments = [`okta-auth-js/${"6.4.2"}`];
}

@@ -40,3 +40,3 @@

getVersion() {
return "6.4.1";
return "6.4.2";
}

@@ -43,0 +43,0 @@

@@ -5,3 +5,3 @@ {

"description": "The Okta Auth SDK",
"version": "6.4.1",
"version": "6.4.2",
"homepage": "https://github.com/okta/okta-auth-js",

@@ -191,6 +191,6 @@ "license": "Apache-2.0",

"okta": {
"commitSha": "38f27304c795b6eb5e434915df7484e95e50094a",
"fullVersion": "6.4.1-g38f2730",
"testedSha": "d13b08bbe4f80b2009f48f2d1b1fcb4d64fc2450"
"commitSha": "df5296fe5935b093118455de1856279ea0aa4790",
"fullVersion": "6.4.2-gdf5296f",
"testedSha": "8b2980f93ad144dc81ba8c9866ed380a86396544"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet