Comments (4)
@KVROHITH098 Hi, what did you mean it fixed? I opened the link you provided and the version is 3.x so it did work.
but if you switch the version to 4.x it breaks!
from set-value.
I think the only way to sensibly handle arrays without breaking objects with numeric-string keys is to handle bracket notation like lodash does. eg a.b[0].c
from set-value.
@patrickfatrick Ditto, It should be more explicit than just turning everything into array with numeric keys.
from set-value.
I just experienced this issue during development. It was pretty surprising that the set-value call was deleting my data :|
At least an option to toggle this would be nice...
from set-value.
Related Issues (20)
- Escape of \.
- TypeError: Cannot read property of null
- Setting empty object HOT 2
- Quarantine [email protected] HOT 4
- Patch versions for older majors? HOT 8
- Whitesource scan vulnerability on set-value HOT 1
- add options to support array HOT 2
- Is the returned object a new object or the same object passed? HOT 2
- Final target prop set to {} first, doesn't place nice with reactive setter HOT 3
- Problems with Path of numbers array HOT 2
- Trying to get in touch regarding a security issue HOT 2
- Is this the expected result? HOT 5
- Feature request: Insert to Array option
- upgrade 2.0.1 to 4.0.1 to fix the vulnerability. HOT 5
- CHANGELOG for v2 → v3 → v4 (list of breaking changes) HOT 1
- Does not support named or array index correctly.
- Unable to run benchmark on Windows
- Backported fix for CVE-2021-23440 to 2.0.1 HOT 1
- .
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from set-value.