diff --git a/.yarn/cache/@eslint-js-npm-8.47.0-ecde461ef4-0ef57fe27b.zip b/.yarn/cache/@eslint-js-npm-8.47.0-ecde461ef4-0ef57fe27b.zip deleted file mode 100644 index 643887f7..00000000 Binary files a/.yarn/cache/@eslint-js-npm-8.47.0-ecde461ef4-0ef57fe27b.zip and /dev/null differ diff --git a/.yarn/cache/@lerna-child-process-npm-7.1.5-ac39361558-80dab3cf50.zip b/.yarn/cache/@lerna-child-process-npm-7.1.5-ac39361558-80dab3cf50.zip deleted file mode 100644 index d1ff8743..00000000 Binary files a/.yarn/cache/@lerna-child-process-npm-7.1.5-ac39361558-80dab3cf50.zip and /dev/null differ diff --git a/.yarn/cache/@lerna-create-npm-7.1.5-b762f0d754-23791e8a21.zip b/.yarn/cache/@lerna-create-npm-7.1.5-b762f0d754-23791e8a21.zip deleted file mode 100644 index 392aa3bb..00000000 Binary files a/.yarn/cache/@lerna-create-npm-7.1.5-b762f0d754-23791e8a21.zip and /dev/null differ diff --git a/.yarn/cache/@types-node-npm-20.5.6-f7a7eed369-d2ce44f1cf.zip b/.yarn/cache/@types-node-npm-20.5.6-f7a7eed369-d2ce44f1cf.zip deleted file mode 100644 index f250f5ba..00000000 Binary files a/.yarn/cache/@types-node-npm-20.5.6-f7a7eed369-d2ce44f1cf.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.4.1-ca54b1c98d-aa5f2f516a.zip b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.4.1-ca54b1c98d-aa5f2f516a.zip deleted file mode 100644 index a4634806..00000000 Binary files a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.4.1-ca54b1c98d-aa5f2f516a.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-parser-npm-6.4.1-ef0b2084c0-cb61c75796.zip b/.yarn/cache/@typescript-eslint-parser-npm-6.4.1-ef0b2084c0-cb61c75796.zip deleted file mode 100644 index 9a742430..00000000 Binary files a/.yarn/cache/@typescript-eslint-parser-npm-6.4.1-ef0b2084c0-cb61c75796.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-scope-manager-npm-6.4.1-0378ab87b6-8f7f90aa37.zip b/.yarn/cache/@typescript-eslint-scope-manager-npm-6.4.1-0378ab87b6-8f7f90aa37.zip deleted file mode 100644 index ec8ac095..00000000 Binary files a/.yarn/cache/@typescript-eslint-scope-manager-npm-6.4.1-0378ab87b6-8f7f90aa37.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-type-utils-npm-6.4.1-788738a0ab-33bcdd48bd.zip b/.yarn/cache/@typescript-eslint-type-utils-npm-6.4.1-788738a0ab-33bcdd48bd.zip deleted file mode 100644 index d31959fe..00000000 Binary files a/.yarn/cache/@typescript-eslint-type-utils-npm-6.4.1-788738a0ab-33bcdd48bd.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-types-npm-6.4.1-2759101779-16ba46140d.zip b/.yarn/cache/@typescript-eslint-types-npm-6.4.1-2759101779-16ba46140d.zip deleted file mode 100644 index 248a21d7..00000000 Binary files a/.yarn/cache/@typescript-eslint-types-npm-6.4.1-2759101779-16ba46140d.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.4.1-c5c4227ffc-34c289e50a.zip b/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.4.1-c5c4227ffc-34c289e50a.zip deleted file mode 100644 index 4860ef9d..00000000 Binary files a/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.4.1-c5c4227ffc-34c289e50a.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-utils-npm-6.4.1-803247191b-54e642a345.zip b/.yarn/cache/@typescript-eslint-utils-npm-6.4.1-803247191b-54e642a345.zip deleted file mode 100644 index 5858a492..00000000 Binary files a/.yarn/cache/@typescript-eslint-utils-npm-6.4.1-803247191b-54e642a345.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.4.1-76b1bc6748-bd9cd56fc7.zip b/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.4.1-76b1bc6748-bd9cd56fc7.zip deleted file mode 100644 index 9dc4bb46..00000000 Binary files a/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.4.1-76b1bc6748-bd9cd56fc7.zip and /dev/null differ diff --git a/.yarn/cache/eslint-npm-8.47.0-84c6b60ea8-1988617f70.zip b/.yarn/cache/eslint-npm-8.47.0-84c6b60ea8-1988617f70.zip deleted file mode 100644 index 1f79008b..00000000 Binary files a/.yarn/cache/eslint-npm-8.47.0-84c6b60ea8-1988617f70.zip and /dev/null differ diff --git a/.yarn/cache/lerna-npm-7.1.5-ef291ca31c-9f45618e0f.zip b/.yarn/cache/lerna-npm-7.1.5-ef291ca31c-9f45618e0f.zip deleted file mode 100644 index ea0246b9..00000000 Binary files a/.yarn/cache/lerna-npm-7.1.5-ef291ca31c-9f45618e0f.zip and /dev/null differ diff --git a/package.json b/package.json index 1c1ab989..bf5f0ab3 100644 --- a/package.json +++ b/package.json @@ -23,15 +23,15 @@ "@commitlint/cli": "^17.7.1", "@commitlint/config-conventional": "^17.7.0", "@types/jest": "^29.5.4", - "@types/node": "^20.5.6", - "@typescript-eslint/eslint-plugin": "^6.4.1", - "@typescript-eslint/parser": "^6.4.1", + "@types/node": "^20.5.7", + "@typescript-eslint/eslint-plugin": "^6.5.0", + "@typescript-eslint/parser": "^6.5.0", "cross-env": "^7.0.3", - "eslint": "^8.47.0", + "eslint": "^8.48.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-unused-imports": "^3.0.0", "jest": "^29.6.4", - "lerna": "^7.1.5", + "lerna": "^7.2.0", "rimraf": "^5.0.1", "ts-jest": "^29.1.1", "typescript": "^5.2.2" diff --git a/packages/fs/package.json b/packages/fs/package.json index 3f7f8885..0eeace89 100644 --- a/packages/fs/package.json +++ b/packages/fs/package.json @@ -38,7 +38,7 @@ "@bunt/unit": "^0.29.13", "@types/minio": "^7.1.1", "@types/node-fetch": "^2.6.4", - "minio": "^7.1.1", + "minio": "^7.1.2", "node-fetch": "2.7.0" }, "license": "MIT" diff --git a/packages/is/src/index.ts b/packages/is/src/index.ts index d81cf40c..e6a3c0a1 100644 --- a/packages/is/src/index.ts +++ b/packages/is/src/index.ts @@ -12,9 +12,7 @@ export const isNumber = (value: unknown): value is number => { }; export const isNullish = (value: unknown): value is null | undefined => isNull(value) || isUndefined(value); -export const isNotNullish = (value: T | null | undefined): value is null | undefined => ( - !(isNull(value) || isUndefined(value)) -); +export const isNotNullish = (value: T | null | undefined): value is T => !isNullish(value); export const isFunction = any>(value: unknown): value is T => { return typeof value === "function" && !isClass(value); diff --git a/packages/is/test/src/is.test.ts b/packages/is/test/src/is.test.ts index b241131d..03acd093 100644 --- a/packages/is/test/src/is.test.ts +++ b/packages/is/test/src/is.test.ts @@ -2,6 +2,8 @@ import { isArray, isArrowFunction, isBoolean, + isNotNullish, + isNullish, isClass, isDefined, isFunction, @@ -23,7 +25,7 @@ describe("is", () => { const objectValue = {}; const NaNValue = NaN; const undefinedValue = undefined; - const functionValue = function test() {return null;}; + const functionValue = function test(): null {return null;}; const arrowFunctionValue = () => void 0; const stringValue = "hello"; const booleanValue1 = true; @@ -86,6 +88,18 @@ describe("is", () => { }, ); + test.each(make((v) => isNull(v) || isUndefined(v)))( + "isNullish(%s): %s", (a, b) => { + expect(isNullish(a)).toBe(b); + }, + ); + + test.each(make((v) => !isNullish(v)))( + "isNotNullish(%s): %s", (a, b) => { + expect(isNotNullish(a)).toBe(b); + }, + ); + test.each(make((v) => v === stringValue))( "isString(%s): %s", (a, b) => { expect(isString(a)).toBe(b); diff --git a/packages/util/src/Async/AsyncCallback.ts b/packages/util/src/Async/AsyncCallback.ts index 4851d6e4..ca856393 100644 --- a/packages/util/src/Async/AsyncCallback.ts +++ b/packages/util/src/Async/AsyncCallback.ts @@ -1,6 +1,6 @@ import {bind} from "../decorator.js"; import {Promisify, Fn} from "../interfaces.js"; -import {isUndefined} from "../is.js"; +import {isUndefined} from "@bunt/is"; /** * @deprecated use @bunt/async AsyncIteratorFactory diff --git a/packages/util/src/Async/AsyncState.ts b/packages/util/src/Async/AsyncState.ts index a5f1f24f..387101ff 100644 --- a/packages/util/src/Async/AsyncState.ts +++ b/packages/util/src/Async/AsyncState.ts @@ -1,4 +1,4 @@ -import {isDefined} from "../is.js"; +import {isDefined} from "@bunt/is"; export interface IAsyncStateMap { resolve: (value: T | PromiseLike) => void; diff --git a/packages/util/src/Exception/AssertionError.ts b/packages/util/src/Exception/AssertionError.ts index 01eff78e..ad1c88ff 100644 --- a/packages/util/src/Exception/AssertionError.ts +++ b/packages/util/src/Exception/AssertionError.ts @@ -1,4 +1,4 @@ -import {isFunction} from "../is.js"; +import {isFunction} from "@bunt/is"; import {ILogable} from "../Logger/index.js"; import {ValidationError} from "./ValidationError.js"; diff --git a/packages/util/src/Logger/Logger.ts b/packages/util/src/Logger/Logger.ts index 85c9ad0a..f541d4a1 100644 --- a/packages/util/src/Logger/Logger.ts +++ b/packages/util/src/Logger/Logger.ts @@ -1,7 +1,7 @@ import * as os from "os"; import {format} from "util"; import {assert} from "../assert.js"; -import {isDefined, isFunction, isInstanceOf, isNumber, isUndefined} from "../is.js"; +import {isDefined, isFunction, isInstanceOf, isNumber, isUndefined} from "@bunt/is"; import {Perf} from "../Perf/index.js"; import {makeSafe} from "../function.js"; import {Promisify} from "../interfaces.js"; diff --git a/packages/util/src/Logger/Transport/formatters.ts b/packages/util/src/Logger/Transport/formatters.ts index 36c13250..63f7caea 100644 --- a/packages/util/src/Logger/Transport/formatters.ts +++ b/packages/util/src/Logger/Transport/formatters.ts @@ -1,4 +1,4 @@ -import {isDefined, isString} from "../../is.js"; +import {isDefined, isString} from "@bunt/is"; import {LogFormat, LogMessage, SeverityLevel} from "../interfaces.js"; export const defaultLogFormat: LogFormat = (log) => { diff --git a/packages/util/src/Logger/functions.ts b/packages/util/src/Logger/functions.ts index 92385e7a..d291ec83 100644 --- a/packages/util/src/Logger/functions.ts +++ b/packages/util/src/Logger/functions.ts @@ -1,4 +1,4 @@ -import {isObject} from "../is.js"; +import {isObject} from "@bunt/is"; import {ILogable, ILogger, Logable, LoggerOwner} from "./interfaces.js"; import {Logger} from "./Logger.js"; diff --git a/packages/util/src/Map/XMap.ts b/packages/util/src/Map/XMap.ts index fb3dc5df..1428b815 100644 --- a/packages/util/src/Map/XMap.ts +++ b/packages/util/src/Map/XMap.ts @@ -1,5 +1,5 @@ import {assert} from "../assert.js"; -import {isArray, isFunction} from "../is.js"; +import {isArray, isFunction} from "@bunt/is"; export type XMapArrayFactory = (value: V, index: number, array: V[]) => K; export type XMapInitializer = (key: K) => V; diff --git a/packages/util/src/Node/Argv.ts b/packages/util/src/Node/Argv.ts index fd9c8a7c..e3ffcb72 100644 --- a/packages/util/src/Node/Argv.ts +++ b/packages/util/src/Node/Argv.ts @@ -1,5 +1,5 @@ import {assert} from "../assert.js"; -import {isDefined, isNumber} from "../is.js"; +import {isDefined, isNumber} from "@bunt/is"; import {entriesReverse} from "../object.js"; const OPTION_REGEX = /^--([a-z0-9_-]+)=(.+)$/i; diff --git a/packages/util/src/Perf/Perf.ts b/packages/util/src/Perf/Perf.ts index 59ac8056..54a72d9d 100644 --- a/packages/util/src/Perf/Perf.ts +++ b/packages/util/src/Perf/Perf.ts @@ -1,5 +1,5 @@ import {performance} from "perf_hooks"; -import {isString} from "../is.js"; +import {isString} from "@bunt/is"; import {ILogable} from "../Logger/index.js"; import {IPerfValue, PerfLabel} from "./interfaces.js"; diff --git a/packages/util/src/Transform/TransformInput.ts b/packages/util/src/Transform/TransformInput.ts index a0ac6562..7fc74482 100644 --- a/packages/util/src/Transform/TransformInput.ts +++ b/packages/util/src/Transform/TransformInput.ts @@ -1,5 +1,5 @@ import {Promisify} from "../interfaces.js"; -import {isArray, isFunction, isObject} from "../is.js"; +import {isArray, isFunction, isObject} from "@bunt/is"; import {JSONInput, Transformable, TransformOut, TransformSchema} from "./interfaces.js"; export class TransformInput { diff --git a/packages/util/src/assert.ts b/packages/util/src/assert.ts index a2b9190b..ac06f8c6 100644 --- a/packages/util/src/assert.ts +++ b/packages/util/src/assert.ts @@ -1,5 +1,5 @@ import {AssertionError} from "./Exception/index.js"; -import {isFunction, isInstanceOf, isString} from "./is.js"; +import {isFunction, isInstanceOf, isString} from "@bunt/is"; export type AssertionDetailsAllowType = string | Record | null | number; export type AssertionDetails = (() => AssertionDetailsAllowType) | AssertionDetailsAllowType; diff --git a/packages/util/src/decorator.ts b/packages/util/src/decorator.ts index a464e2cb..d77b1665 100644 --- a/packages/util/src/decorator.ts +++ b/packages/util/src/decorator.ts @@ -1,6 +1,6 @@ import {assert} from "./assert.js"; import {DecoratorTarget} from "./interfaces.js"; -import {isFunction, isUndefined} from "./is.js"; +import {isFunction, isUndefined} from "@bunt/is"; export function memoize(target: DecoratorTarget, key: string): PropertyDescriptor { const descriptor = Reflect.getOwnPropertyDescriptor(target, key); diff --git a/packages/util/src/function.ts b/packages/util/src/function.ts index 80ed2dd6..5bbae508 100644 --- a/packages/util/src/function.ts +++ b/packages/util/src/function.ts @@ -1,4 +1,4 @@ -import {isArray} from "./is.js"; +import {isArray} from "@bunt/is"; import {Promisify} from "./interfaces.js"; import {all} from "./Async/fn.js"; diff --git a/packages/util/src/index.ts b/packages/util/src/index.ts index ed9d7abf..aa08b9bb 100644 --- a/packages/util/src/index.ts +++ b/packages/util/src/index.ts @@ -1,4 +1,4 @@ -export * from "./is.js"; +export * from "@bunt/is"; export * from "./stream.js"; export * from "./assert.js"; export * from "./object.js"; diff --git a/packages/util/src/is.ts b/packages/util/src/is.ts deleted file mode 100644 index 1a7e7a0a..00000000 --- a/packages/util/src/is.ts +++ /dev/null @@ -1,50 +0,0 @@ -import {Ctor, Newable} from "./interfaces.js"; - -export const isNull = (value: unknown): value is null => value === null; -export const isUndefined = (value: unknown): value is undefined => typeof value === "undefined"; -export const isVoid = (value: unknown): value is void | undefined => typeof value === "undefined"; -export const isDefined = (value: T | undefined): value is Exclude => typeof value !== "undefined"; -export const isBoolean = (value: unknown): value is boolean => typeof value === "boolean"; -export const isString = (value: unknown): value is string => typeof value === "string"; -export const isArray = (value: unknown): value is T[] => Array.isArray(value); -export const isNumber = (value: unknown): value is number => { - return typeof value === "number" && value === +value; -}; - -export const isNullish = (value: unknown): value is null | undefined => isNull(value) || isUndefined(value); -export const isNotNullish = (value: T | null | undefined): value is null | undefined => ( - !(isNull(value) || isUndefined(value)) -); - -export const isFunction = any>(value: unknown): value is T => { - return typeof value === "function" && !isClass(value); -}; - -export const isArrowFunction = (value: unknown): value is (...args: A[]) => T => { - return typeof value === "function" && isUndefined(value.prototype); -}; - -export const isClass = (value: unknown): value is () => any => { - return typeof value === "function" && value.toString().startsWith("class"); -}; - -export const isObject = >(value: T | any): value is T => { - return typeof value === "object" && !isNull(value) && !Array.isArray(value); -}; - -export const isError = (value: unknown): value is Error => { - return typeof value === "object" && isInstanceOf(value, Error); -}; - -export type IIS = T extends Ctor ? S : T extends Newable ? S : T; -export const isInstanceOf = (value: unknown, type: C): value is IIS => { - return isObject(value) && value instanceof type; -}; - -export function isRejected(item: PromiseSettledResult): item is PromiseRejectedResult { - return item.status === "rejected"; -} - -export function isFulfilled(item: PromiseSettledResult): item is PromiseFulfilledResult { - return item.status === "fulfilled"; -} diff --git a/packages/util/src/object.ts b/packages/util/src/object.ts index 93146f48..763d3237 100644 --- a/packages/util/src/object.ts +++ b/packages/util/src/object.ts @@ -1,5 +1,5 @@ import {DecoratorTarget} from "./interfaces.js"; -import {isObject} from "./is.js"; +import {isObject} from "@bunt/is"; export const freeze = (source: S): S => { const target = Object.freeze(Object.assign(Object.create(null), source)); diff --git a/packages/util/src/stream.ts b/packages/util/src/stream.ts index 6285050e..8a2b9075 100644 --- a/packages/util/src/stream.ts +++ b/packages/util/src/stream.ts @@ -1,5 +1,5 @@ import {Duplex, Readable, Stream, Transform, Writable} from "stream"; -import {isObject} from "./is.js"; +import {isObject} from "@bunt/is"; type IsStream = Readable | Writable | Duplex | Transform | Stream; diff --git a/yarn.lock b/yarn.lock index 0b80150a..629d1f9b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -417,39 +417,39 @@ __metadata: languageName: node linkType: hard -"@bunt/app@^0.29.12, @bunt/app@workspace:packages/app": +"@bunt/app@^0.29.13, @bunt/app@workspace:packages/app": version: 0.0.0-use.local resolution: "@bunt/app@workspace:packages/app" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/async": ^0.29.6 - "@bunt/input": ^0.29.0 - "@bunt/is": ^0.29.0 - "@bunt/unit": ^0.29.12 - "@bunt/util": ^0.29.0 + "@bunt/assert": ^0.29.13 + "@bunt/async": ^0.29.13 + "@bunt/input": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/unit": ^0.29.13 + "@bunt/util": ^0.29.13 "@types/busboy": ^1.5.0 busboy: ^1.6.0 path-to-regexp: ^6.2.1 languageName: unknown linkType: soft -"@bunt/assert@^0.29.0, @bunt/assert@workspace:packages/assert": +"@bunt/assert@^0.29.13, @bunt/assert@workspace:packages/assert": version: 0.0.0-use.local resolution: "@bunt/assert@workspace:packages/assert" dependencies: - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 languageName: unknown linkType: soft -"@bunt/async@^0.29.6, @bunt/async@workspace:packages/async": +"@bunt/async@^0.29.13, @bunt/async@workspace:packages/async": version: 0.0.0-use.local resolution: "@bunt/async@workspace:packages/async" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 - "@bunt/util": ^0.29.0 + "@bunt/assert": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 + "@bunt/util": ^0.29.13 languageName: unknown linkType: soft @@ -457,9 +457,9 @@ __metadata: version: 0.0.0-use.local resolution: "@bunt/cli@workspace:packages/cli" dependencies: - "@bunt/app": ^0.29.12 - "@bunt/assert": ^0.29.0 - "@bunt/util": ^0.29.0 + "@bunt/app": ^0.29.13 + "@bunt/assert": ^0.29.13 + "@bunt/util": ^0.29.13 path-to-regexp: ^6.2.1 languageName: unknown linkType: soft @@ -468,8 +468,8 @@ __metadata: version: 0.0.0-use.local resolution: "@bunt/date@workspace:packages/date" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/is": ^0.29.0 + "@bunt/assert": ^0.29.13 + "@bunt/is": ^0.29.13 languageName: unknown linkType: soft @@ -477,31 +477,31 @@ __metadata: version: 0.0.0-use.local resolution: "@bunt/fs@workspace:packages/fs" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/is": ^0.29.0 - "@bunt/unit": ^0.29.12 + "@bunt/assert": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/unit": ^0.29.13 "@types/minio": ^7.1.1 "@types/node-fetch": ^2.6.4 - minio: ^7.1.1 + minio: ^7.1.2 node-fetch: 2.7.0 languageName: unknown linkType: soft -"@bunt/input@^0.29.0, @bunt/input@workspace:packages/input": +"@bunt/input@^0.29.13, @bunt/input@workspace:packages/input": version: 0.0.0-use.local resolution: "@bunt/input@workspace:packages/input" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 + "@bunt/assert": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 languageName: unknown linkType: soft -"@bunt/is@^0.29.0, @bunt/is@workspace:packages/is": +"@bunt/is@^0.29.13, @bunt/is@workspace:packages/is": version: 0.0.0-use.local resolution: "@bunt/is@workspace:packages/is" dependencies: - "@bunt/type": ^0.29.0 + "@bunt/type": ^0.29.13 languageName: unknown linkType: soft @@ -509,9 +509,9 @@ __metadata: version: 0.0.0-use.local resolution: "@bunt/queue@workspace:packages/queue" dependencies: - "@bunt/async": ^0.29.6 - "@bunt/unit": ^0.29.12 - "@bunt/util": ^0.29.0 + "@bunt/async": ^0.29.13 + "@bunt/unit": ^0.29.13 + "@bunt/util": ^0.29.13 ioredis: ^5.3.2 languageName: unknown linkType: soft @@ -520,48 +520,48 @@ __metadata: version: 0.0.0-use.local resolution: "@bunt/task@workspace:packages/task" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/async": ^0.29.6 - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 - "@bunt/unit": ^0.29.12 + "@bunt/assert": ^0.29.13 + "@bunt/async": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 + "@bunt/unit": ^0.29.13 languageName: unknown linkType: soft -"@bunt/type@^0.29.0, @bunt/type@workspace:packages/type": +"@bunt/type@^0.29.13, @bunt/type@workspace:packages/type": version: 0.0.0-use.local resolution: "@bunt/type@workspace:packages/type" languageName: unknown linkType: soft -"@bunt/unit@^0.29.12, @bunt/unit@workspace:packages/unit": +"@bunt/unit@^0.29.13, @bunt/unit@workspace:packages/unit": version: 0.0.0-use.local resolution: "@bunt/unit@workspace:packages/unit" dependencies: - "@bunt/assert": ^0.29.0 - "@bunt/async": ^0.29.6 - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 - "@bunt/util": ^0.29.0 + "@bunt/assert": ^0.29.13 + "@bunt/async": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 + "@bunt/util": ^0.29.13 languageName: unknown linkType: soft -"@bunt/util@^0.29.0, @bunt/util@workspace:packages/util": +"@bunt/util@^0.29.13, @bunt/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@bunt/util@workspace:packages/util" languageName: unknown linkType: soft -"@bunt/web@^0.29.12, @bunt/web@workspace:packages/web": +"@bunt/web@^0.29.13, @bunt/web@workspace:packages/web": version: 0.0.0-use.local resolution: "@bunt/web@workspace:packages/web" dependencies: - "@bunt/app": ^0.29.12 - "@bunt/assert": ^0.29.0 - "@bunt/async": ^0.29.6 - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 - "@bunt/util": ^0.29.0 + "@bunt/app": ^0.29.13 + "@bunt/assert": ^0.29.13 + "@bunt/async": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 + "@bunt/util": ^0.29.13 http-status: ^1.6.2 path-to-regexp: ^6.2.1 languageName: unknown @@ -571,14 +571,14 @@ __metadata: version: 0.0.0-use.local resolution: "@bunt/ws@workspace:packages/ws" dependencies: - "@bunt/app": ^0.29.12 - "@bunt/assert": ^0.29.0 - "@bunt/async": ^0.29.6 - "@bunt/is": ^0.29.0 - "@bunt/type": ^0.29.0 - "@bunt/unit": ^0.29.12 - "@bunt/util": ^0.29.0 - "@bunt/web": ^0.29.12 + "@bunt/app": ^0.29.13 + "@bunt/assert": ^0.29.13 + "@bunt/async": ^0.29.13 + "@bunt/is": ^0.29.13 + "@bunt/type": ^0.29.13 + "@bunt/unit": ^0.29.13 + "@bunt/util": ^0.29.13 + "@bunt/web": ^0.29.13 "@types/websocket": ^1.0.6 "@types/ws": ^8.5.5 websocket: ^1.0.34 @@ -834,10 +834,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:^8.47.0": - version: 8.47.0 - resolution: "@eslint/js@npm:8.47.0" - checksum: 0ef57fe27b6d4c305b33f3b2d2fee1ab397a619006f1d6f4ce5ee4746b8f03d11a4e098805a7d78601ca534cf72917d37f0ac19896c992a32e26299ecb9f9de1 +"@eslint/js@npm:8.48.0": + version: 8.48.0 + resolution: "@eslint/js@npm:8.48.0" + checksum: b2755f9c0ee810c886eba3c50dcacb184ba5a5cd1cbc01988ee506ad7340653cae0bd55f1d95c64b56dfc6d25c2caa7825335ffd2c50165bae9996fe0f396851 languageName: node linkType: hard @@ -1242,22 +1242,22 @@ __metadata: languageName: node linkType: hard -"@lerna/child-process@npm:7.1.5": - version: 7.1.5 - resolution: "@lerna/child-process@npm:7.1.5" +"@lerna/child-process@npm:7.2.0": + version: 7.2.0 + resolution: "@lerna/child-process@npm:7.2.0" dependencies: chalk: ^4.1.0 execa: ^5.0.0 strong-log-transformer: ^2.1.0 - checksum: 80dab3cf50711892e26a7c3d0b92d12a5a99c7a4539fecaaaa4e80773798332e29f5482f0e0dfa23d433e40ccf8f24de9a6600a872ddd71bbf1323cef4ed49f6 + checksum: 05e8ee2bc72ab95fa3e5a5fe97f1aa498c9e0c121efae210db1aadcf2b50979f9e6ffcd77319a0ea85d56bc0b38d57b3c74b42a0538aeebc5d168317cf901a44 languageName: node linkType: hard -"@lerna/create@npm:7.1.5": - version: 7.1.5 - resolution: "@lerna/create@npm:7.1.5" +"@lerna/create@npm:7.2.0": + version: 7.2.0 + resolution: "@lerna/create@npm:7.2.0" dependencies: - "@lerna/child-process": 7.1.5 + "@lerna/child-process": 7.2.0 "@npmcli/run-script": 6.0.2 "@nx/devkit": ">=16.5.1 < 17" "@octokit/plugin-enterprise-rest": 6.0.1 @@ -1282,6 +1282,7 @@ __metadata: ini: ^1.3.8 init-package-json: 5.0.0 inquirer: ^8.2.4 + is-ci: 3.0.1 is-stream: 2.0.0 js-yaml: 4.1.0 libnpmpublish: 7.3.0 @@ -1321,7 +1322,7 @@ __metadata: write-pkg: 4.0.0 yargs: 16.2.0 yargs-parser: 20.2.4 - checksum: 23791e8a21320f913c20cb2e25629db9963e77da07adbce59f23ae61fd0d4a21aecea98eac670dc3f39f7f63b2ed0a2ffc7f80f319df0474bcc74097989a01ba + checksum: 62885f5378711b7bbe34b9eae6fbaf2dd4cd97d2f93cc0d5eadaa540cebb9020baa36dda9d19020e612664fb67e255638b15fa768e8b4050dfad829610169620 languageName: node linkType: hard @@ -1951,10 +1952,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.5.6": - version: 20.5.6 - resolution: "@types/node@npm:20.5.6" - checksum: d2ce44f1cfa3fd00fe7426f7cf9a46d680cd57802b874ed5618e7d9101a9c6b8de37f08c0e7185ee06fb363ad492549c3ea69665c7e8e31c7813210ed8e89005 +"@types/node@npm:^20.5.7": + version: 20.5.7 + resolution: "@types/node@npm:20.5.7" + checksum: fc284c8e16ddc04569730d58e87eae349eb1c3dd9020cb79a1862d9d9add6f04e7367a236f3252db8db2572f90278e250f4cd43d27d264972b54394eaba1ed76 languageName: node linkType: hard @@ -2013,15 +2014,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/eslint-plugin@npm:6.4.1" +"@typescript-eslint/eslint-plugin@npm:^6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.5.0" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.4.1 - "@typescript-eslint/type-utils": 6.4.1 - "@typescript-eslint/utils": 6.4.1 - "@typescript-eslint/visitor-keys": 6.4.1 + "@typescript-eslint/scope-manager": 6.5.0 + "@typescript-eslint/type-utils": 6.5.0 + "@typescript-eslint/utils": 6.5.0 + "@typescript-eslint/visitor-keys": 6.5.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 @@ -2034,44 +2035,44 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: aa5f2f516a4ea07d1a9878d347dcb915808862f41efd3c4acd4955e616d265e051c4c93d597d30e54bee10bab9b965e2ef9cea1b497bf16f23a475d7911a8078 + checksum: d81525c9a081186ec1ae7d957972065d50bae8fe4b3de111e573adc7267bb830baaec8f1ae47d3b937984ac34324bacc3951868b7986d4f9974bbe480f2261c0 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/parser@npm:6.4.1" +"@typescript-eslint/parser@npm:^6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/parser@npm:6.5.0" dependencies: - "@typescript-eslint/scope-manager": 6.4.1 - "@typescript-eslint/types": 6.4.1 - "@typescript-eslint/typescript-estree": 6.4.1 - "@typescript-eslint/visitor-keys": 6.4.1 + "@typescript-eslint/scope-manager": 6.5.0 + "@typescript-eslint/types": 6.5.0 + "@typescript-eslint/typescript-estree": 6.5.0 + "@typescript-eslint/visitor-keys": 6.5.0 debug: ^4.3.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: cb61c757963f2a7964c2f846087eadda044720da769d96600f9f0069fe796d612caef5d9bb0c785aa4fa95028b2d231e7c83847ce44f02b1fa41f2102d6f444c + checksum: e9a70886ec2660aee5c77cdff67ba11651eb855b7ecd3ad1e70837fce997d6e6db9dfe1e1eab46a9b2147cbc034ae9c109951f3bc24ce54e78cae669b6bc9c95 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/scope-manager@npm:6.4.1" +"@typescript-eslint/scope-manager@npm:6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/scope-manager@npm:6.5.0" dependencies: - "@typescript-eslint/types": 6.4.1 - "@typescript-eslint/visitor-keys": 6.4.1 - checksum: 8f7f90aa378a19838301b31cfa58a4b0641d2b84891705c8c006c67aacb5c0d07112b714e1f0e7a159c5736779c934ec26dadef42a0711fccb635596aba391fc + "@typescript-eslint/types": 6.5.0 + "@typescript-eslint/visitor-keys": 6.5.0 + checksum: 30d78143f68e07d6bd15a147f64cc16830f8a8c8409b37aa7c7d205d7585f3648ec1c5365b3f177b7561971b407f773f6dba83b3b78fa63091045f2d6bbc6b9f languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/type-utils@npm:6.4.1" +"@typescript-eslint/type-utils@npm:6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/type-utils@npm:6.5.0" dependencies: - "@typescript-eslint/typescript-estree": 6.4.1 - "@typescript-eslint/utils": 6.4.1 + "@typescript-eslint/typescript-estree": 6.5.0 + "@typescript-eslint/utils": 6.5.0 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -2079,23 +2080,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 33bcdd48bd4e07258ed1919b598d50354dd67d8f01702cd2fd46aa9250b7b7cba9caab640df01f4dc0e45dabeddbb3ca47bee88f81fe2087350ed6f70a4cbe5d + checksum: 80b9e5099f5bdb05348ea8664c0a5084efc851de43ef6c1997041e1f07e9cc34ac874cc9e8afb317c887513d657e2583ad360e3d57feaab775bde0acc1807982 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/types@npm:6.4.1" - checksum: 16ba46140dbe426407bbb940e87fb347e7eb53b64f74e8f6a819cd662aa25ccd0c25b1e588867ce3cd36a8b4eccea7bd81f4d429595e6e86d9a24c655b1c8617 +"@typescript-eslint/types@npm:6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/types@npm:6.5.0" + checksum: 950ec16991d71494d10cb752535bbc4395295e3f03a716d53ec55bbb0aaff487aa774cc5002f775ffcc80b9f0e16ac53ecebf7cac1444ca4f7a847b0859ffbfb languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/typescript-estree@npm:6.4.1" +"@typescript-eslint/typescript-estree@npm:6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.5.0" dependencies: - "@typescript-eslint/types": 6.4.1 - "@typescript-eslint/visitor-keys": 6.4.1 + "@typescript-eslint/types": 6.5.0 + "@typescript-eslint/visitor-keys": 6.5.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -2104,34 +2105,34 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 34c289e50a6337321154efe6c20c762e94fea308f9032971e356a266f63e99b908b1a00dd8cf51eba50a6f69db01d665faf2cf13454b355767fd167eebe60f1c + checksum: 05717fa1f2609fa5669803191cf309a379c815aaf4fff6850f40560eec8749759c36b288f05cecffd5c1d0be8de1fe414ecfee6ecf99b6ae521baa48c8b58455 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/utils@npm:6.4.1" +"@typescript-eslint/utils@npm:6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/utils@npm:6.5.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.4.1 - "@typescript-eslint/types": 6.4.1 - "@typescript-eslint/typescript-estree": 6.4.1 + "@typescript-eslint/scope-manager": 6.5.0 + "@typescript-eslint/types": 6.5.0 + "@typescript-eslint/typescript-estree": 6.5.0 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 54e642a345790f912393a6f2821495e2359eff0f874a94cbe6fb3ef4411702983ed54fe88ca3ea9d28f2e93800a74dee22b7888838154bc1afd57c7e119e17ec + checksum: 58a82213c8a7bac97a6538b9845c1de5c5692fbf72548f95ed5e044a222608590bcafbb9eacba92a8c4e9eb3e5d0a2fd553eae0d6694ed2d6152aed4dabf9480 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.4.1": - version: 6.4.1 - resolution: "@typescript-eslint/visitor-keys@npm:6.4.1" +"@typescript-eslint/visitor-keys@npm:6.5.0": + version: 6.5.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.5.0" dependencies: - "@typescript-eslint/types": 6.4.1 + "@typescript-eslint/types": 6.5.0 eslint-visitor-keys: ^3.4.1 - checksum: bd9cd56fc793e1d880c24193f939c4992b2653f330baece41cd461d1fb48edb2c53696987cba0e29074bbb452dd181fd009db92dd19060fdcc417ad76768f18a + checksum: 768a02dd0d8aae45708646bb0c51e67da09e71dc101bb0a0e55d7e0c8eadfea2f531acd3035d1ec34bf2380b66188f3fc47c6bef0201eae36b2dcc48d1934442 languageName: node linkType: hard @@ -2778,15 +2779,15 @@ __metadata: "@commitlint/cli": ^17.7.1 "@commitlint/config-conventional": ^17.7.0 "@types/jest": ^29.5.4 - "@types/node": ^20.5.6 - "@typescript-eslint/eslint-plugin": ^6.4.1 - "@typescript-eslint/parser": ^6.4.1 + "@types/node": ^20.5.7 + "@typescript-eslint/eslint-plugin": ^6.5.0 + "@typescript-eslint/parser": ^6.5.0 cross-env: ^7.0.3 - eslint: ^8.47.0 + eslint: ^8.48.0 eslint-plugin-import: ^2.28.1 eslint-plugin-unused-imports: ^3.0.0 jest: ^29.6.4 - lerna: ^7.1.5 + lerna: ^7.2.0 rimraf: ^5.0.1 ts-jest: ^29.1.1 typescript: ^5.2.2 @@ -3960,14 +3961,14 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.47.0": - version: 8.47.0 - resolution: "eslint@npm:8.47.0" +"eslint@npm:^8.48.0": + version: 8.48.0 + resolution: "eslint@npm:8.48.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 "@eslint/eslintrc": ^2.1.2 - "@eslint/js": ^8.47.0 + "@eslint/js": 8.48.0 "@humanwhocodes/config-array": ^0.11.10 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -4003,7 +4004,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 1988617f703eadc5c7540468d54dc8e5171cf2bb9483f6172799cd1ff54a9a5e4470f003784e8cef92687eaa14de37172732787040e67817581a20bcb9c15970 + checksum: f20b359a4f8123fec5c033577368cc020d42978b1b45303974acd8da7a27063168ee3fe297ab5b35327162f6a93154063e3ce6577102f70f9809aff793db9bd0 languageName: node linkType: hard @@ -6296,12 +6297,12 @@ __metadata: languageName: node linkType: hard -"lerna@npm:^7.1.5": - version: 7.1.5 - resolution: "lerna@npm:7.1.5" +"lerna@npm:^7.2.0": + version: 7.2.0 + resolution: "lerna@npm:7.2.0" dependencies: - "@lerna/child-process": 7.1.5 - "@lerna/create": 7.1.5 + "@lerna/child-process": 7.2.0 + "@lerna/create": 7.2.0 "@npmcli/run-script": 6.0.2 "@nx/devkit": ">=16.5.1 < 17" "@octokit/plugin-enterprise-rest": 6.0.1 @@ -6377,7 +6378,7 @@ __metadata: yargs-parser: 20.2.4 bin: lerna: dist/cli.js - checksum: 9f45618e0f1cb91dccb28e4fe052001adad8cf9ae6d1d4d9a45a535d3a2c053f050eedd67451e61cc6cde7e1d646311aee3a9df4858a25bed9e8fc7aaca0058c + checksum: 15b0e890f1cdbd32c3b2aa4eb5767e5974d1fceea0201aae0d5ce9d207223b2c92c8b36b68b554621a307515c127963f4a5df38e59ab84f4dcf659e00099b18a languageName: node linkType: hard @@ -6845,7 +6846,7 @@ __metadata: languageName: node linkType: hard -"minio@npm:*, minio@npm:^7.1.1": +"minio@npm:*": version: 7.1.1 resolution: "minio@npm:7.1.1" dependencies: @@ -6867,6 +6868,28 @@ __metadata: languageName: node linkType: hard +"minio@npm:^7.1.2": + version: 7.1.2 + resolution: "minio@npm:7.1.2" + dependencies: + async: ^3.2.4 + block-stream2: ^2.1.0 + browser-or-node: ^2.1.1 + buffer-crc32: ^0.2.13 + fast-xml-parser: ^4.2.2 + ipaddr.js: ^2.0.1 + json-stream: ^1.0.0 + lodash: ^4.17.21 + mime-types: ^2.1.35 + query-string: ^7.1.3 + through2: ^4.0.2 + web-encoding: ^1.1.5 + xml: ^1.0.1 + xml2js: ^0.5.0 + checksum: 917affd72eff810cec7c905b8de39aa7b4d0a8f192ad2359edfa8f02d8a549c8c0e9cb9d12fd74f7b96bbdc1f4776d81f2403fdb95e5191e65939293c3025800 + languageName: node + linkType: hard + "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2"