Socket
Socket
Sign inDemoInstall

mappersmith

Package Overview
Dependencies
0
Maintainers
3
Versions
120
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
12Next

2.43.4

Diff

Changelog

Source

2.43.4

Patch Changes

  • 7356e30: Expose deep imports for backwards compatibility
klippx
published 2.43.3 •

Changelog

Source

2.43.3

Patch Changes

  • 404f7ba: Exporting client-builder
klippx
published 2.43.2 •

Changelog

Source

2.43.2

Patch Changes

  • 0b832ab: Fix ESM build to output correct code as per ESM spec
klippx
published 2.43.1 •

Changelog

Source

2.43.1

Patch Changes

  • 0177911: Fixes middlewares import path
klippx
published 2.43.0 •

Changelog

Source

2.43.0

Minor Changes

  • 6e94f97: Bundle with ESM exports.

    • The recommended way to use mappersmith in ESM projects is to do import { forge } from 'mappersmith' rather than the old import forge from 'mappersmith'. The reason is because test runners like jest and vitest might get confused when mixing named/default exports together with ESM, even though tsc and node has no problems with it.
    • A similar recommendation change goes for importing middleware: do import { EncodeJsonMiddleware } from 'mappersmith/middleware' (note the mappersmith/middleware folder) rather than deep import import EncodeJsonMiddleware from 'mappersmith/middleware/encode-json'. We still support the old import, but it will be deprecated in the future.
    • The same recommendation goes for importing gateway: do import { FetchGateway } from 'mappersmith/gateway' (note the mappersmith/gateway folder) rather than deep import import FetchGateway from 'mappersmith/gateway/fetch'. We still support the old import, but it will be deprecated in the future.
  • 9da82f6: Fixes memory leak when using http(s) agent with keep-alive

Patch Changes

  • e01114f: Fixed missing type declaration for unusedMocks
klippx
published 2.43.0-beta.1 •

klippx
published 2.43.0-beta.0 •

klippx
published 2.42.0 •

Changelog

Source

2.42.0

Minor Changes

  • mappersmith: EncodeJSON middleware now properly serializes +json family of content-types #362
klippx
published 2.42.0-beta.1 •

klippx
published 2.42.0-beta.0 •

2345
12Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc