Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused deps and simplify #248

Merged
merged 2 commits into from
Nov 9, 2018
Merged

refactor: remove unused deps and simplify #248

merged 2 commits into from
Nov 9, 2018

Conversation

JustinBeckwith
Copy link
Contributor

@JustinBeckwith JustinBeckwith commented Nov 9, 2018

This does a few things:

  • Removes a bunch of un-used dev packages
  • Prefers Object.assign
  • Untangles the incomprehensible mess that was the usage of is

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 9, 2018
@codecov
Copy link

codecov bot commented Nov 9, 2018

Codecov Report

Merging #248 into master will decrease coverage by 0.31%.
The diff coverage is 85.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
- Coverage   88.79%   88.47%   -0.32%     
==========================================
  Files          29       29              
  Lines        1276     1241      -35     
  Branches      151      151              
==========================================
- Hits         1133     1098      -35     
  Misses         87       87              
  Partials       56       56
Impacted Files Coverage Δ
src/request-extractors/hapi.ts 95% <ø> (-0.66%) ⬇️
test/unit/request-extractors/manual.ts 100% <ø> (ø) ⬆️
src/populate-error-message.ts 36.66% <0%> (-2.05%) ⬇️
src/classes/error-message.ts 100% <100%> (ø) ⬆️
src/interfaces/restify.ts 100% <100%> (ø) ⬆️
test/unit/request-extractors/express.ts 100% <100%> (ø) ⬆️
src/request-extractors/manual.ts 100% <100%> (ø) ⬆️
src/request-extractors/express.ts 100% <100%> (ø) ⬆️
src/request-extractors/koa.ts 100% <100%> (ø) ⬆️
src/classes/request-information-container.ts 100% <100%> (ø) ⬆️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ade04f...82c32e9. Read the comment docs.

client.sendError(em);
}
if (is.object(client) && is.function(client.sendError))
{ client.sendError(em); }

This comment was marked as spam.

This comment was marked as spam.

client.sendError(hapiErrorHandler(err, req, config));
});
}
if (is.function(server.on))

This comment was marked as spam.

This comment was marked as spam.

@JustinBeckwith JustinBeckwith merged commit c48245e into googleapis:master Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants