🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

object-map

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-map - npm Package Compare versions

Comparing version

to
1.0.1

2

package.json
{
"name": "object-map",
"version": "1.0.0",
"version": "1.0.1",
"description": "Map a function over some Object's values to produce a new Object.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -29,10 +29,10 @@ Map a function over the values of an Object to produce a new Object with the same keys.

`target` an object who's properties are iterated using `hasOwnProperty`
`callback` a function producing a value of the new Object, taking three arguments:
`currentValue` the value currently associated with the key
`key` the current key
`object` the original object passed to `objectMap`
`thisArg` Optional. Value to use as `this` when executing `callback`.
- `target` an object who's properties are iterated using `hasOwnProperty`
- `callback` a function producing a value of the new Object, taking three arguments:
- `currentValue` the value currently associated with the key
- `key` the current key
- `object` the original object passed to `objectMap`
- `thisArg` Optional. Value to use as `this` when executing `callback`.
## License
[MIT](https://tldrlegal.com/license/mit-license)