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

unexpected-messy

Package Overview
Dependencies
Maintainers
1
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 1.5.0 to 1.5.1

9

lib/unexpectedMessy.js

@@ -298,5 +298,7 @@ var messy = require('messy'),

var satisfiedIndex = -1;
for (var j = 0 ; j < remainingExpectedHeaders.valuesByName[headerName] ; j += 1) {
for (var j = 0 ; j < remainingExpectedHeaders.valuesByName[headerName].length ; j += 1) {
try {
expect(subjectHeaderValue, 'to satisfy', remainingExpectedHeaders.valuesByName[j]);
console.log(subjectHeaderValue, 'to satisfy', remainingExpectedHeaders.valuesByName[headerName][j]);
expect(subjectHeaderValue, 'to satisfy', remainingExpectedHeaders.valuesByName[headerName][j]);
satisfiedIndex = j;

@@ -306,5 +308,6 @@ break;

}
if (satisfiedIndex !== -1) {
outputHeader(headerName, subjectHeaderValue);
subject.remove(headerName, i);
remainingSubjectHeaders.remove(headerName, i);
remainingExpectedHeaders.remove(headerName, satisfiedIndex);

@@ -311,0 +314,0 @@ }

{
"name": "unexpected-messy",
"version": "1.5.0",
"version": "1.5.1",
"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