New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

response-objects

Package Overview
Dependencies
Maintainers
2
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 3.0.0 to 3.0.1

2

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

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -15,3 +15,3 @@ const { STATUS_CODES } = require("http");

status: number;
headers?: object;
headers?: Headers;
}

@@ -33,3 +33,3 @@

const toJSON = `
function toJSON(this: {body: any, status: number, headers: object}) {
function toJSON(this: {body: any, status: number, headers: Headers}) {
return { body: this.body, status: this.status, headers: this.headers };

@@ -36,0 +36,0 @@ }`;

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