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

Switch to re2-wasm #467

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Conversation

adamthom-amzn
Copy link
Contributor

Description of changes:
re2 uses a native module that has a normal dependency on node-gyp, which
bloats the installed size of a service and requires special care when
packaging.

re2-wasm has no dependencies, and while it is not officially supported, it is
used by grpc-node's grpc-js-xds package.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr
Copy link
Contributor

trivikr commented Nov 23, 2021

yarn.lock deleted on purpose or by mistake?

@adamthom-amzn
Copy link
Contributor Author

adamthom-amzn commented Nov 23, 2021 via email

@trivikr
Copy link
Contributor

trivikr commented Nov 23, 2021

On purpose - the root yarn.lock is the one that matters, right?

Yes.

Move removal of yarn.lock files to a different commit PR?
Just to keep the changes separate from re-wasm switch.

re2 uses a native module that has a normal dependency on node-gyp, which
bloats the installed size of a service and requires special care when
packaging.

re2-wasm has no dependencies, and while it is not officially supported, it is
used by grpc-node's grpc-js-xds package.
@adamthom-amzn
Copy link
Contributor Author

On purpose - the root yarn.lock is the one that matters, right?

Yes.

Move removal of yarn.lock files to a different commit PR? Just to keep the changes separate from re-wasm switch.

done

@adamthom-amzn adamthom-amzn merged commit e3ef0dd into smithy-lang:main Nov 29, 2021
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
re2 uses a native module that has a normal dependency on node-gyp, which
bloats the installed size of a service and requires special care when
packaging.

re2-wasm has no dependencies, and while it is not officially supported, it is
used by grpc-node's grpc-js-xds package.
@riywo riywo mentioned this pull request Apr 5, 2023
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.

4 participants