Merge pull request #10 from romuloalves/dependabot/npm_and_yarn/lodash.merge-4.6.2
Bump lodash.merge from 4.6.1 to 4.6.2
Bump lodash.merge from 4.6.1 to 4.6.2
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Merge branch 'dependabot/npm_and_yarn/lodash.mergewith-4.6.2'
Bump lodash.mergewith from 4.6.1 to 4.6.2
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Upgrades ava – major update
Upgrades dependencies with patches and minor updates
Merge pull request #8 from zetaron/feat/let-micro-handle-responses
feat: let micro handle the response encoding
feat: let micro handle the response encoding
micro is able to encode various data formats like: text, json, buffer and streams
Delegating the encoding of the response to micro opens up the use-cases where micro-post is applicable and also reduced redundancy of encoding implementations.
This branch includes an extension with which it is possible to pass a default micro RequestHandler as response handler function, profiting too of micros encoding capabilities.
Using the test suite I confirmed these changes are backwards compatible.
Upgrades modules to fix vulnerabilities
Merge pull request #7 from zetaron/feature/rewrite-in-typescript
feature: rewrite in typescript
feat: run typescript build before publishing to npm
fix(package): add request to the devDependencies as it is required but not installed by request-promise
feat: introduce travis-ci configuration for automatic testing
fix: npm pack to only include the dist folder instead of the untranspiled src and test ones
fix: xo reporting 'Unable to resolve path to module micro-post.' import/no-unresolved on all examples
fix: reintroduce xo as test criterion
feat: introduce generated typescript definitions as part of the dist directory
feat: rewrite in typescript
With this commit I've rewritten the micro-post module using typescript.
This change has the benefit of providing maintainable typescript type definitions which evolve as the module itself does and are automatically installed when the module gets installed.
The change does not require any modification by the module users and functions as a drop in replacement, the tests are the same (except type annotations) and still pass.