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

just-pick

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-pick - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

index.d.ts

4

index.js

@@ -6,4 +6,4 @@ module.exports = pick;

pick(obj, ['a', 'c']); // {a: 3, c: 9}
pick(obj, a, c); // {a: 3, c: 9}
pick(obj, ['a', 'b', 'd']); // {a: 3, b: 5, d: undefined}
pick(obj, 'a', 'c'); // {a: 3, c: 9}
pick(obj, ['a', 'b', 'd']); // {a: 3, b: 5}
pick(obj, ['a', 'a']); // {a: 3}

@@ -10,0 +10,0 @@ */

{
"name": "just-pick",
"version": "2.1.0",
"version": "2.2.0",
"description": "copy an object but with only the specified keys",

@@ -22,2 +22,2 @@ "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