New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

firemock

Package Overview
Dependencies
Maintainers
1
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firemock - npm Package Compare versions

Comparing version 0.27.4 to 0.27.5

11

dist/cjs/mock.d.ts

@@ -41,2 +41,13 @@ /// <reference types="faker" />

updateDB(state: IDictionary): void;
/**
* silences the database from sending events;
* this is not typically done but can be done
* as part of the Mocking process to reduce noise
*/
silenceEvents(): void;
/**
* returns the database to its default state of sending
* events out.
*/
restoreEvents(): void;
auth(): Promise<import(".").IMockAuth>;

@@ -43,0 +54,0 @@ readonly faker: Faker.FakerStatic;

@@ -80,2 +80,17 @@ "use strict";

}
/**
* silences the database from sending events;
* this is not typically done but can be done
* as part of the Mocking process to reduce noise
*/
silenceEvents() {
database_1.silenceEvents();
}
/**
* returns the database to its default state of sending
* events out.
*/
restoreEvents() {
database_1.restoreEvents();
}
async auth() {

@@ -82,0 +97,0 @@ return auth_1.auth();

@@ -41,2 +41,13 @@ /// <reference types="faker" />

updateDB(state: IDictionary): void;
/**
* silences the database from sending events;
* this is not typically done but can be done
* as part of the Mocking process to reduce noise
*/
silenceEvents(): void;
/**
* returns the database to its default state of sending
* events out.
*/
restoreEvents(): void;
auth(): Promise<import(".").IMockAuth>;

@@ -43,0 +54,0 @@ readonly faker: Faker.FakerStatic;

17

dist/esnext/mock.js
import { Queue, Schema, Reference, Deployment } from "./index";
import { db, clearDatabase, updateDatabase } from "./database";
import { db, clearDatabase, updateDatabase, silenceEvents, restoreEvents } from "./database";
import { setNetworkDelay } from "./util";

@@ -72,2 +72,17 @@ import { MockHelper } from "./MockHelper";

}
/**
* silences the database from sending events;
* this is not typically done but can be done
* as part of the Mocking process to reduce noise
*/
silenceEvents() {
silenceEvents();
}
/**
* returns the database to its default state of sending
* events out.
*/
restoreEvents() {
restoreEvents();
}
async auth() {

@@ -74,0 +89,0 @@ return fireAuth();

2

package.json
{
"name": "firemock",
"version": "0.27.4",
"version": "0.27.5",
"description": "firemock",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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