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

xhr-mocklet

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xhr-mocklet - npm Package Versions

1.2.3

Diff

Changelog

Source

1.2.3

  • Fix timeout handling #21, thanks @hearnden
marvinhagemeister
published 1.2.2 •

Changelog

Source

1.2.2

  • Trim down npm package to only include what's actually needed
marvinhagemeister
published 1.2.1 •

Changelog

Source

1.2.1

  • Clean up types and allow erroring the response similar to xhr-mock. Brought to you by @joscha
marvinhagemeister
published 1.2.0 •

Changelog

Source

1.2.0

  • Add support for MockXMLHttpRequestUpload. Thanks a lot to @joscha !
marvinhagemeister
published 1.1.0 •

Changelog

Source

1.1.0

  • Add readyStates as both static and and instance members
  • default response status to 200
  • Pass mocked ProgressEvent and MockEvent to event listeners
  • Improve TypeScript typings
marvinhagemeister
published 1.0.0 •

Changelog

Source

1.0.0

Initial release:

  • mock requests
  • mock responses
  • fake XMLHttpRequest interface to make requests to our mock.
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