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

mappersmith

Package Overview
Dependencies
Maintainers
3
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mappersmith - npm Package Versions

1
13

2.36.5

Diff

Changelog

Source

2.36.5

Fixed:

  • (internal) Fixed bad release folder of 2.36.4
klippx
published 2.37.0 •

Changelog

Source

2.37.0

Fixed:

  • mappersmith/test: Fix bug in mockRequest/mockClient where body params did not match independent of order #268

Added:

  • mappersmith: Make Response accept a generic type that specifies the form of the data returned #265
  • mappersmith/test: Add responseFactory and requestFactory helpers to mappersmith/test #265
  • mappersmith/test: If body is not provided to a mock, it will match on any body. #229 #152
klippx
published 2.36.4 •

Changelog

Source

2.36.4

  • mappersmith: Fix unintended new query string behaviour introduced in 2.36 #281
klippx
published 2.36.3 •

Changelog

Source

2.36.3

Fixed:

  • Fix missing retry-v2 typings in index.d.ts #261

Refactored:

  • Migrated ClientBuilder to typescript #259
klippx
published 2.36.2 •

klippx
published 2.36.1 •

Changelog

Source

2.36.1

Fixed:

  • Fix broken typings in index.d.ts #257
tulios
published 2.36.0 •

Changelog

Source

2.36.0

Added:

  • Add option parameterEncoder which can optionally be used to override the encoding function for request params. Default is encodeURIComponent #251

Fixed:

  • Fix x-started-at header getting set to new Date.now() during testing and failing header match #248
  • Fix Request.pathTemplate to return result of the function instead of the function itself #249

Refactored:

  • Migrated Manifest to typescript #254
  • Migrated MethodDescriptor to typescript #245
  • Migrated Request to typescript #245
  • Migrated Response to typescript #249
tulios
published 2.35.0 •

Changelog

Source

2.35.0

Fixed:

  • Respect allowResourceHostOverride configuration in middlewares #240
  • A successful middleware should no longer overwriting a previous middleware's error #230

Added:

  • mappersmith: Request.pathTemplate - Returns the template path, without params, before interpolation #194
  • mappersmith/test: unusedMocks - get count of unused mocks #227
  • The +json family of MIME types are parsed as json #223
  • Add headers to mock matching strategy #168

Deprecated:

  • mappersmith: setContext - this is not safe for concurrent use #239
tulios
published 2.34.0 •

Changelog

Source

2.34.0

  • Add json-encode middleware export CONTENT_TYPE_JSON to type definition #203
  • Only accept host overrides if allowResourceHostOverride=true #204
tulios
published 2.33.3 •

Changelog

Source

2.33.3

  • Fix GatewayConfiguration typings
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