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

@burstjs/http

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@burstjs/http - npm Package Compare versions

Comparing version 0.6.0-beta.1 to 0.6.0-beta.2

4

package.json
{
"name": "@burstjs/http",
"version": "0.6.0-beta.1",
"version": "0.6.0-beta.2",
"description": "Send commands to BURST over HTTP",

@@ -54,3 +54,3 @@ "contributors": [

},
"gitHead": "8a6a48a9bd4ce272ca59b9b7a3c572bfeafc8d63",
"gitHead": "718c9e36c1f96f62fbd9bf74e1ecf1077f5dd02a",
"publishConfig": {

@@ -57,0 +57,0 @@ "access": "public"

@@ -34,7 +34,7 @@ import {Http} from './http';

public reset() {
public reset(): void {
this._replyFunctions = HttpMock.initialReplyFunctions();
}
public registerResponse(method: string, url: string, status: number, data: any) {
public registerResponse(method: string, url: string, status: number, data: any) : void {
// @ts-ignore

@@ -44,3 +44,3 @@ this._replyFunctions[method][url] = this.createReplyFn(status, data);

public registerError(method: string, url: string, status: number, message: string, data: any) {
public registerError(method: string, url: string, status: number, message: string, data: any) : void {
// @ts-ignore

@@ -47,0 +47,0 @@ this._replyFunctions[method][url] = this.createErrorFn(url, status, message, data);

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