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

Internalize base64-js, convert to TypeScript #2826

Merged
merged 3 commits into from
Aug 28, 2019
Merged

Conversation

ry
Copy link
Member

@ry ry commented Aug 28, 2019

As we improve our core bundling process, we will not be able to rely on external NPM modules.

Luckily there are only three of them:

  • base64-js, which I've ported to TS and internalized in this PR.
  • @standarized/streams, which I will rip out and introduce regressions in this PR. (cc @mrkurt)
  • typescript, which will be specially handled.

Towards #2608

@ry ry force-pushed the simplify_deps branch 4 times, most recently from e01226b to 10a49bb Compare August 28, 2019 21:15
ry added 2 commits August 28, 2019 17:32
This is a regression on several some features in the fetch API. To bring
these back @stardazed/streams simply needs to be ported to TS and
included in the //js directory.

Towards denoland#2608
@mrkurt
Copy link
Contributor

mrkurt commented Aug 28, 2019

I'm happy to help with streams, do you know how you want to handle those?

@ry
Copy link
Member Author

ry commented Aug 28, 2019

@mrkurt Cool - so basically we just need to move it into //js rather than have it in node_modules... but the problem is I don't have support for /// <reference types="..."/>, so we need a streams.ts file which includes the TS and JS. Or, I need to add /// <reference types="..."/> support to https://github.com/ry/deno_typescript .... I think porting streams to typescript is the best route for now.

I added an issue for this #2828

@ry ry requested a review from piscisaureus August 28, 2019 22:05
@ry ry merged commit 8f91946 into denoland:master Aug 28, 2019
@ry ry deleted the simplify_deps branch August 28, 2019 22:54
@ry ry mentioned this pull request Aug 28, 2019
@mrkurt
Copy link
Contributor

mrkurt commented Aug 28, 2019

Oh, probably don't even need a port, they're already typescript! https://github.com/stardazed/sd-streams/tree/master/packages/streams/src

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.

3 participants