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

unexpected

Package Overview
Dependencies
Maintainers
4
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.37.6 to 10.37.7

4

build/lib/types.js

@@ -311,6 +311,6 @@ var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray');

if (conflicting) {
if (!(key in expected)) {
if (!type.hasKey(expected, key)) {
annotation.error('should be removed');
isInlineDiff = true;
} else if (!(key in actual)) {
} else if (!type.hasKey(actual, key)) {
this.error('// missing').sp();

@@ -317,0 +317,0 @@ valueOutput = output.clone().appendInspected(valueExpected);

@@ -351,6 +351,6 @@ const utils = require('./utils');

if (conflicting) {
if (!(key in expected)) {
if (!type.hasKey(expected, key)) {
annotation.error('should be removed');
isInlineDiff = true;
} else if (!(key in actual)) {
} else if (!type.hasKey(actual, key)) {
this.error('// missing').sp();

@@ -357,0 +357,0 @@ valueOutput = output.clone().appendInspected(valueExpected);

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

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

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

Sorry, the diff of this file is not supported yet

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