@waiting/shared-core
Advanced tools
Comparing version 23.13.0 to 23.14.0
export * from './lib/index.js'; | ||
export { $ } from 'zx'; | ||
//# sourceMappingURL=index.d.ts.map |
import { patchZxQuote } from './lib/zx.js'; | ||
export * from './lib/index.js'; | ||
patchZxQuote(); | ||
export { $ } from 'zx'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { CallerInfo } from './types.js'; | ||
@@ -3,0 +2,0 @@ /** |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import type { IncomingHttpHeaders } from 'node:http'; | ||
@@ -3,0 +2,0 @@ import type { Headers as UndiciHeaders } from 'undici'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { NetworkInterfaceInfo } from 'node:os'; | ||
@@ -3,0 +2,0 @@ /** |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { ProcInfo } from '@waiting/shared-types'; | ||
@@ -3,0 +2,0 @@ export interface HumanMemoryUsage { |
@@ -1,5 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { WriteFileOptions } from 'node:fs'; | ||
@@ -6,0 +2,0 @@ import { resolve as pathResolve } from 'node:path'; |
@@ -5,2 +5,6 @@ import assert from 'node:assert'; | ||
const needle = 'foo'; | ||
if (typeof $.quote !== 'function') { | ||
_patchZxQuote(); | ||
return; | ||
} | ||
try { | ||
@@ -17,3 +21,3 @@ const txt = $.quote(needle); | ||
assert(ex instanceof Error); | ||
if (ex.message.includes('No quote function is defined')) { | ||
if (ex.message.includes('quote')) { | ||
_patchZxQuote(); | ||
@@ -20,0 +24,0 @@ } |
{ | ||
"name": "@waiting/shared-core", | ||
"author": "waiting", | ||
"version": "23.13.0", | ||
"version": "23.14.0", | ||
"description": "node core function re export with Promise or Observable", | ||
@@ -80,3 +80,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "ddbb204bc43beb1926179b50eb9d9fb73c0da3ba" | ||
"gitHead": "47b487f80bee477f3fb168b1db0a20041ab79371" | ||
} |
@@ -7,2 +7,3 @@ import { patchZxQuote } from './lib/zx.js' | ||
patchZxQuote() | ||
export { $ } from 'zx' | ||
@@ -8,2 +8,7 @@ import assert from 'node:assert' | ||
const needle = 'foo' | ||
if (typeof $.quote !== 'function') { | ||
_patchZxQuote() | ||
return | ||
} | ||
try { | ||
@@ -20,3 +25,3 @@ const txt = $.quote(needle) | ||
assert(ex instanceof Error) | ||
if (ex.message.includes('No quote function is defined')) { | ||
if (ex.message.includes('quote')) { | ||
_patchZxQuote() | ||
@@ -23,0 +28,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
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
3261
161411