Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.5.1 to 1.5.2-beta.1

samples/Angular/App/.editorconfig

42

gulpfile.js

@@ -6,6 +6,4 @@ var gulp = require('gulp');

var createWebpackConfig = require('./webpack.base');
var UglifyJsPlugin = require('uglifyjs-webpack-plugin');
var Uglify = require('uglifyjs-webpack-plugin');
var uglifyPlugin = new Uglify();
// entry points for both configs

@@ -19,2 +17,3 @@ var npmEntry ='./index.js';

return gulp.src('index.js').pipe(webpackStream(createWebpackConfig({
mode: 'development',
entry: npmEntry,

@@ -27,3 +26,3 @@ output: {

devtool:'inline-source-map'
})))
}), webpack))
.pipe(gulp.dest('lib/'));

@@ -36,2 +35,3 @@ });

return gulp.src('index.js').pipe(webpackStream(createWebpackConfig({
mode: 'production',
entry: npmEntry,

@@ -42,5 +42,14 @@ output: {

},
plugins: [uglifyPlugin],
devtool: false
})))
plugins: [],
devtool: false,
optimization: {
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
keep_fnames: true
}
})
]
}
}), webpack))
.pipe(gulp.dest('lib/'));

@@ -53,2 +62,3 @@ });

return gulp.src('index.js').pipe(webpackStream(createWebpackConfig({
mode: 'development',
entry: classicEntry,

@@ -62,3 +72,3 @@ output: {

devtool:'inline-source-map'
})))
}), webpack))
.pipe(gulp.dest('dist/'));

@@ -71,2 +81,3 @@ });

return gulp.src('index.js').pipe(webpackStream(createWebpackConfig({
mode: 'production',
entry: classicEntry,

@@ -78,5 +89,14 @@ output: {

},
plugins: [uglifyPlugin],
devtool: false
})))
plugins: [],
devtool: false,
optimization: {
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
keep_fnames: true
}
})
]
}
}), webpack))
.pipe(gulp.dest('dist/'));

@@ -83,0 +103,0 @@ });

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

createSigninRequest(args?: any): Promise<SigninRequest>;
processSigninResponse(url: string, stateStore: StateStore): Promise<SigninResponse>;
processSigninResponse(url?: string, stateStore?: StateStore): Promise<SigninResponse>;
createSignoutRequest(args?: any): Promise<SignoutRequest>;
processSignoutResponse(url: string, stateStore: StateStore): Promise<SignoutResponse>;
processSignoutResponse(url?: string, stateStore?: StateStore): Promise<SignoutResponse>;

@@ -349,2 +349,20 @@ clearStaleState(stateStore: StateStore): Promise<any>;

code_challenge_methods_supported: string[];
}
}
export interface CheckSessionIFrame {
new (callback: () => void, client_id: string, url: string, interval?: number, stopOnError?: boolean): CheckSessionIFrame
load(): Promise<void>;
start(session_state: string): void;
stop(): void;
}
export interface CheckSessionIFrameCtor {
(callback: () => void, client_id: string, url: string, interval?: number, stopOnError?: boolean): CheckSessionIFrame;
}
export class SessionMonitor {
constructor(userManager: UserManager, CheckSessionIFrameCtor: CheckSessionIFrameCtor);
}
{
"name": "oidc-client",
"version": "1.5.1",
"version": "1.5.2-beta.1",
"description": "OpenID Connect (OIDC) & OAuth2 client library",

@@ -8,3 +8,3 @@ "main": "lib/oidc-client.min.js",

"build": "gulp build",
"start": "node sample/server.js",
"start": "node samples/VanillaJS/server.js",
"test": "mocha --compilers js:babel-register test/unit/*.spec.js",

@@ -47,3 +47,4 @@ "all": "gulp build & mocha --compilers js:babel-register test/unit/*.spec.js"

"open": "0.0.5",
"webpack": "^4.8.3",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.12.2",
"webpack-stream": "^4.0.3"

@@ -50,0 +51,0 @@ },

// create a webpack configuration with all common parts included here
var createWebpackConfig = function(options) {
return {
mode: options.mode,
entry: options.entry,

@@ -9,6 +10,6 @@ output: options.output,

fs: 'empty', // Because of jsrsasign usage of fs
buffer: 'empty',
buffer: 'empty'
},
module: {
loaders: [
rules: [
{

@@ -23,3 +24,4 @@ test: /.js$/,

// this is for the sourcemaps
devtool: options.devtool
devtool: options.devtool,
optimization: options.optimization
};

@@ -26,0 +28,0 @@ };

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