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

passport-mock-strategy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-mock-strategy - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

20

lib/index.d.ts

@@ -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"

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