You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fn-object

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fn-object - npm Package Compare versions

Comparing version

to
0.2.2

9

index.js

@@ -1,8 +0,3 @@

var clone = function (obj) {
var out = obj;
Object.keys(obj).forEach(function (key) {
out[key] = obj[key];
});
return out;
};
var clone = require('clone');
var objValues = function (obj) {

@@ -9,0 +4,0 @@ return Object.keys(obj).map(function (key) {

{
"name": "fn-object",
"version": "0.2.1",
"version": "0.2.2",
"description": "map and filter for object's keys and values, and get a modified object",

@@ -33,4 +33,5 @@ "main": "index.js",

"dependencies": {
"should": "^3.1.3"
"should": "^3.1.3",
"clone": "^0.1.11"
}
}

@@ -47,2 +47,3 @@ 'fn-object'

*/
```

@@ -90,2 +91,2 @@ ## Map an Object's keys

*/
```
```