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

jmisc

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

jmisc - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

cjs/obj.d.ts
import type { Except, Get } from 'type-fest';
export declare function isObject(obj: any): boolean;
export declare function recursiveSet<T, P extends string>(obj: T, [path, ...paths]: P[], val: any): T;

@@ -16,4 +17,3 @@ export declare function deepHas<T, P extends string>(obj: T, path: P): boolean;

export declare const emptyObject: {};
export declare function isObject(obj: any): boolean;
export declare function zip<T extends Iterable<any>>(...iterables: T[]): Generator<any[], void, unknown>;
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zip = exports.isObject = exports.emptyObject = exports.emptyArray = exports.objectMap = exports.pluck = exports.omit = exports.pick = exports.deepPick = exports.set = exports.get = exports.deepHas = exports.recursiveSet = void 0;
exports.zip = exports.emptyObject = exports.emptyArray = exports.objectMap = exports.pluck = exports.omit = exports.pick = exports.deepPick = exports.set = exports.get = exports.deepHas = exports.recursiveSet = exports.isObject = void 0;
// [] => true
// primitive (string, number, bigint, boolean, null, undefined) => false
// object => true
// function => true
function isObject(obj) {
return obj === Object(obj);
}
exports.isObject = isObject;
function recursiveSet(obj, [path, ...paths], val) {

@@ -20,3 +28,3 @@ if (path === undefined)

for (const k of path.split('.'))
if (k in obj)
if (isObject(obj) && k in obj)
obj = obj[k];

@@ -30,3 +38,3 @@ else

for (const k of path.split('.'))
if (k in obj)
if (isObject(obj) && k in obj)
obj = obj[k];

@@ -43,3 +51,3 @@ else

function deepPick(obj, keys) {
return Object.fromEntries(keys.filter(key => obj && key in obj)
return Object.fromEntries(keys.filter(key => isObject(obj) && key in obj)
.map(key => [key, get(obj, key)]));

@@ -49,3 +57,3 @@ }

function pick(obj, ...keys) {
return Object.fromEntries(keys.filter(key => key in obj)
return Object.fromEntries(keys.filter(key => isObject(obj) && key in obj)
.map(key => [key, obj[key]]));

@@ -70,10 +78,2 @@ }

exports.emptyObject = {};
// [] => true
// primitive (string, number, bigint, boolean, null, undefined) => false
// object => true
// function => true
function isObject(obj) {
return obj === Object(obj);
}
exports.isObject = isObject;
function* zip(...iterables) {

@@ -89,2 +89,2 @@ const iterators = iterables.map(iterable => iterable[Symbol.iterator]());

exports.zip = zip;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL29iai50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFFQSxTQUFnQixZQUFZLENBQXNCLEdBQU0sRUFBRSxDQUFDLElBQUksRUFBRSxHQUFHLEtBQUssQ0FBTSxFQUFFLEdBQVE7SUFDeEYsSUFBSSxJQUFJLEtBQUssU0FBUztRQUFFLE9BQU8sR0FBRyxDQUFBO0lBQ2xDLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUN2QixNQUFNLEtBQUssR0FBUSxDQUFDLEdBQUcsR0FBRyxDQUFDLENBQUE7UUFDM0IsS0FBSyxDQUFDLElBQUksQ0FBQyxHQUFHLFlBQVksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLEVBQUUsS0FBSyxFQUFFLEdBQUcsQ0FBQyxDQUFBO1FBQ25ELE9BQU8sS0FBSyxDQUFBO0tBQ1o7SUFDRCxPQUFPO1FBQ04sR0FBRyxHQUFHO1FBQ04sQ0FBQyxJQUFJLENBQUMsRUFBRSxZQUFZLENBQUUsR0FBVyxDQUFDLElBQUksQ0FBQyxFQUFFLEtBQUssRUFBRSxHQUFHLENBQUM7S0FDcEQsQ0FBQTtBQUNGLENBQUM7QUFYRCxvQ0FXQztBQUVELFNBQWdCLE9BQU8sQ0FBc0IsR0FBTSxFQUFFLElBQU87SUFDM0QsS0FDQyx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6QztBQUNGLENBQUM7QUFURCxrQkFTQyJ9
import type { Except, Get } from 'type-fest';
export declare function isObject(obj: any): boolean;
export declare function recursiveSet<T, P extends string>(obj: T, [path, ...paths]: P[], val: any): T;

@@ -16,4 +17,3 @@ export declare function deepHas<T, P extends string>(obj: T, path: P): boolean;

export declare const emptyObject: {};
export declare function isObject(obj: any): boolean;
export declare function zip<T extends Iterable<any>>(...iterables: T[]): Generator<any[], void, unknown>;
export {};

@@ -0,1 +1,8 @@

// [] => true
// primitive (string, number, bigint, boolean, null, undefined) => false
// object => true
// function => true
export function isObject(obj) {
return obj === Object(obj);
}
export function recursiveSet(obj, [path, ...paths], val) {

@@ -16,3 +23,3 @@ if (path === undefined)

for (const k of path.split('.'))
if (k in obj)
if (isObject(obj) && k in obj)
obj = obj[k];

@@ -25,3 +32,3 @@ else

for (const k of path.split('.'))
if (k in obj)
if (isObject(obj) && k in obj)
obj = obj[k];

@@ -36,7 +43,7 @@ else

export function deepPick(obj, keys) {
return Object.fromEntries(keys.filter(key => obj && key in obj)
return Object.fromEntries(keys.filter(key => isObject(obj) && key in obj)
.map(key => [key, get(obj, key)]));
}
export function pick(obj, ...keys) {
return Object.fromEntries(keys.filter(key => key in obj)
return Object.fromEntries(keys.filter(key => isObject(obj) && key in obj)
.map(key => [key, obj[key]]));

@@ -57,9 +64,2 @@ }

export const emptyObject = {};
// [] => true
// primitive (string, number, bigint, boolean, null, undefined) => false
// object => true
// function => true
export function isObject(obj) {
return obj === Object(obj);
}
export function* zip(...iterables) {

@@ -74,2 +74,2 @@ const iterators = iterables.map(iterable => iterable[Symbol.iterator]());

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL29iai50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLFVBQVUsWUFBWSxDQUFzQixHQUFNLEVBQUUsQ0FB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O0lBRWpCLE1BQU0sU0FBUyxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FBQTtJQUN4RSxPQUFPLElBQUksRUFBRTtRQUNaLE1BQU0sT0FBTyxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxRQUFRLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQTtRQUMxRCxJQUFJLE9BQU8sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDO1lBQUUsTUFBSztRQUM5QyxNQUFNLE9BQU8sQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUE7S0FDekM7QUFDRixDQUFDIn0=
{
"name": "jmisc",
"version": "0.0.12",
"version": "0.0.13",
"main": "cjs/index.js",

@@ -11,3 +11,6 @@ "exports": {

},
"repository": "https://github.com/tranvansang/jsmisc.git",
"repository": {
"type": "git",
"url": "git+https://github.com/tranvansang/jsmisc.git"
},
"author": "Sang Tran <t@sang.jp>",

@@ -14,0 +17,0 @@ "license": "MIT",

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