New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fun-map

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fun-map - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

10

index.js
'use strict'; //jshint node:true
var has = {}.hasOwnProperty

@@ -22,3 +23,4 @@ exports.get = get

var ret = {}
Object.keys(obj).forEach(function(key) { ret[key] = obj[key] })
for (var curKey in obj) if (has.call(obj, curKey))
ret[curKey] = obj[curKey]
ret[key] = value

@@ -39,5 +41,5 @@ return ret

var ret = {}
Object.keys(obj)
.filter(function(curKey) { return curKey !== key })
.forEach(function(key) { ret[key] = obj[key] })
for (var curKey in obj) if (has.call(obj, curKey))
if (curKey !== key)
ret[curKey] = obj[curKey]
return ret

@@ -44,0 +46,0 @@ }

2

package.json
{
"name": "fun-map",
"version": "2.0.0",
"version": "2.0.1",
"description": " a few functional utilities for pretending that JS objects are Clojure string maps.",

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

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