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

nock

Package Overview
Dependencies
Maintainers
1
Versions
438
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nock - npm Package Compare versions

Comparing version 0.15.2 to 0.15.3

10

lib/scope.js

@@ -216,2 +216,10 @@ var path = require('path')

function patch(uri, requestBody, options) {
return intercept(uri, 'PATCH', requestBody, options);
}
function merge(uri, requestBody, options) {
return intercept(uri, 'MERGE', requestBody, options);
}
function _delete(uri, requestBody, options) {

@@ -327,2 +335,4 @@ return intercept(uri, 'DELETE', requestBody, options);

, put: put
, merge: merge
, patch: patch
, head: head

@@ -329,0 +339,0 @@ , intercept: intercept

2

package.json
{ "name" : "nock"
, "description" : "HTTP Server mocking for Node.js"
, "tags" : ["Mock", "HTTP", "testing", "isolation"]
, "version" : "0.15.2"
, "version" : "0.15.3"
, "author" : "Pedro Teixeira <pedro.teixeira@gmail.com>"

@@ -6,0 +6,0 @@ , "contributors" :

@@ -119,3 +119,3 @@ # Nock [![Build Status](https://secure.travis-ci.org/flatiron/nock.png)](http://travis-ci.org/flatiron/nock)

Nock supports any HTTP verb, and it has convenience methods for the GET, POST, PUT, HEAD and DELETE HTTP verbs.
Nock supports any HTTP verb, and it has convenience methods for the GET, POST, PUT, HEAD, DELETE, PATCH and MERGE HTTP verbs.

@@ -122,0 +122,0 @@ You can intercept any HTTP verb using `.intercept(path, verb [, requestBody [, options]])`:

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