Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.2.1 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

*/
```
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc