Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

refactor: remove unused deps and simplify#248

Merged
JustinBeckwith merged 2 commits intogoogleapis:masterfrom
JustinBeckwith:less
Nov 9, 2018
Merged

refactor: remove unused deps and simplify#248
JustinBeckwith merged 2 commits intogoogleapis:masterfrom
JustinBeckwith:less

Conversation

@JustinBeckwith
Copy link
Copy Markdown
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
Copy Markdown

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.

Comment thread src/interfaces/express.ts
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.

Comment thread src/interfaces/hapi.ts
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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