New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@waiting/shared-core

Package Overview
Dependencies
Maintainers
0
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waiting/shared-core - npm Package Compare versions

Comparing version 23.25.5 to 23.26.0

dist/lib/format.d.ts

1

dist/index.d.ts
export * from './lib/index.js';
export { $ } from 'zx';
//# sourceMappingURL=index.d.ts.map

@@ -5,2 +5,1 @@ export declare function assertNever(x: never): never;

*/
//# sourceMappingURL=asset.d.ts.map
export type * from './types.js';
export * from './util.js';
//# sourceMappingURL=index.d.ts.map

@@ -19,2 +19,1 @@ export interface CallerInfo extends CallerInfoBase {

}
//# sourceMappingURL=types.d.ts.map

@@ -24,2 +24,1 @@ import type { CallerInfo } from './types.js';

export declare function getStackCallerSites(stackTraceLimit?: number): NodeJS.CallSite[];
//# sourceMappingURL=util.d.ts.map
import minimist from 'minimist';
export declare function retrieveArgsFromProcess<T extends minimist.ParsedArgs = minimist.ParsedArgs>(processArgv?: string[]): T;
//# sourceMappingURL=cli.d.ts.map
export declare const isWin32: boolean;
export declare const userHome: string;
export declare const defaultPropDescriptor: PropertyDescriptor;
//# sourceMappingURL=consts.d.ts.map

@@ -12,2 +12,1 @@ import type { ISO8601String } from '@waiting/shared-types';

