Skip to main content
2 votes
1 answer
89 views

Could anyone tell me why this code doesn't work? html <html> <head> <script src="https://cdn.jsdelivr.net/lodash/4.6.1/lodash.min.js"></script> <script type="text/...
mykola's user avatar
  • 1,830
0 votes
0 answers
163 views

I am working on integrating a plugin into my application which resulted in lodash.js and underscore.js conflict. I have underscore.js implemented in my entire application and this plugin which I am ...
Gaurav's user avatar
  • 192
1 vote
1 answer
119 views

I have an angular and nodejs project that I recetly upgraded to angular 8. Although everything seems to be running, the compile fails due to types/lodash errors shown below. The erro I an getting is: ...
kev's user avatar
  • 21
0 votes
1 answer
63 views

I would like to overwrite all properties of an object dest by reading their values from a source object source, when they exist. I wonder whether a method in Lodash exists that does exaclty this: ...
SimoneMSR's user avatar
  • 506
0 votes
0 answers
85 views

I'm using lodash for a number of things, and all works well. That is, until I try to write stories in Histoire. Everything works, except for lodash. Anytime a component uses lodash, I get one of ...
Mat's user avatar
  • 101
0 votes
0 answers
37 views

I (new to js) need to do a security fix regarding a transitive dependency in one of our projects. The lodash transitive dependency version in babel-core dependency is being highlighted as version that ...
IFaceErrors's user avatar
0 votes
1 answer
92 views

These are the errors I'm facing in Angular 7: 22:12:30 node_modules/@types/lodash/common/collection.d.ts(753,33): error TS2304: Cannot find name 'PropertyName'. 22:12:30 node_modules/@types/lodash/...
Desu Sri Meghana's user avatar
0 votes
1 answer
77 views

I am using ANTLR 4, and it is common to instantiate a class and immediately pass it as the argument of the next class' constructor, as per the docs for the ANTLR 4 JavaScript target: import antlr4 ...
James Baw's user avatar
-2 votes
2 answers
70 views

I have been trying to deep clone a dynamic object in typescript and all methods just return an empty {} object for this specific scenario!! Here is the type of object I am trying to deep clone ...
mani-hash's user avatar
  • 904
-1 votes
1 answer
181 views

I tried way too much things, and all of them failed: const _ = require('lodash'); import _ from 'lodash'; import 'lodash'; const _ = require('https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js')...
absolutely not the the's user avatar
0 votes
1 answer
27 views

I've a textarea and I'd like to udpate text area text instantly as user enter text but I don't like to hit api after every keystroke for obvious reason for efficiency. I've tried to use debounce ...
DecPK's user avatar
  • 25.4k
1 vote
1 answer
81 views

In my React application, I'm using the lodash function set like this: set(objectToSet, fieldInObjectToSet, valueToSet); When I look at the transpiled code, I see that this line gets converted to this:...
gib65's user avatar
  • 2,039
1 vote
1 answer
231 views

import { isEqual } from 'lodash'; onSave() { const isFormsEqual = isEqual( this.loyaltyRewardsFormFacade.currentRewardsState(), this.loyaltyRewardsFormFacade.transformFormData() );...
Galaktioni Danelia's user avatar
-2 votes
1 answer
93 views

I'm trying to format string using Lodash camelCase function, but it's modifying content itself _.camelCase("Gladiator II"); 'gladiatorIi' How can I do this properly?
user avatar
0 votes
1 answer
90 views

So I am looking at this piece of code that seems like it never worked. It's basically finding a path in a json and updating its values. So it uses lodash and when I did into it, the type it is ...
BruceyBandit's user avatar
  • 4,326

15 30 50 per page
1
2 3 4 5
467