authmosphere
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -20,5 +20,5 @@ import * as nock from 'nock'; | ||
*/ | ||
declare const mockTokeninfoEndpoint: (options: MockOptions, tokens?: Token<Record<string | number | symbol, unknown>>[] | undefined) => nock.Scope; | ||
declare const mockAccessTokenEndpointWithErrorResponse: (options: MockOptions, httpStatus: number, responseBody?: Record<string | number | symbol, unknown> | undefined) => nock.Scope; | ||
declare const mockTokeninfoEndpointWithErrorResponse: (options: MockOptions, httpStatus: number, responseBody?: Record<string | number | symbol, unknown> | undefined) => nock.Scope; | ||
declare const mockTokeninfoEndpoint: (options: MockOptions, tokens?: Token[]) => nock.Scope; | ||
declare const mockAccessTokenEndpointWithErrorResponse: (options: MockOptions, httpStatus: number, responseBody?: Record<string | number | symbol, unknown>) => nock.Scope; | ||
declare const mockTokeninfoEndpointWithErrorResponse: (options: MockOptions, httpStatus: number, responseBody?: Record<string | number | symbol, unknown>) => nock.Scope; | ||
/** | ||
@@ -25,0 +25,0 @@ * Removes generated tokens and mocked endpoints. |
import { Logger } from './types'; | ||
declare const safeLogger: (logger?: Logger | undefined) => Logger; | ||
declare const safeLogger: (logger?: Logger) => Logger; | ||
export { safeLogger }; |
{ | ||
"name": "authmosphere", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "authmosphere is a library to support OAuth2 workflows in JavaScript projects.", | ||
@@ -29,4 +29,4 @@ "main": "./lib/src/index.js", | ||
"@types/express": "4.17.13", | ||
"http-status": "1.5.0", | ||
"nock": "13.2.4", | ||
"http-status": "1.5.2", | ||
"nock": "13.2.9", | ||
"node-fetch": "2.6.7", | ||
@@ -36,28 +36,26 @@ "uuid": "8.3.2" | ||
"devDependencies": { | ||
"@sinonjs/fake-timers": "9.1.1", | ||
"@types/chai": "4.3.0", | ||
"@types/chai": "4.3.3", | ||
"@types/chai-as-promised": "7.1.5", | ||
"@types/mocha": "9.1.0", | ||
"@types/node": "17.0.23", | ||
"@types/node-fetch": "2.5.12", | ||
"@types/mocha": "9.1.1", | ||
"@types/node": "18.7.13", | ||
"@types/node-fetch": "2.6.2", | ||
"@types/sinon-chai": "3.2.8", | ||
"@types/sinonjs__fake-timers": "8.1.2", | ||
"@types/uuid": "8.3.4", | ||
"@typescript-eslint/eslint-plugin": "5.17.0", | ||
"@typescript-eslint/eslint-plugin-tslint": "5.17.0", | ||
"@typescript-eslint/parser": "5.17.0", | ||
"@typescript-eslint/eslint-plugin": "5.35.1", | ||
"@typescript-eslint/eslint-plugin-tslint": "5.35.1", | ||
"@typescript-eslint/parser": "5.35.1", | ||
"chai": "4.3.6", | ||
"chai-as-promised": "7.1.1", | ||
"coveralls": "3.1.1", | ||
"eslint": "8.12.0", | ||
"eslint": "8.22.0", | ||
"eslint-plugin-chai-friendly": "0.7.2", | ||
"eslint-plugin-mocha": "10.0.3", | ||
"eslint-plugin-mocha": "10.1.0", | ||
"eslint-plugin-node": "11.1.0", | ||
"express": "4.17.3", | ||
"lodash": "4.17.21", | ||
"mocha": "9.2.2", | ||
"express": "4.18.1", | ||
"mocha": "10.0.0", | ||
"nyc": "15.1.0", | ||
"sinon": "13.0.1", | ||
"sinon": "14.0.0", | ||
"sinon-chai": "3.7.0", | ||
"typescript": "4.6.3" | ||
"typescript": "4.8.2" | ||
}, | ||
@@ -64,0 +62,0 @@ "scripts": { |
24
229794
+ Addedhttp-status@1.5.2(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addednock@13.2.9(transitive)
- Removedhttp-status@1.5.0(transitive)
- Removedlodash.set@4.3.2(transitive)
- Removednock@13.2.4(transitive)
Updatedhttp-status@1.5.2
Updatednock@13.2.9