Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

omit.js

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omit.js - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.d.ts
declare function Omit<T, K extends keyof T>(
obj: T,
keys: K[]
): Record<Exclude<keyof T, K>, {}>;
keys: Array<K>
): Pick<T, Exclude<keyof T, K>>;
export default Omit;
{
"name": "omit.js",
"version": "1.0.1",
"version": "1.0.2",
"description": "Utility function to create a shallow copy of an object which had dropped some fields.",

@@ -5,0 +5,0 @@ "main": "lib/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