Socket
Socket
Sign inDemoInstall

oidc-client

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-client - npm Package Compare versions

Comparing version 1.7.0-beta.1 to 1.7.0

3

index.d.ts

@@ -254,3 +254,3 @@ /* Provides a namespace for when the library is loaded outside a module loader environment */

export interface SigninResponse {
new (url: string, delimiter: string = '#'): SigninResponse;
new (url: string, delimiter?: string): SigninResponse;

@@ -262,3 +262,2 @@ access_token: string;

error_uri: string;
expires_in: number;
id_token: string;

@@ -265,0 +264,0 @@ profile: any;

{
"name": "oidc-client",
"version": "1.7.0-beta.1",
"version": "1.7.0",
"description": "OpenID Connect (OIDC) & OAuth2 client library",

@@ -40,4 +40,4 @@ "main": "lib/oidc-client.min.js",

"babel-register": "^6.7.2",
"chai": "^4.1.2",
"express": "^4.13.4",
"chai": "^4.2.0",
"express": "^4.16.4",
"gulp": "^3.9.1",

@@ -48,7 +48,6 @@ "gulp-concat": "^2.6.1",

"open": "0.0.5",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.0",
"webpack-stream": "^4.0.3"
},
"dependencies": {
"uglifyjs-webpack-plugin": "^1.3.0",
"uuid": "^3.3.2",
"webpack": "^4.29.3",
"webpack-stream": "^4.0.3",
"jsrsasign": "^8.0.12"

@@ -55,0 +54,0 @@ },

@@ -1,45 +0,9 @@

// NOTICE: the code in this file originally developed by Microsoft
// original source: https://github.com/AzureAD/azure-activedirectory-library-for-js/blob/master/lib/adal.js#L1029
//----------------------------------------------------------------------
// AdalJS v1.0.8
// @preserve Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with 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.
//----------------------------------------------------------------------
var uuid4 = require('uuid/v4')
/**
* Generates RFC4122 version 4 guid ()
*/
export default function random() {
var guidHolder = 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx';
var hex = '0123456789abcdef';
var r = 0;
var guidResponse = "";
for (var i = 0; i < guidHolder.length; i++) {
if (guidHolder[i] !== '-' && guidHolder[i] !== '4') {
// each x and y needs to be random
r = Math.random() * 16 | 0;
}
if (guidHolder[i] === 'x') {
guidResponse += hex[r];
} else if (guidHolder[i] === 'y') {
// clock-seq-and-reserved first hex is filtered and remaining hex values are random
r &= 0x3; // bit and with 0011 to set pos 2 to zero ?0??
r |= 0x8; // set pos 3 to 1 as 1???
guidResponse += hex[r];
} else {
guidResponse += guidHolder[i];
}
}
return guidResponse;
}
return uuid4().replace(/-/g, '');
}

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 too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc