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

msw

Package Overview
Dependencies
Maintainers
1
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

msw - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

4

lib/composeMocks.d.ts
import { RequestHandler } from './handlers/requestHandler';
export declare type Mask = RegExp | string;
interface PublicAPI {
start(serviceWorkerURL?: string, options?: RegistrationOptions): void;
stop(): void;
start(serviceWorkerURL?: string, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;
stop(): Promise<void>;
}
export declare const composeMocks: (...requestHandlers: RequestHandler<any>[]) => PublicAPI;
export {};
{
"name": "msw",
"version": "0.8.1",
"version": "0.8.2",
"description": "Deviation-less client-side runtime API mocking using Service Workers.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

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