passport-mock-strategy
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1,5 +0,15 @@ | ||
/** | ||
* Export MockStrategy. | ||
*/ | ||
declare const exportModule: any; | ||
export = exportModule; | ||
import createMockPassport = require('./create-mock-passport'); | ||
import createMockStorage = require('./mock-storage'); | ||
import mockUser = require('./mock-user'); | ||
import { connectPassport, setupSerializeAndDeserialize } from './mock-utilities'; | ||
import Strategy = require('./passport-mock-strategy'); | ||
declare const _default: typeof Strategy & { | ||
MockStrategy: typeof Strategy; | ||
Strategy: typeof Strategy; | ||
mockUser: mockUser.User; | ||
setupSerializeAndDeserialize: typeof setupSerializeAndDeserialize; | ||
connectPassport: typeof connectPassport; | ||
createMockPassport: typeof createMockPassport; | ||
createMockStorage: typeof createMockStorage; | ||
}; | ||
export = _default; |
@@ -6,9 +6,6 @@ "use strict"; | ||
var mock_utilities_1 = require("./mock-utilities"); | ||
var MockStrategy = require("./passport-mock-strategy"); | ||
/** | ||
* Export MockStrategy. | ||
*/ | ||
var exportModule = MockStrategy; | ||
exportModule.MockStrategy = MockStrategy; | ||
exportModule.Strategy = MockStrategy; | ||
var Strategy = require("./passport-mock-strategy"); | ||
var exportModule = Strategy; | ||
exportModule.MockStrategy = Strategy; | ||
exportModule.Strategy = Strategy; | ||
exportModule.mockUser = mockUser; | ||
@@ -15,0 +12,0 @@ exportModule.setupSerializeAndDeserialize = mock_utilities_1.setupSerializeAndDeserialize; |
{ | ||
"name": "passport-mock-strategy", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Mock passport strategy for testing Node.js applications.", | ||
@@ -60,3 +60,3 @@ "keywords": [ | ||
"prepare": "yarn run build", | ||
"prettier": "prettier --write \"{src,test}/**/*.js\"", | ||
"prettier": "prettier --write \"{src,test}/**/*.(js|ts)\"", | ||
"test": "jest", | ||
@@ -63,0 +63,0 @@ "test:watch": "jest --watch" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23441
362
0