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

@livechat/data-utils

Package Overview
Dependencies
Maintainers
9
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livechat/data-utils - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

dist/data-utils.es.js

@@ -1073,4 +1073,4 @@ /**

*/
function pick(props, obj) {
return props.reduce(function (acc, prop) {
function pick(keys, obj) {
return keys.reduce(function (acc, prop) {
acc[prop] = obj[prop];

@@ -1077,0 +1077,0 @@ return acc;

@@ -1077,4 +1077,4 @@ 'use strict';

*/
function pick(props, obj) {
return props.reduce(function (acc, prop) {
function pick(keys, obj) {
return keys.reduce(function (acc, prop) {
acc[prop] = obj[prop];

@@ -1081,0 +1081,0 @@ return acc;

@@ -1079,4 +1079,4 @@ (function (global, factory) {

*/
function pick(props, obj) {
return props.reduce(function (acc, prop) {
function pick(keys, obj) {
return keys.reduce(function (acc, prop) {
acc[prop] = obj[prop];

@@ -1083,0 +1083,0 @@ return acc;

{
"name": "@livechat/data-utils",
"version": "1.0.1",
"version": "1.0.2",
"description": "Collection of utility functions",

@@ -5,0 +5,0 @@ "contributors": [

@@ -8,3 +8,3 @@ import type { AnyObject } from './types';

*/
export default function omit<T extends AnyObject, K extends keyof T>(keys: K[], obj: T): Omit<T, K>;
export default function omit<T extends AnyObject, K extends keyof T>(keys: readonly K[], obj: T): Omit<T, K>;
//# sourceMappingURL=omit.d.ts.map

@@ -8,3 +8,3 @@ import type { AnyObject } from './types';

*/
export default function pick<T extends AnyObject, K extends keyof T>(props: K[], obj: T): Pick<T, K>;
export default function pick<T extends AnyObject, K extends keyof T>(keys: readonly K[], obj: T): Pick<T, K>;
//# sourceMappingURL=pick.d.ts.map
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