The lodash method _.set
exported as a Node.js module
This is a patched version of [email protected]
that fixes the prototype pollution security issue.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.set
In Node.js:
var set = require('lodash.set');
See the documentation or package source for more details.