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

unexpected

Package Overview
Dependencies
Maintainers
3
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected - npm Package Compare versions

Comparing version 10.21.0 to 10.21.1

2

.eslintrc.js

@@ -9,3 +9,3 @@ module.exports = {

'error', {
devDependencies: [ '**/test/**/*.js' ],
devDependencies: [ '**/test/**/*.js', '**/bootstrap-unexpected-markdown.js' ],
optionalDependencies: false,

@@ -12,0 +12,0 @@ peerDependencies: false

/*global unexpected:true*/
unexpected = require('./lib/');
unexpected.output.preferredWidth = 80;
require('./test/promisePolyfill');

@@ -260,2 +260,7 @@ var utils = require('./utils');

}
var matchTrailingSpace = line.match(/^(.*[^ ])?( +)$/);
if (matchTrailingSpace) {
line = matchTrailingSpace[1] || '';
}
if (markUpSpecialCharacters) {

@@ -272,2 +277,5 @@ line.split(specialCharRegExp).forEach(function (part) {

}
if (matchTrailingSpace) {
this[{'+': 'diffAddedHighlight', '-': 'diffRemovedHighlight'}[ch] || baseStyle](matchTrailingSpace[2]);
}
if (i !== lines.length - 1) {

@@ -274,0 +282,0 @@ this.nl();

{
"name": "unexpected",
"version": "10.21.0",
"version": "10.21.1",
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

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