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

@adonisjs/response

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/response - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

2

build/index.d.ts
export { Response } from './src/Response';
export { ResponseContract } from './src/ResponseContract';
export { ResponseContract, ResponseConfig } from './src/ResponseContract';
/// <reference types="node" />
import { ServerResponse, IncomingMessage } from 'http';
import { Macroable } from 'macroable';
import { ResponseContract, CastableHeader, LazyBody, ResponseContentType, ResponseStream } from './ResponseContract';
declare type Config = {
etag: boolean;
jsonpCallbackName: string;
};
import { ResponseContract, CastableHeader, LazyBody, ResponseContentType, ResponseStream, ResponseConfig } from './ResponseContract';
export declare class Response extends Macroable implements ResponseContract {

@@ -18,3 +14,3 @@ request: IncomingMessage;

private _headers;
constructor(request: IncomingMessage, response: ServerResponse, _config: Partial<Config>);
constructor(request: IncomingMessage, response: ServerResponse, _config: Partial<ResponseConfig>);
readonly hasLazyBody: boolean;

@@ -53,2 +49,1 @@ readonly finished: boolean;

}
export {};

@@ -10,2 +10,6 @@ /// <reference types="node" />

};
export declare type ResponseConfig = {
etag: boolean;
jsonpCallbackName: string;
};
export interface ResponseContract {

@@ -12,0 +16,0 @@ explicitEnd: boolean;

@@ -6,2 +6,10 @@ # Change Log

## [1.1.6](https://github.com/adonisjs/adonis-framework/tree/master/packages/response/compare/@adonisjs/response@1.1.5...@adonisjs/response@1.1.6) (2019-02-01)
**Note:** Version bump only for package @adonisjs/response
## [1.1.5](https://github.com/adonisjs/adonis-framework/tree/master/packages/response/compare/@adonisjs/response@1.1.4...@adonisjs/response@1.1.5) (2019-01-29)

@@ -8,0 +16,0 @@

{
"name": "@adonisjs/response",
"version": "1.1.5",
"version": "1.1.6",
"description": "Nodejs http response builder",

@@ -27,3 +27,3 @@ "main": "build/index.js",

"dependencies": {
"@adonisjs/utils": "^1.2.0",
"@adonisjs/utils": "^1.3.0",
"content-disposition": "^0.5.3",

@@ -59,3 +59,3 @@ "destroy": "^1.0.4",

},
"gitHead": "2b6f3599e50889e14a5b6cfb54cdf3ebd244fe61"
"gitHead": "63d674532353e511365b08ebd1129a042a631c50"
}
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