🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

oidc-jwt-client

Package Overview
Dependencies
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-jwt-client - npm Package Compare versions

Comparing version

to
4.0.16-develop.4

5

dist/cjs/store.js
'use strict';
var create = require('zustand');
var zustand = require('zustand');
var createContext = require('zustand/context');

@@ -11,7 +11,6 @@ var constants = require('./constants.js');

var create__default = /*#__PURE__*/_interopDefault(create);
var createContext__default = /*#__PURE__*/_interopDefault(createContext);
function createOidcJwtClientStore(client, removeTokenFromUrlFunction) {
return create__default.default(function (set) {
return zustand.create(function (set) {
var initialState = {

@@ -18,0 +17,0 @@ userInfo: storage.Storage.get(constants.USER_INFO_TOKEN_STORAGE_KEY),

2

dist/esm/store.js

@@ -1,2 +0,2 @@

import create from 'zustand';
import { create } from 'zustand';
import createContext from 'zustand/context';

@@ -3,0 +3,0 @@ import { USER_INFO_TOKEN_STORAGE_KEY, CSRF_TOKEN_STORAGE_KEY, LOGGED_IN_TOKEN_STORAGE_KEY, RETRY_LOGIN_STORAGE_KEY } from './constants.js';

import React from 'react';
import { OidcJwtProviderProps } from './types';
declare const OidcJwtProvider: React.FC<OidcJwtProviderProps>;
declare const OidcJwtProvider: React.FC<React.PropsWithChildren<OidcJwtProviderProps>>;
export { OidcJwtProvider };
{
"name": "oidc-jwt-client",
"version": "4.0.16-develop.3",
"version": "4.0.16-develop.4",
"description": "Fetch JWTs for API access from oidc-jwt-provider",

@@ -19,6 +19,9 @@ "sideEffects": false,

],
"prettier": "@elseu/sdu-react-scripts-prettier",
"scripts": {
"prepare": "node scripts/husky-install.js",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx",
"lint-fix": "eslint --fix src --ext .ts,.tsx,.js,.jsx",
"lint": "eslint",
"lint:all": "npm run lint -- './src/**/*.{j,t}s{,x}'",
"lint:fix": "npm run lint -- --fix",
"lint:fix-all": "npm run lint:all -- --fix",
"type-check": "tsc --noEmit",

@@ -32,4 +35,10 @@ "build:types": "tsc --project ./tsconfig.json -d --emitDeclarationOnly --noEmit false --outDir dist/types --declarationDir dist/types",

},
"overrides": {
"@mdx-js/react": "$@mdx-js/react",
"react": "$react",
"react-dom": "$react-dom",
"webpack": "$webpack"
},
"dependencies": {
"zustand": "^4.1.5"
"zustand": "^4.3.2"
},

@@ -39,2 +48,3 @@ "devDependencies": {

"@elseu/sdu-react-scripts-eslint": "^1.1.2",
"@elseu/sdu-react-scripts-prettier": "^1.0.1",
"@elseu/sdu-react-scripts-rollup": "^2.0.1",

@@ -47,3 +57,4 @@ "@storybook/addon-essentials": "^6.5.14",

"@types/query-string": "^6.3.0",
"@types/react": "^17.0.38",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"babel-loader": "^8.2.3",

@@ -53,6 +64,7 @@ "eslint": "^8.29.0",

"husky": "^8.0.2",
"@mdx-js/react": "^1.6.22",
"prettier": "^2.8.0",
"query-string": "^7.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^17.0.2",

@@ -103,5 +115,10 @@ "react-use": "^17.4.0",

"**/*.(js|ts|tsx)": [
"eslint --fix"
"npm run lint:fix",
"npm run lint-styling",
"prettier --write"
],
"**/*.md": [
"prettier --write"
]
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet