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

spy4js

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spy4js - npm Package Versions

13
8

3.2.0

Diff

Changelog

Source

[3.2.0] - 2021-11-24

Added

  • spy.addSnapshotSerializer

Fixed

  • Serialization of window and document globals of jest-dom caused errors.
vluft
published 3.1.5 •

Changelog

Source

[3.1.5] - 2021-09-16

Added

  • Mocking instructions in case of modules exporting properties with only getters.

Fixed

  • CommonJS and Jest runner detection.
vluft
published 3.1.4 •

Changelog

Source

[3.1.4] - 2021-08-31

Fixed

  • Fix some types after TS update.
  • Fix serialization problems of Jest-DOM HTMLElements.
vluft
published 3.1.4-beta.0 •

vluft
published 3.1.3 •

Changelog

Source

[3.1.3] - 2021-07-03

Fixed

  • Fix some types for packages using "strict" TS option with value false (not recommended).
vluft
published 3.1.2 •

Changelog

Source

[3.1.2] - 2021-07-01

Fixed

  • NextJS stopped working because setting "type": "module" in own package.json was overriding the default of the package importer. Hence, the package could only be used as ESM.
vluft
published 3.1.1 •

Changelog

Source

[3.1.1] - 2021-06-30

Fixed

  • Stricter TS checks and some typing improvements to be included in packages with stricter type checking without causing issues.
vluft
published 3.1.0 •

Changelog

Source

[3.1.0] - 2020-11-08

Added

  • Enforce-Order mode

Changed

  • Calling spy.hasCallHistory() without any arguments will always fail now and refers to use spy.wasNotCalled() instead if the spy wasn't called.
vluft
published 3.0.2 •

vluft
published 3.0.1 •

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