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

@waiting/shared-core

Package Overview
Dependencies
Maintainers
0
Versions
199
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.19.0 to 23.19.1

2

dist/lib/callstack/util.d.ts

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

import { CallerInfo } from './types.js';
import type { CallerInfo } from './types.js';
/**

@@ -3,0 +3,0 @@ * Nodejs execution options

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

import { ISO8601String } from '@waiting/shared-types';
import type { ISO8601String } from '@waiting/shared-types';
/**

@@ -3,0 +3,0 @@ * Generate ISO 8601 string with timezone offset,

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

import { NetworkInterfaceInfo } from 'node:os';
import type { NetworkInterfaceInfo } from 'node:os';
/**

@@ -3,0 +3,0 @@ * 获取第一个网络信息,不包括回环地址信息

#!/usr/bin/env tsx
import { CreateUserOptions } from './user.types.js';
import type { CreateUserOptions } from './user.types.js';
export declare function createGroup(user: CreateUserOptions): Promise<void>;

@@ -4,0 +4,0 @@ export declare function createUser(user: CreateUserOptions): Promise<void>;

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

import { ProcInfo } from '@waiting/shared-types';
import type { ProcInfo } from '@waiting/shared-types';
export interface HumanMemoryUsage {

@@ -3,0 +3,0 @@ pid: NodeJS.Process['pid'];

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

import { CamelKeys, CamelToSnake, SnakeKeys, SnakeToCamel, SnakeToPascal } from '@waiting/shared-types';
import type { CamelKeys, CamelToSnake, SnakeKeys, SnakeToCamel, SnakeToPascal } from '@waiting/shared-types';
/**

@@ -3,0 +3,0 @@ * Convert snake to camelcase

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

import { WriteFileOptions } from 'node:fs';
import type { WriteFileOptions } from 'node:fs';
import { resolve as pathResolve } from 'node:path';

@@ -3,0 +3,0 @@ export { pathResolve };

@@ -5,3 +5,3 @@ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */

import crypto from 'node:crypto';
import { access, } from 'node:fs';
import { access } from 'node:fs';
import { mkdir, stat, writeFile, } from 'node:fs/promises';

@@ -8,0 +8,0 @@ import { dirname, normalize, resolve as pathResolve, } from 'node:path';

{
"name": "@waiting/shared-core",
"author": "waiting",
"version": "23.19.0",
"version": "23.19.1",
"description": "node core function re export with Promise or Observable",

@@ -35,9 +35,10 @@ "keywords": [

"@types/minimist": "^1.2.5",
"@waiting/shared-types": "^23.19.0",
"@waiting/shared-types": "^23.19.1",
"minimist": "^1.2.8",
"semver": "^7.6.2",
"zx": "^8.1.1"
"zx": "^8.1.4"
},
"devDependencies": {
"undici": "^6.18.1"
"@types/semver": "7",
"undici": "^6.19.2"
},

@@ -67,2 +68,3 @@ "engines": {

"build": "npm run tsc && tsc-alias && npm run rp",
"build:prod": "npm run tsc -- --declaration --declarationMap && tsc-alias && npm run rp",
"build:unit": "tsc -p test/tsconfig.json",

@@ -74,11 +76,12 @@ "clean": "npm run clean:lock && npm run clean:dist && npm run clean:log",

"clean:log": "rm -rf ./logs ./run",
"cov": "c8 --all npm run test -- --parallel=false",
"lint": "eslint --fix --cache src test",
"cov": "c8 --all npm run test --",
"lint": "eslint --fix --cache src test ",
"lint:nofix": "eslint --cache src test",
"pretest": "npm run build:unit",
"rp": "tsx bin-hashbang.js",
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha --jobs=4",
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha",
"test:deb": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha --parallel=false",
"tsc": "tsc -p tsconfig.json"
},
"gitHead": "ded0b93acfe02e9ad308adcbf4df852b49193584"
"gitHead": "ffd89abaa91638608bff8ab7955cf67013a740a4"
}

@@ -9,3 +9,3 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */

import { CallerInfo, CallerInfoBase } from './types.js'
import type { CallerInfo, CallerInfoBase } from './types.js'

@@ -12,0 +12,0 @@

/* eslint-disable @typescript-eslint/no-explicit-any */
import { ISO8601String } from '@waiting/shared-types'
import type { ISO8601String } from '@waiting/shared-types'

@@ -4,0 +4,0 @@

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

import { NetworkInterfaceInfo, networkInterfaces } from 'node:os'
import type { NetworkInterfaceInfo } from 'node:os'
import { networkInterfaces } from 'node:os'

@@ -3,0 +4,0 @@

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

import { CreateUserOptions } from './user.types.js'
import type { CreateUserOptions } from './user.types.js'

@@ -12,0 +12,0 @@

import { readFile } from 'node:fs/promises'
import {
import type {
ProcCpuinfo,

@@ -5,0 +5,0 @@ ProcInfo,

import assert from 'node:assert'
import {
import type {
CamelKeys,

@@ -5,0 +5,0 @@ CamelToSnake,

@@ -5,7 +5,5 @@ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */

import crypto from 'node:crypto'
import type { WriteFileOptions } from 'node:fs'
import { access } from 'node:fs'
import {
access,
WriteFileOptions,
} from 'node:fs'
import {
mkdir,

@@ -12,0 +10,0 @@ stat,

{
"compilerOptions": {
"baseUrl": ".",
"baseUrl": "${configDir}",
"declaration": true,
"declarationMap": true,
"declarationMap": false,
"emitDecoratorMetadata": true,

@@ -12,2 +12,3 @@ "esModuleInterop": true,

"incremental": true,
"isolatedDeclarations": false,
"module": "NodeNext",

@@ -31,2 +32,3 @@ "moduleResolution": "NodeNext",

"resolveJsonModule": true,
"rootDir": "${configDir}/src",
"skipLibCheck": true,

@@ -37,15 +39,16 @@ "sourceMap": true,

"stripInternal": true,
"target": "ES2022",
"target": "ES2023",
"tsBuildInfoFile": ".tsbuildinfo",
"types" : ["mocha", "node"]
"types" : ["mocha", "node"],
"verbatimModuleSyntax": false
},
"include": [
"src/**/*.ts"
"${configDir}/src/**/*.ts"
],
"exclude": [
"asset",
"app/public",
"app/views",
"dist",
"fixtures",
"${configDir}/asset",
"${configDir}/app/public",
"${configDir}/app/views",
"${configDir}/dist",
"${configDir}/fixtures",
"node_modules*",

@@ -52,0 +55,0 @@ "**/*.d.ts",

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

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

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