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

unexpected-htmllike

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-htmllike - npm Package Versions

2

2.2.0

Diff

Changelog

Source

v2.2.0

  • Stop relying on old unexpectedType.diff output format
bruderstein
published 2.1.3 •

Changelog

Source

v2.1.3

  • Fix clobbering the errorMode when diffing
bruderstein
published 2.1.2 •

Changelog

Source

v2.1.2

  • Fix a bug displaying the diff when the non-string content didn't match.
bruderstein
published 2.1.1 •

Changelog

Source

v2.1.1

  • Change text content diff to be an annotated block (a block with // before each line), to make the diff more readable
bruderstein
published 2.1.0 •

Changelog

Source

v2.1.0

  • Add findTargetAttrib to the options to allow locating a nested element (see the readme!)
bruderstein
published 2.0.2 •

Changelog

Source

v2.0.2

  • Fix outputting inspected attributes (e.g objects). Could previously result in incorrect indenting.
bruderstein
published 2.0.1 •

Changelog

Source

v2.0.1

  • Fix spy functions (and other functions with a custom .toString() method)
bruderstein
published 2.0.0 •

Changelog

Source

v2.0.0

  • Breaking changes to API
    • diff, contains now take less parameters (see README.md)
  • Split between diffing / contains checking and rendering. New render() method
  • Helper withResult() method to aid handling the possible-promises that are returned from the diffing and contains APIs
  • Attributes now diffed with 'to satisfy'
bruderstein
published 1.1.0 •

Changelog

Source

v1.1.0

  • Remove function body for long functions (more than one line or > 30 chars) (#2)
  • Do not output attributes that have an undefined value (#1)
bruderstein
published 1.0.0 •

Changelog

Source

v1.0.0

  • Split sync and async - everything is tried synchronously initially (which is much faster), then if an asynchronous assertion is detected, revert to the async algorithm. This results is a big performance boost for the majority of cases where the comparisons can all be done synchronously. The return values of the functions are now possibly-promises. i.e. Caller need to check if they are a promise (existence of result.then is fine), and treat it as a promise.
2
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