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

Migrate other Stripe infrastructure to TS #1563

Merged
merged 13 commits into from
Sep 28, 2022

Conversation

anniel-stripe
Copy link
Contributor

@anniel-stripe anniel-stripe commented Sep 26, 2022

Summary

r? @kamil-stripe

Migrating remaining Stripe infrastructure files to TypeScript in a "lazy" manner. This includes the following files:

  • multiPart
  • ResourceNamespace
  • utils.js
  • Webhooks.js
  • crypto/*
  • net/*

See my comments on the .ts files for explanations of why I made a few changes.

@anniel-stripe anniel-stripe force-pushed the anniel-migrate-remaining-infrastructure branch 2 times, most recently from 28d35cf to 84d3ec4 Compare September 26, 2022 16:28
.eslintrc.js Outdated Show resolved Hide resolved
src/Error.ts Outdated Show resolved Hide resolved
@anniel-stripe anniel-stripe force-pushed the anniel-migrate-remaining-infrastructure branch from 84d3ec4 to 12af083 Compare September 26, 2022 16:37
@anniel-stripe anniel-stripe marked this pull request as ready for review September 26, 2022 16:37
@anniel-stripe anniel-stripe force-pushed the anniel-migrate-remaining-infrastructure branch from 59823d4 to d4f0791 Compare September 26, 2022 16:38
Copy link
Contributor

@kamil-stripe kamil-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL :) I'm going to finish the review later.

lib/Webhooks.js Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/Webhooks.ts Outdated Show resolved Hide resolved
src/Webhooks.ts Show resolved Hide resolved
src/net/FetchHttpClient.ts Outdated Show resolved Hide resolved
src/net/FetchHttpClient.ts Outdated Show resolved Hide resolved
src/net/HttpClient.ts Outdated Show resolved Hide resolved
src/net/NodeHttpClient.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated Show resolved Hide resolved
@anniel-stripe anniel-stripe force-pushed the anniel-migrate-remaining-infrastructure branch from 5947000 to 651024f Compare September 27, 2022 17:28
Copy link
Contributor

@kamil-stripe kamil-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few more comments. LGTM otherwise.

src/utils.ts Outdated Show resolved Hide resolved
lib/ResourceNamespace.js Outdated Show resolved Hide resolved
src/crypto/SubtleCryptoProvider.ts Outdated Show resolved Hide resolved
src/crypto/SubtleCryptoProvider.ts Outdated Show resolved Hide resolved
src/net/FetchHttpClient.ts Outdated Show resolved Hide resolved
src/net/NodeHttpClient.ts Outdated Show resolved Hide resolved
@anniel-stripe anniel-stripe merged commit 5aae73c into master Sep 28, 2022
@anniel-stripe anniel-stripe deleted the anniel-migrate-remaining-infrastructure branch September 28, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants