-
Notifications
You must be signed in to change notification settings - Fork 16
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
Nolyfills for @stdlib
?
#79
Comments
On further inspection it looks like they have accidentally included @stdlib/cli-ctor and @stdlib/fs-read-file in dependencies instead of devDependencies (tracked at stdlib-js/stdlib#2469), but |
I noticed that |
@hfhchan-plb We don't need to litigate on this issue, but this is a mischaracterization. stdlib simply splits out requisite functionality into separate well-defined APIs. It does not bring in "poisonous" external dependencies. The reason for modularity is to allow code reuse across multiple packages. This, in turn, allows users who depend on more stdlib functionality to benefit from smaller, not larger, eventual bundle sizes, as utilities and helpers are not duplicated across packages. If you want standalone modules without dependency chains, that is fine; we provide that. Just use our UMD builds (see https://github.com/stdlib-js/assert-is-function#installation). |
@kgryte Apologies. While cleaning up deps in a project I am on, I found many packages from @StdLib, many with names looking suspiciously similar to other packages that nolyfill replaces. This turns out to be due to In my initial investigation, I believe some of these deps to be false positives, hence I opened the other issue stdlib-js/stdlib#2469 instead. Based on your response I believe the core issue is that Unfortunately it looks like segment has paused development for Based on that, I doubt upstream will be able to change to UMD builds in a short amount of time. |
There are still a significant amount of indirect deps with the newest version of Looking at |
For the case of
I don't quite have the energy to manually look through package.json recursively for the rest. Someone probably has a graphviz chart somewhere. |
@Artoria2e5 For context, This stated, we are investigating a way to reduce dependency depth on base mathematical functions. But if you have concerns, questions, or opinions, I suggest you reach on stdlib's official dev channels. |
I'm seeing huge graphs in stdlib with deps which are absolutely unreal.
Examples:
@stdlib/assert-is-boolean
@stdlib/assert-is-function
The text was updated successfully, but these errors were encountered: