babel-plugin-lodash
babel-plugin-lodash copied to clipboard
Modular Lodash builds without the hassle.
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Issue occurs in this situation ``` import _ from 'lodash'; class test { constructor() { this._ = _; // lodash is replaced with 'undefined' here } someMethod() { const value...
older versions of lodash has vulnerabilities. lodash is vulnerable to injection vulnerability. An attacker can inject malicious code via `sourceURL` since it is not sanitized for the user-provided code that...
It could help people if they are on a large codebase
I'm trying to use the useLocation hook of react-router-dom but what I received was ` The 'react-router-dom' method `useLocation` is not a known module. Please report bugs to https://github.com/lodash/babel-plugin-lodash/issues.` Please...
``` import _ from 'lodash'; const someObj = { fn: (onClick=_.noop) { /* do something */ onClick(); } } ``` When running this in certain environments (specifically jest with --coverage...
Although I can't seem to reproduce this with the `lodash` module, it affects others. I suspect that has to do with the differentiation between `pkgStore`s where `.isLodash()` is used to...
Hi all! It would be fantastic to have the ability to configure what "mainFields" to resolve similar to webpack. Right now I have a main field that points to `lib/index.js`....
https://github.com/julien-f/issue-babel-plugin-lodash-import-export
This plugin gives `TypeError: src/components/PasswordReset/PasswordReset.jsx: Cannot read property 'forEach' of undefined` when using `cwd` and `id`. Example: ```json { "plugins": [["lodash", { "id": ["material-ui", "redux-form-material-ui"], "cwd": "./deep/dir" }]] } ```...