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.6 to 2.2.7

5

lib/unexpectedMessy.js

@@ -456,4 +456,5 @@ var messy = require('messy'),

remainingExpectedHeaders.getAll(headerName).forEach(function (headerValue) {
outputHeader(headerName, headerValue);
output.sp().error('// missing ');
output.nl(isFirstHeader ? 0 : 1).error('// missing ');
outputHeader(headerName, headerValue, true);
isFirstHeader = false;
});

@@ -460,0 +461,0 @@ });

2

package.json
{
"name": "unexpected-messy",
"version": "2.2.6",
"version": "2.2.7",
"description": "Unexpected plugin for the messy library",

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

@@ -173,3 +173,3 @@ /*global describe, it*/

expect(function () {
expect(new Headers({foo: 'a', bar: 'b'}), 'to satisfy', {bar: /c/});
expect(new Headers({foo: 'a', bar: 'b'}), 'to satisfy', {bar: /c/, hey: 'there'});
}, 'to throw',

@@ -179,6 +179,7 @@ 'expected\n' +

'Bar: b\n' +
'to satisfy { bar: /c/ }\n' +
"to satisfy { bar: /c/, hey: 'there' }\n" +
'\n' +
'Foo: a\n' +
'Bar: b // should match /c/');
'Bar: b // should match /c/\n' +
'// missing Hey: there');
});

@@ -185,0 +186,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