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

hydra

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hydra - npm Package Compare versions

Comparing version 1.5.0-experimental to 1.5.1-experimental

2

lib/server-request.js

@@ -25,3 +25,3 @@ const http = require('http');

return new Promise((resolve, reject) => {
if (options.method === 'POST' || options.method === 'PUT') {
if (options.method === 'POST' || options.method === 'PUT' || options.method === 'PATCH') {
options.headers = options.headers || {};

@@ -28,0 +28,0 @@ options.headers['content-length'] = Buffer.byteLength(options.body, 'utf8');

@@ -274,2 +274,3 @@ /**

ServerResponse.HTTP_CREATED = 201;
ServerResponse.HTTP_ACCEPTED = 202;
ServerResponse.HTTP_MOVED_PERMANENTLY = 301;

@@ -298,2 +299,3 @@ ServerResponse.HTTP_FOUND = 302;

'201': ['Created', 'Resource created'],
'202': ['Accepted', 'Request accepted'],
'301': ['Moved Permanently', 'Resource has been permanently moved'],

@@ -300,0 +302,0 @@ '302': ['Found', 'Resource was found under another URI'],

{
"name": "hydra",
"version": "1.5.0-experimental",
"version": "1.5.1-experimental",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Carlos Justiniano",

Sorry, the diff of this file is too big to display

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