Socket
Socket
Sign inDemoInstall

@foal/core

Package Overview
Dependencies
60
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.0 to 2.7.1

4

lib/core/http/http-responses.d.ts

@@ -30,3 +30,2 @@ import { Context } from './contexts';

export declare abstract class HttpResponse<T = any> {
body?: T | undefined;
/**

@@ -62,2 +61,3 @@ * Property used internally by isHttpResponse.

readonly stream: boolean;
body: T;
private cookies;

@@ -70,3 +70,3 @@ private headers;

*/
constructor(body?: T | undefined, options?: {
constructor(body?: T, options?: {
stream?: boolean;

@@ -73,0 +73,0 @@ });

@@ -20,3 +20,2 @@ "use strict";

constructor(body, options = {}) {
this.body = body;
/**

@@ -37,2 +36,5 @@ * Property used internally by isHttpResponse.

this.headers = {};
if (typeof body !== 'undefined') {
this.body = body;
}
this.stream = options.stream || false;

@@ -39,0 +41,0 @@ }

{
"name": "@foal/core",
"version": "2.7.0",
"version": "2.7.1",
"description": "Elegant and complete Node.Js web framework based on TypeScript",

@@ -88,3 +88,3 @@ "main": "./lib/index.js",

"devDependencies": {
"@foal/internal-test": "^2.7.0",
"@foal/internal-test": "^2.7.1",
"@types/mocha": "7.0.2",

@@ -104,3 +104,3 @@ "@types/node": "10.17.24",

},
"gitHead": "f29806e349427d412606a2086ae474f2b65df3ac"
"gitHead": "e95e3aaa4540b7c0720b739281a7e0ae1beb5b51"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc