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

response-objects

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

response-objects - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

8

createTypeDefs.js

@@ -32,2 +32,10 @@ const status = require("statuses");

export interface R<Body> {
body: Body,
status: number,
headers?: {
[index: string]: string;
}
}
export interface BaseResponseObject {

@@ -34,0 +42,0 @@ body?: any;

@@ -7,2 +7,10 @@

export interface R<Body> {
body: Body,
status: number,
headers?: {
[index: string]: string;
}
}
export interface BaseResponseObject {

@@ -9,0 +17,0 @@ body?: any;

5

package.json
{
"name": "response-objects",
"version": "0.10.1",
"version": "0.10.2",
"description": "simple value objects representing HTTP responses",

@@ -11,3 +11,4 @@ "main": "index.js",

"scripts": {
"test": "mocha --timeout 3000"
"test": "mocha --timeout 3000",
"build": "node ./createTypeDefs"
},

@@ -14,0 +15,0 @@ "author": "Nick Bottomley (github.com/bttmly)",

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