export declare function formatDateTime(input: number | string | Date, locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;
//# sourceMappingURL=date.d.ts.map

@@ -8,3 +8,3 @@ /**

export function genISO8601String(date) {
const dd = date ? date : new Date();
const dd = date ?? new Date();
const tzo = -dd.getTimezoneOffset();

@@ -11,0 +11,0 @@ const dif = tzo >= 0 ? '+' : '-';

@@ -6,2 +6,1 @@ /**

export declare function getKeyByEnumValue<T extends Record<string, unknown>>(enumType: T, enumValue: string | number): keyof T | undefined;
//# sourceMappingURL=enum.d.ts.map

@@ -19,2 +19,1 @@ export interface GenErrorOptions {

export declare function genError(options: GenErrorOptions): Error;
//# sourceMappingURL=error.d.ts.map

@@ -5,2 +5,1 @@ export type FnCallParam = string | string[] | readonly string[];

export declare function expandFFIParamArray(input: FnCallParams): FnParamsExpand;
//# sourceMappingURL=ffi.d.ts.map

@@ -7,2 +7,1 @@ /**

export declare function genAbsolutePath(path: string, fileUrlPrefix?: boolean): string;
//# sourceMappingURL=file.d.ts.map
import type { MethodTypeUnknown } from '@waiting/shared-types';
export declare function isArrowFunction(fn: MethodTypeUnknown): boolean;
//# sourceMappingURL=function.d.ts.map

@@ -33,2 +33,1 @@ export declare const appDir: string;

export declare function nFormatter(positiveNum: number, digits?: number, separator?: string): string;
//# sourceMappingURL=helper.d.ts.map
import type { IncomingHttpHeaders } from 'node:http';
import type { Headers as UndiciHeaders } from 'undici';
export declare function retrieveHeadersItem(headers: IncomingHttpHeaders | HeadersInit | UndiciHeaders | undefined, name: string): string | undefined;
//# sourceMappingURL=http.d.ts.map

@@ -9,2 +9,3 @@ export * from './asset.js';

export * from './file.js';
export * from './format.js';
export * from './function.js';

@@ -23,2 +24,1 @@ export * from './utils.js';

export * from './callstack/index.js';
//# sourceMappingURL=index.d.ts.map

@@ -10,2 +10,3 @@ /* eslint-disable import/max-dependencies */

export * from './file.js';
export * from './format.js';
export * from './function.js';

@@ -12,0 +13,0 @@ export * from './utils.js';

@@ -11,2 +11,1 @@ /**

export declare function bigIntMax(...args: bigint[]): bigint;
//# sourceMappingURL=math.d.ts.map

@@ -5,2 +5,1 @@ /**

export declare function saveHeapSnapshot(path: string): Promise<void>;
//# sourceMappingURL=memory.d.ts.map

@@ -5,2 +5,1 @@ /**

export declare function genModuleAbsolutePathIfExists(projectDir: string, modulePath: string): Promise<string | undefined>;
//# sourceMappingURL=module.d.ts.map

@@ -10,2 +10,1 @@ import type { NetworkInterfaceInfo } from 'node:os';

export declare function retrieveExternalNetWorkInfo(): NetworkInterfaceInfo[];
//# sourceMappingURL=net.d.ts.map

@@ -9,2 +9,1 @@ import type { NpmPkgView } from '@waiting/shared-types';

export declare function compareVersions(version1: string, version2: string): number;
//# sourceMappingURL=npm-pkg.d.ts.map
export * from './ssh.shell.js';
export * from './user.shell.js';
export * from './user.types.js';
//# sourceMappingURL=index.shell.d.ts.map
#!/usr/bin/env tsx
export declare function updateSshAllowUser(userName: string): Promise<void>;
//# sourceMappingURL=ssh.shell.d.ts.map

@@ -9,2 +9,1 @@ #!/usr/bin/env tsx

export declare function userExists(userName: string): Promise<boolean>;
//# sourceMappingURL=user.shell.d.ts.map

@@ -38,2 +38,1 @@ export interface CreateUserOptions {

}
//# sourceMappingURL=user.types.d.ts.map

@@ -19,2 +19,1 @@ import type { ProcInfo } from '@waiting/shared-types';

export declare function retrieveProcInfo(items?: ProcInfoItem[]): Promise<Partial<ProcInfo>>;
//# sourceMappingURL=stats.d.ts.map

@@ -59,2 +59,1 @@ import type { CamelKeys, CamelToSnake, SnakeKeys, SnakeToCamel, SnakeToPascal } from '@waiting/shared-types';

delimiter?: D, recursive?: Recursive): SnakeKeys<T, D, Recursive>;
//# sourceMappingURL=string.d.ts.map

@@ -180,3 +180,2 @@ import assert from 'node:assert';

writable: true,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
value,

@@ -209,3 +208,2 @@ });

writable: true,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
value,

@@ -212,0 +210,0 @@ });

@@ -59,2 +59,1 @@ import type { WriteFileOptions } from 'node:fs';

export declare function genRandomString(length?: number): string;
//# sourceMappingURL=utils.d.ts.map
import type { MiddlewarePathPattern } from '@waiting/shared-types';
export declare function isPathMatchRules(path: string, rules?: MiddlewarePathPattern): boolean;
//# sourceMappingURL=web.d.ts.map
export declare function patchZxQuote(): void;
export declare function _patchZxQuote(): void;
//# sourceMappingURL=zx.d.ts.map
{
"name": "@waiting/shared-core",
"author": "waiting",
"version": "23.25.5",
"version": "23.26.0",
"description": "node core function re export with Promise or Observable",

@@ -83,3 +83,3 @@ "keywords": [

},
"gitHead": "4ca5b920b1f149fd54062170c94d9a51ddef6619"
"gitHead": "dc32f8aaefb2c405d654b82e152809046a06e3a0"
}

@@ -12,3 +12,3 @@

export function genISO8601String(date?: Date): ISO8601String {
const dd = date ? date : new Date()
const dd = date ?? new Date()
const tzo = -dd.getTimezoneOffset()

@@ -15,0 +15,0 @@ const dif = tzo >= 0 ? '+' : '-'

@@ -11,2 +11,3 @@ /* eslint-disable import/max-dependencies */

export * from './file.js'
export * from './format.js'
export * from './function.js'

@@ -13,0 +14,0 @@ export * from './utils.js'

@@ -245,3 +245,3 @@ import assert from 'node:assert'

writable: true,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
value,

@@ -287,3 +287,3 @@ })

writable: true,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
value,

@@ -290,0 +290,0 @@ })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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