mappersmith
Advanced tools
Changelog
2.43.0
6e94f97: Bundle with ESM exports.
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.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.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
unusedMocks
Changelog
2.42.0
mappersmith
: EncodeJSON
middleware now properly serializes +json
family of content-types #362