@adonisjs/response
Advanced tools
Comparing version 1.1.5 to 1.1.6
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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19323
418
Updated@adonisjs/utils@^1.3.0