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

stubborn-ws

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stubborn-ws - npm Package Compare versions

Comparing version 7.1.0 to 7.1.1

7

dist/src/debug/Debugger.js

@@ -47,3 +47,6 @@ "use strict";

}, {});
out.add(`## Request: ${this.request.method} ${this.request.path}`);
out.add(`## Route: ${out.blue(out.bold(this.request.method))} ${out.cyan(this.request.path)}`);
out.pushTab();
out.add(out.tab(`at ${out.formatLineInfo(route.getInitializerPath())}`));
out.pullTab();
render.renderErrors(constants_1.DIFF_SUBJECTS.METHOD, errors);

@@ -54,4 +57,2 @@ render.renderErrors(constants_1.DIFF_SUBJECTS.PATH, errors);

render.renderErrors(constants_1.DIFF_SUBJECTS.BODY, errors);
out.newLine();
out.add(`Route registered at ${out.formatLineInfo(route.getInitializerPath())}`);
process.stdout.write(out.render());

@@ -58,0 +59,0 @@ }

@@ -17,3 +17,6 @@ import { LineInfo } from '../@types';

yellow(text: string): string;
blue(text: string): string;
cyan(text: string): string;
bold(text: string): string;
formatLineInfo(line: LineInfo | null): string;
}

@@ -55,2 +55,11 @@ "use strict";

}
blue(text) {
return chalk_1.default.blue(text);
}
cyan(text) {
return chalk_1.default.cyan(text);
}
bold(text) {
return chalk_1.default.bold(text);
}
formatLineInfo(line) {

@@ -57,0 +66,0 @@ if (line === null) {

{
"name": "stubborn-ws",
"version": "7.1.0",
"version": "7.1.1",
"description": "Web server to mock external HTTP APIs in tests",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ybonnefond/stubborn#stubborn",

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