Socket
Socket
Sign inDemoInstall

oberknecht-utils

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oberknecht-utils - npm Package Compare versions

Comparing version 1.8.6 to 1.8.7

lib-js/utils/arrayModifiers/remove.d.ts

2

lib-js/types/extendedTypes.d.ts

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

export type extendedTypes = "array" | "json" | "null" | "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
export declare type extendedTypes = "array" | "json" | "null" | "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";

@@ -1,5 +0,5 @@

export type getKeyArraysFromObjectEntry = {
export declare type getKeyArraysFromObjectEntry = {
path: string[];
value: any;
};
export type getKeyArraysFromObjectReturn = getKeyArraysFromObjectEntry[];
export declare type getKeyArraysFromObjectReturn = getKeyArraysFromObjectEntry[];

@@ -27,4 +27,4 @@ export declare const logColors: {

export declare const logColorValues: ("0" | "1" | "2" | "4" | "5" | "7" | "8" | "33" | "34" | "35" | "36" | "37" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "30" | "31" | "32")[];
type logColorValueType = typeof logColorValues[number];
export type logOptConfigType = {
declare type logColorValueType = typeof logColorValues[number];
export declare type logOptConfigType = {
option?: number;

@@ -31,0 +31,0 @@ logColorFG?: logColorValueType;

import { splice } from "./arrayModifiers/splice";
import { moveByIndex } from "./arrayModifiers/moveByIndex";
import { removeArrayDuplicates } from ".";
import { arrayInsert, removeArrayDuplicates } from ".";
import { push } from "./arrayModifiers/push";
import { remove } from "./arrayModifiers/remove";
export declare class arrayModifiers {
static arrayInsert: typeof arrayInsert;
static splice: typeof splice;

@@ -10,2 +12,3 @@ static moveByIndex: typeof moveByIndex;

static push: typeof push;
static remove: typeof remove;
}

@@ -8,3 +8,5 @@ "use strict";

const push_1 = require("./arrayModifiers/push");
const remove_1 = require("./arrayModifiers/remove");
class arrayModifiers {
static arrayInsert = _1.arrayInsert;
static splice = splice_1.splice;

@@ -14,3 +16,4 @@ static moveByIndex = moveByIndex_1.moveByIndex;

static push = push_1.push;
static remove = remove_1.remove;
}
exports.arrayModifiers = arrayModifiers;

@@ -1,3 +0,3 @@

type arrTypeReturn<T> = T extends any[] ? any : T;
declare type arrTypeReturn<T> = T extends any[] ? any : T;
export declare function dissolveArray<arrType extends Array<string | number | any>>(...arr: arrType): arrTypeReturn<arrType>[];
export {};

@@ -1,2 +0,2 @@

export type errorMsgChecker = (cb: string) => {};
export declare type errorMsgChecker = (cb: string) => {};
export declare function isConstructor(f: any, errorMsgChecker?: errorMsgChecker): boolean;
import { logOptConfigType } from "../types/log";
declare const logOpts: number[];
type logOptsType = typeof logOpts[number];
declare type logOptsType = typeof logOpts[number];
export declare function log(logOpt: logOptConfigType | logOptsType | any, ...logMsg: any): void;
export {};

@@ -1,2 +0,2 @@

export type BadgesMap = Record<string, string>;
export declare type BadgesMap = Record<string, string>;
export declare function messageBadges(badges: string): BadgesMap;

@@ -1,2 +0,2 @@

export type messageEmote = {
export declare type messageEmote = {
id: string;

@@ -6,3 +6,3 @@ start: number;

};
export type messageEmotesReturn = Array<messageEmote>;
export declare type messageEmotesReturn = Array<messageEmote>;
export declare function messageEmotes(rawEmotes: string): messageEmotesReturn;

@@ -1,2 +0,2 @@

type processArgEntry = {
declare type processArgEntry = {
keys: string[];

@@ -7,4 +7,4 @@ allowArgs?: boolean;

};
type processArgsType = Record<string, processArgEntry>;
declare type processArgsType = Record<string, processArgEntry>;
export declare function parseProcessArgs(args: typeof process.argv, processArgs?: processArgsType): processArgsType;
export {};

@@ -1,2 +0,2 @@

export type stackNameReturnType = [string, string[], string[], string];
export declare type stackNameReturnType = [string, string[], string[], string];
export declare function stackName(): stackNameReturnType;
import { splice } from "./arrayModifiers/splice";
import { moveByIndex } from "./arrayModifiers/moveByIndex";
import { removeArrayDuplicates } from ".";
import { arrayInsert, removeArrayDuplicates } from ".";
import { push } from "./arrayModifiers/push";
import { remove } from "./arrayModifiers/remove";
export class arrayModifiers {
static arrayInsert = arrayInsert;
static splice = splice;

@@ -11,2 +13,3 @@ static moveByIndex = moveByIndex;

static push = push;
static remove = remove;
}
{
"name": "oberknecht-utils",
"version": "1.8.6",
"version": "1.8.7",
"description": "Utils for oberknecht packages",

@@ -5,0 +5,0 @@ "main": "./lib-ts/utils/index",

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