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

unexpected-messy

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-messy - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

6

lib/unexpectedMessy.js

@@ -369,3 +369,3 @@ var messy = require('messy'),

var exhaustively = this.flags.exhaustively;
if (value && typeof value === 'object' && !(value instanceof messy.Headers)) {
if (value && typeof value === 'object' && !value.isMessyHeaders) {
expect(value, 'to be a hash whose keys satisfy', function (headerName) {

@@ -376,3 +376,3 @@ expect(typeof value[headerName] !== 'undefined' || !subject.has(headerName), 'to be true');

var expectedHeaders = value instanceof messy.Headers ? value : new messy.Headers(value, true),
var expectedHeaders = value && value.isMessyHeaders ? value : new messy.Headers(value, true),
expectedHeaderNames = expectedHeaders.getNames();

@@ -405,3 +405,3 @@

var remainingExpectedHeaders = value instanceof messy.Headers ? value : new messy.Headers(value, true),
var remainingExpectedHeaders = value && value.isMessyHeaders ? value : new messy.Headers(value, true),
remainingSubjectHeaders = subject.clone();

@@ -408,0 +408,0 @@

{
"name": "unexpected-messy",
"version": "2.2.2",
"version": "2.2.3",
"description": "Unexpected plugin for the messy library",

@@ -5,0 +5,0 @@ "main": "lib/unexpectedMessy.js",

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