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

appolo-utils

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appolo-utils - npm Package Compare versions

Comparing version 0.0.44 to 0.0.45

4

lib/objects.js

@@ -83,3 +83,3 @@ "use strict";

}
static pick(obj, pick) {
static pick(obj, ...pick) {
let out = {};

@@ -92,3 +92,3 @@ for (let i = 0; i < pick.length; i++) {

}
static omit(obj, omit) {
static omit(obj, ...omit) {
let out = {}, keys = Object.keys(obj || {}), omitIndex = arrays_1.Arrays.keyBy(omit);

@@ -95,0 +95,0 @@ for (let i = 0; i < keys.length; i++) {

@@ -114,3 +114,3 @@ import {Arrays} from "./arrays";

public static pick<T extends object, U extends keyof T>(obj: T, pick: U[]): Pick<T, U> {
public static pick<T extends object, U extends keyof T>(obj: T, ...pick: U[]): Pick<T, U> {
let out: any = {};

@@ -125,3 +125,3 @@ for (let i = 0; i < pick.length; i++) {

public static omit<T extends object, U extends keyof T>(obj: T, omit: U[]): Omit<T, U> {
public static omit<T extends object, U extends keyof T>(obj: T, ...omit: U[]): Omit<T, U> {
let out: any = {}, keys = Object.keys(obj || {}), omitIndex = Arrays.keyBy(omit);

@@ -128,0 +128,0 @@ for (let i = 0; i < keys.length; i++) {

@@ -17,3 +17,3 @@ {

"main": "./index.js",
"version": "0.0.44",
"version": "0.0.45",
"license": "MIT",

@@ -20,0 +20,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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