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

echoecho

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echoecho - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

12

lib/scheme.js

@@ -28,2 +28,10 @@ "use strict";

exports.delete = function (req, res) {
var p = parse(req.url),
code = ((req.method === 'DELETE') ? 200 : 403);
res.writeHead(code, headers);
res.end(p.query || '');
};
var post = function (method, req, res) {

@@ -79,5 +87,1 @@ var p = parse(req.url),

exports.delete = function (req, res) {
post('DELETE', req, res);
};

@@ -5,3 +5,3 @@ {

"author": "Dav Glass <davglass@gmail.com>",
"version": "0.0.1",
"version": "0.0.2",
"dependencies": {

@@ -8,0 +8,0 @@ },

@@ -196,4 +196,3 @@ var vows = require('vows'),

method: 'DELETE',
path: '/foo/bar/baz/echo/delete',
body: 'foo=bar'
path: '/foo/bar/baz/echo/delete?foo=bar'
}, this.callback);

@@ -210,4 +209,3 @@ },

method: 'GET',
path: '/foo/bar/baz/echo/delete',
body: 'foo=bar'
path: '/foo/bar/baz/echo/delete?foo=bar'
}, this.callback);

@@ -214,0 +212,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