Remove the lodash dependency
See original GitHub issueSince this is a library, forcing the user to use lodash
is a problem.
In here there is a direct import of the whole lodash
library.
It should be either removed and functionality should be manually written,.
Or, only required functions from lodash
should be imported.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Remove lodash from dev dependencies · Issue #7972 - GitHub
Looks like GitHub recently started sending security warnings for dev dependencies. That means we'll need to refactor our dev dependencies to ...
Read more >@types/lodash.remove - npm
Start using @types/lodash.remove in your project by running `npm i ... Dependencies: @types/lodash; Global values: none ...
Read more >Get rid of whole lodash dependency when importing rx.js in a ...
Does anyone have experience how to remove whole lodash from a project if it contains rx.js? Please, share you experience. Here is my...
Read more >lodash.remove - npm Package Health Analysis - Snyk
The npm package lodash.remove was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >Lodash
A JavaScript utility library delivering consistency, modularity, performance, & extras.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, I’m currently bundling the lodash’s methods that the tree uses inside the UMD bundle (dist/angular2-tree-component.umd.js). This bundle should be loaded when using SystemJS. I believe it also hides the global
_
variable.I have solved the problem by calling lodash.js’s
noConflict()
inmain.ts
. The Global variable_
is then returned to underscore.js. Thanks!