@quantiya/codevibe-claude-plugin 2.0.12 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/dist/server.js +10 -9
- package/hooks/session-end.sh +20 -24
- package/node_modules/@quantiya/codevibe-core/dist/index.js +285 -285
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/anchored-cas.d.ts +84 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/anchored-fs.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/shadow-protocol.d.ts +358 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/shadow-recovery.d.ts +273 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-shadow.d.ts +8 -295
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +4169 -3958
- package/node_modules/@quantiya/codevibe-core/package.json +1 -1
- package/node_modules/es-toolkit/CHANGELOG.md +3 -38
- package/node_modules/es-toolkit/dist/browser.global.js +4 -4
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.js +1 -2
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.mjs +1 -2
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +3 -5
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +3 -5
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.js +1 -1
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/array/without.js +2 -8
- package/node_modules/es-toolkit/dist/compat/array/without.mjs +2 -8
- package/node_modules/es-toolkit/dist/compat/array/xorWith.js +6 -4
- package/node_modules/es-toolkit/dist/compat/array/xorWith.mjs +6 -4
- package/node_modules/es-toolkit/dist/compat/compat.js +1 -1
- package/node_modules/es-toolkit/dist/compat/compat.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -1
- package/node_modules/es-toolkit/dist/compat/function/debounce.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/index.js +1 -1
- package/node_modules/es-toolkit/dist/compat/index.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/has.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/has.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/hasIn.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/omitBy.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/omitBy.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/pickBy.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/pickBy.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/util/toString.js +1 -3
- package/node_modules/es-toolkit/dist/compat/util/toString.mjs +1 -3
- package/node_modules/es-toolkit/dist/fp/index.d.mts +1 -2
- package/node_modules/es-toolkit/dist/fp/index.d.ts +1 -2
- package/node_modules/es-toolkit/dist/fp/index.js +0 -2
- package/node_modules/es-toolkit/dist/fp/index.mjs +1 -2
- package/node_modules/es-toolkit/dist/index.d.mts +1 -3
- package/node_modules/es-toolkit/dist/index.d.ts +1 -3
- package/node_modules/es-toolkit/dist/index.js +0 -4
- package/node_modules/es-toolkit/dist/index.mjs +1 -3
- package/node_modules/es-toolkit/dist/object/merge.d.mts +1 -3
- package/node_modules/es-toolkit/dist/object/merge.d.ts +1 -3
- package/node_modules/es-toolkit/dist/object/merge.js +40 -0
- package/node_modules/es-toolkit/dist/object/merge.mjs +40 -0
- package/node_modules/es-toolkit/dist/object/omitBy.d.mts +2 -4
- package/node_modules/es-toolkit/dist/object/omitBy.d.ts +2 -4
- package/node_modules/es-toolkit/dist/object/omitBy.js +3 -4
- package/node_modules/es-toolkit/dist/object/omitBy.mjs +3 -4
- package/node_modules/es-toolkit/dist/object/pickBy.d.mts +2 -4
- package/node_modules/es-toolkit/dist/object/pickBy.d.ts +2 -4
- package/node_modules/es-toolkit/dist/object/pickBy.js +3 -4
- package/node_modules/es-toolkit/dist/object/pickBy.mjs +3 -4
- package/node_modules/es-toolkit/dist/types/index.d.mts +2 -11
- package/node_modules/es-toolkit/dist/types/index.d.ts +2 -11
- package/node_modules/es-toolkit/dist/util/attempt.d.mts +1 -1
- package/node_modules/es-toolkit/dist/util/attempt.d.ts +1 -1
- package/node_modules/es-toolkit/dist/util/attemptAsync.d.mts +1 -1
- package/node_modules/es-toolkit/dist/util/attemptAsync.d.ts +1 -1
- package/node_modules/es-toolkit/dist/util/index.d.mts +1 -3
- package/node_modules/es-toolkit/dist/util/index.d.ts +1 -3
- package/node_modules/es-toolkit/dist/util/index.js +0 -4
- package/node_modules/es-toolkit/dist/util/index.mjs +1 -3
- package/node_modules/es-toolkit/package.json +1 -44
- package/node_modules/fs-ext/build/Makefile +347 -0
- package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +1 -0
- package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +165 -0
- package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
- package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
- package/node_modules/fs-ext/build/binding.Makefile +6 -0
- package/node_modules/fs-ext/build/config.gypi +503 -0
- package/node_modules/fs-ext/build/fs_ext.target.mk +183 -0
- package/node_modules/fs-ext/build/gyp-mac-tool +768 -0
- package/node_modules/keytar/build/Release/keytar.node +0 -0
- package/node_modules/node-abi/abi_registry.json +0 -7
- package/node_modules/node-abi/package.json +1 -1
- package/package.json +2 -2
- package/node_modules/es-toolkit/dist/fp/flowAsync.d.mts +0 -213
- package/node_modules/es-toolkit/dist/fp/flowAsync.d.ts +0 -213
- package/node_modules/es-toolkit/dist/fp/flowAsync.js +0 -37
- package/node_modules/es-toolkit/dist/fp/flowAsync.mjs +0 -37
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.mts +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.ts +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.js +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.mjs +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.mts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.ts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/count.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/count.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/count.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/count.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/drop.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/drop.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/drop.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/drop.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.mts +0 -18
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.ts +0 -18
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.js +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.mjs +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/every.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/every.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/every.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/every.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/filter.d.mts +0 -37
- package/node_modules/es-toolkit/dist/fp/iterator/filter.d.ts +0 -37
- package/node_modules/es-toolkit/dist/fp/iterator/filter.js +0 -8
- package/node_modules/es-toolkit/dist/fp/iterator/filter.mjs +0 -8
- package/node_modules/es-toolkit/dist/fp/iterator/find.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/find.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/find.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/find.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.mts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.js +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.mjs +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/head.d.mts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/head.d.ts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/head.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/head.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/index.d.mts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/index.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/index.js +0 -43
- package/node_modules/es-toolkit/dist/fp/iterator/index.mjs +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/map.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/map.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/map.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/map.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/partition.d.mts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/partition.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/partition.js +0 -27
- package/node_modules/es-toolkit/dist/fp/iterator/partition.mjs +0 -27
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.mts +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.ts +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.js +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.mjs +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/scan.d.mts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/scan.d.ts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/scan.js +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/scan.mjs +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/some.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/some.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/some.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/some.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/take.d.mts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/take.d.ts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/take.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/take.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.mts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.ts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.mts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.ts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/zip.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/zip.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/zip.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/zip.mjs +0 -25
- package/node_modules/es-toolkit/dist/iterator/_internal/iterator.js +0 -74
- package/node_modules/es-toolkit/dist/iterator/_internal/iterator.mjs +0 -74
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.mts +0 -33
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.ts +0 -33
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.js +0 -95
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.mjs +0 -95
- package/node_modules/es-toolkit/dist/iterator/chunk.d.mts +0 -21
- package/node_modules/es-toolkit/dist/iterator/chunk.d.ts +0 -21
- package/node_modules/es-toolkit/dist/iterator/chunk.js +0 -40
- package/node_modules/es-toolkit/dist/iterator/chunk.mjs +0 -40
- package/node_modules/es-toolkit/dist/iterator/count.d.mts +0 -18
- package/node_modules/es-toolkit/dist/iterator/count.d.ts +0 -18
- package/node_modules/es-toolkit/dist/iterator/count.js +0 -26
- package/node_modules/es-toolkit/dist/iterator/count.mjs +0 -26
- package/node_modules/es-toolkit/dist/iterator/dropWhile.d.mts +0 -20
- package/node_modules/es-toolkit/dist/iterator/dropWhile.d.ts +0 -20
- package/node_modules/es-toolkit/dist/iterator/dropWhile.js +0 -52
- package/node_modules/es-toolkit/dist/iterator/dropWhile.mjs +0 -52
- package/node_modules/es-toolkit/dist/iterator/head.d.mts +0 -21
- package/node_modules/es-toolkit/dist/iterator/head.d.ts +0 -21
- package/node_modules/es-toolkit/dist/iterator/head.js +0 -26
- package/node_modules/es-toolkit/dist/iterator/head.mjs +0 -26
- package/node_modules/es-toolkit/dist/iterator/index.d.mts +0 -13
- package/node_modules/es-toolkit/dist/iterator/index.d.ts +0 -13
- package/node_modules/es-toolkit/dist/iterator/index.js +0 -25
- package/node_modules/es-toolkit/dist/iterator/index.mjs +0 -13
- package/node_modules/es-toolkit/dist/iterator/iterate.d.mts +0 -20
- package/node_modules/es-toolkit/dist/iterator/iterate.d.ts +0 -20
- package/node_modules/es-toolkit/dist/iterator/iterate.js +0 -32
- package/node_modules/es-toolkit/dist/iterator/iterate.mjs +0 -32
- package/node_modules/es-toolkit/dist/iterator/partition.d.mts +0 -18
- package/node_modules/es-toolkit/dist/iterator/partition.d.ts +0 -18
- package/node_modules/es-toolkit/dist/iterator/partition.js +0 -36
- package/node_modules/es-toolkit/dist/iterator/partition.mjs +0 -36
- package/node_modules/es-toolkit/dist/iterator/range.d.mts +0 -42
- package/node_modules/es-toolkit/dist/iterator/range.d.ts +0 -42
- package/node_modules/es-toolkit/dist/iterator/range.js +0 -25
- package/node_modules/es-toolkit/dist/iterator/range.mjs +0 -25
- package/node_modules/es-toolkit/dist/iterator/scan.d.mts +0 -23
- package/node_modules/es-toolkit/dist/iterator/scan.d.ts +0 -23
- package/node_modules/es-toolkit/dist/iterator/scan.js +0 -47
- package/node_modules/es-toolkit/dist/iterator/scan.mjs +0 -47
- package/node_modules/es-toolkit/dist/iterator/takeWhile.d.mts +0 -20
- package/node_modules/es-toolkit/dist/iterator/takeWhile.d.ts +0 -20
- package/node_modules/es-toolkit/dist/iterator/takeWhile.js +0 -34
- package/node_modules/es-toolkit/dist/iterator/takeWhile.mjs +0 -34
- package/node_modules/es-toolkit/dist/iterator/uniqBy.d.mts +0 -22
- package/node_modules/es-toolkit/dist/iterator/uniqBy.d.ts +0 -22
- package/node_modules/es-toolkit/dist/iterator/uniqBy.js +0 -43
- package/node_modules/es-toolkit/dist/iterator/uniqBy.mjs +0 -43
- package/node_modules/es-toolkit/dist/iterator/zip.d.mts +0 -23
- package/node_modules/es-toolkit/dist/iterator/zip.d.ts +0 -23
- package/node_modules/es-toolkit/dist/iterator/zip.js +0 -45
- package/node_modules/es-toolkit/dist/iterator/zip.mjs +0 -45
- package/node_modules/es-toolkit/dist/types/EmptyObject.d.mts +0 -21
- package/node_modules/es-toolkit/dist/types/EmptyObject.d.ts +0 -21
- package/node_modules/es-toolkit/dist/types/IsEqual.d.mts +0 -18
- package/node_modules/es-toolkit/dist/types/IsEqual.d.ts +0 -18
- package/node_modules/es-toolkit/dist/types/JSONValue.d.mts +0 -24
- package/node_modules/es-toolkit/dist/types/JSONValue.d.ts +0 -24
- package/node_modules/es-toolkit/dist/types/Merge.d.mts +0 -37
- package/node_modules/es-toolkit/dist/types/Merge.d.ts +0 -37
- package/node_modules/es-toolkit/dist/types/ObjectKeys.d.mts +0 -19
- package/node_modules/es-toolkit/dist/types/ObjectKeys.d.ts +0 -19
- package/node_modules/es-toolkit/dist/types/Primitive.d.mts +0 -14
- package/node_modules/es-toolkit/dist/types/Primitive.d.ts +0 -14
- package/node_modules/es-toolkit/dist/types/SetOptional.d.mts +0 -20
- package/node_modules/es-toolkit/dist/types/SetOptional.d.ts +0 -20
- package/node_modules/es-toolkit/dist/types/SetRequired.d.mts +0 -20
- package/node_modules/es-toolkit/dist/types/SetRequired.d.ts +0 -20
- package/node_modules/es-toolkit/dist/types/UnknownRecord.d.mts +0 -24
- package/node_modules/es-toolkit/dist/types/UnknownRecord.d.ts +0 -24
- package/node_modules/es-toolkit/dist/util/defer.d.mts +0 -27
- package/node_modules/es-toolkit/dist/util/defer.d.ts +0 -27
- package/node_modules/es-toolkit/dist/util/defer.js +0 -31
- package/node_modules/es-toolkit/dist/util/defer.mjs +0 -31
- package/node_modules/es-toolkit/dist/util/deferAsync.d.mts +0 -30
- package/node_modules/es-toolkit/dist/util/deferAsync.d.ts +0 -30
- package/node_modules/es-toolkit/dist/util/deferAsync.js +0 -34
- package/node_modules/es-toolkit/dist/util/deferAsync.mjs +0 -34
- package/node_modules/es-toolkit/fp/iterator.d.ts +0 -1
- package/node_modules/es-toolkit/fp/iterator.js +0 -1
- package/node_modules/es-toolkit/iterator.d.ts +0 -1
- package/node_modules/es-toolkit/iterator.js +0 -1
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/LICENSE.md +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/README.md +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/common.gypi +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/except.gypi +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/index.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.deprecated.h +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.h +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi.h +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/node_api.gyp +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/noexcept.gypi +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/nothing.c +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package-support.json +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package.json +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/README.md +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/check-napi.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/clang-format.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/conversion.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/eslint-format.js +0 -0
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ObjectKeys } from "../types/ObjectKeys.js";
|
|
2
|
-
|
|
3
1
|
//#region src/object/omitBy.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* Creates a new object composed of the properties that do not satisfy the predicate function.
|
|
@@ -11,7 +9,7 @@ import { ObjectKeys } from "../types/ObjectKeys.js";
|
|
|
11
9
|
* @param obj - The object to omit properties from.
|
|
12
10
|
* @param shouldOmit - A predicate function that determines
|
|
13
11
|
* whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
|
|
14
|
-
* if the property should be omitted, and `false` otherwise.
|
|
12
|
+
* if the property should be omitted, and `false` otherwise.
|
|
15
13
|
* @returns A new object with the properties that do not satisfy the predicate function.
|
|
16
14
|
*
|
|
17
15
|
* @example
|
|
@@ -20,6 +18,6 @@ import { ObjectKeys } from "../types/ObjectKeys.js";
|
|
|
20
18
|
* const result = omitBy(obj, shouldOmit);
|
|
21
19
|
* // result will be { a: 1, c: 3 }
|
|
22
20
|
*/
|
|
23
|
-
declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key:
|
|
21
|
+
declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { omitBy };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param obj - The object to omit properties from.
|
|
10
10
|
* @param shouldOmit - A predicate function that determines
|
|
11
11
|
* whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
|
|
12
|
-
* if the property should be omitted, and `false` otherwise.
|
|
12
|
+
* if the property should be omitted, and `false` otherwise.
|
|
13
13
|
* @returns A new object with the properties that do not satisfy the predicate function.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
@@ -23,9 +23,8 @@ function omitBy(obj, shouldOmit) {
|
|
|
23
23
|
const keys = Object.keys(obj);
|
|
24
24
|
for (let i = 0; i < keys.length; i++) {
|
|
25
25
|
const key = keys[i];
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
if (!shouldOmit(value, key)) result[objectKey] = value;
|
|
26
|
+
const value = obj[key];
|
|
27
|
+
if (!shouldOmit(value, key)) result[key] = value;
|
|
29
28
|
}
|
|
30
29
|
return result;
|
|
31
30
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param obj - The object to omit properties from.
|
|
10
10
|
* @param shouldOmit - A predicate function that determines
|
|
11
11
|
* whether a property should be omitted. It takes the property's key and value as arguments and returns `true`
|
|
12
|
-
* if the property should be omitted, and `false` otherwise.
|
|
12
|
+
* if the property should be omitted, and `false` otherwise.
|
|
13
13
|
* @returns A new object with the properties that do not satisfy the predicate function.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
@@ -23,9 +23,8 @@ function omitBy(obj, shouldOmit) {
|
|
|
23
23
|
const keys = Object.keys(obj);
|
|
24
24
|
for (let i = 0; i < keys.length; i++) {
|
|
25
25
|
const key = keys[i];
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
if (!shouldOmit(value, key)) result[objectKey] = value;
|
|
26
|
+
const value = obj[key];
|
|
27
|
+
if (!shouldOmit(value, key)) result[key] = value;
|
|
29
28
|
}
|
|
30
29
|
return result;
|
|
31
30
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ObjectKeys } from "../types/ObjectKeys.mjs";
|
|
2
|
-
|
|
3
1
|
//#region src/object/pickBy.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* Creates a new object composed of the properties that satisfy the predicate function.
|
|
@@ -11,7 +9,7 @@ import { ObjectKeys } from "../types/ObjectKeys.mjs";
|
|
|
11
9
|
* @param obj - The object to pick properties from.
|
|
12
10
|
* @param shouldPick - A predicate function that determines
|
|
13
11
|
* whether a property should be picked. It takes the property's key and value as arguments and returns `true`
|
|
14
|
-
* if the property should be picked, and `false` otherwise.
|
|
12
|
+
* if the property should be picked, and `false` otherwise.
|
|
15
13
|
* @returns A new object with the properties that satisfy the predicate function.
|
|
16
14
|
*
|
|
17
15
|
* @example
|
|
@@ -20,6 +18,6 @@ import { ObjectKeys } from "../types/ObjectKeys.mjs";
|
|
|
20
18
|
* const result = pickBy(obj, shouldPick);
|
|
21
19
|
* // result will be { b: 'pick' }
|
|
22
20
|
*/
|
|
23
|
-
declare function pickBy<T extends Record<string, any>>(obj: T, shouldPick: (value: T[keyof T], key:
|
|
21
|
+
declare function pickBy<T extends Record<string, any>>(obj: T, shouldPick: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { pickBy };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ObjectKeys } from "../types/ObjectKeys.js";
|
|
2
|
-
|
|
3
1
|
//#region src/object/pickBy.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* Creates a new object composed of the properties that satisfy the predicate function.
|
|
@@ -11,7 +9,7 @@ import { ObjectKeys } from "../types/ObjectKeys.js";
|
|
|
11
9
|
* @param obj - The object to pick properties from.
|
|
12
10
|
* @param shouldPick - A predicate function that determines
|
|
13
11
|
* whether a property should be picked. It takes the property's key and value as arguments and returns `true`
|
|
14
|
-
* if the property should be picked, and `false` otherwise.
|
|
12
|
+
* if the property should be picked, and `false` otherwise.
|
|
15
13
|
* @returns A new object with the properties that satisfy the predicate function.
|
|
16
14
|
*
|
|
17
15
|
* @example
|
|
@@ -20,6 +18,6 @@ import { ObjectKeys } from "../types/ObjectKeys.js";
|
|
|
20
18
|
* const result = pickBy(obj, shouldPick);
|
|
21
19
|
* // result will be { b: 'pick' }
|
|
22
20
|
*/
|
|
23
|
-
declare function pickBy<T extends Record<string, any>>(obj: T, shouldPick: (value: T[keyof T], key:
|
|
21
|
+
declare function pickBy<T extends Record<string, any>>(obj: T, shouldPick: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { pickBy };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param obj - The object to pick properties from.
|
|
10
10
|
* @param shouldPick - A predicate function that determines
|
|
11
11
|
* whether a property should be picked. It takes the property's key and value as arguments and returns `true`
|
|
12
|
-
* if the property should be picked, and `false` otherwise.
|
|
12
|
+
* if the property should be picked, and `false` otherwise.
|
|
13
13
|
* @returns A new object with the properties that satisfy the predicate function.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
@@ -23,9 +23,8 @@ function pickBy(obj, shouldPick) {
|
|
|
23
23
|
const keys = Object.keys(obj);
|
|
24
24
|
for (let i = 0; i < keys.length; i++) {
|
|
25
25
|
const key = keys[i];
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
if (shouldPick(value, key)) result[objectKey] = value;
|
|
26
|
+
const value = obj[key];
|
|
27
|
+
if (shouldPick(value, key)) result[key] = value;
|
|
29
28
|
}
|
|
30
29
|
return result;
|
|
31
30
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param obj - The object to pick properties from.
|
|
10
10
|
* @param shouldPick - A predicate function that determines
|
|
11
11
|
* whether a property should be picked. It takes the property's key and value as arguments and returns `true`
|
|
12
|
-
* if the property should be picked, and `false` otherwise.
|
|
12
|
+
* if the property should be picked, and `false` otherwise.
|
|
13
13
|
* @returns A new object with the properties that satisfy the predicate function.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
@@ -23,9 +23,8 @@ function pickBy(obj, shouldPick) {
|
|
|
23
23
|
const keys = Object.keys(obj);
|
|
24
24
|
for (let i = 0; i < keys.length; i++) {
|
|
25
25
|
const key = keys[i];
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
if (shouldPick(value, key)) result[objectKey] = value;
|
|
26
|
+
const value = obj[key];
|
|
27
|
+
if (shouldPick(value, key)) result[key] = value;
|
|
29
28
|
}
|
|
30
29
|
return result;
|
|
31
30
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Simplify } from "./Simplify.mjs";
|
|
2
|
-
import { Merge } from "./Merge.mjs";
|
|
3
|
-
import { ObjectKeys } from "./ObjectKeys.mjs";
|
|
4
1
|
import { ToCamelCaseKeys } from "./ToCamelCaseKeys.mjs";
|
|
5
2
|
import { ToConstantCaseKeys } from "./ToConstantCaseKeys.mjs";
|
|
6
3
|
import { ToKebabCaseKeys } from "./ToKebabCaseKeys.mjs";
|
|
@@ -8,14 +5,8 @@ import { ToPascalCaseKeys } from "./ToPascalCaseKeys.mjs";
|
|
|
8
5
|
import { ToSnakeCaseKeys } from "./ToSnakeCaseKeys.mjs";
|
|
9
6
|
import { DeepPartial } from "./DeepPartial.mjs";
|
|
10
7
|
import { DeepReadonly } from "./DeepReadonly.mjs";
|
|
11
|
-
import { EmptyObject } from "./EmptyObject.mjs";
|
|
12
|
-
import { IsEqual } from "./IsEqual.mjs";
|
|
13
|
-
import { JSONValue } from "./JSONValue.mjs";
|
|
14
8
|
import { NonEmptyArray } from "./NonEmptyArray.mjs";
|
|
15
|
-
import {
|
|
16
|
-
import { SetOptional } from "./SetOptional.mjs";
|
|
17
|
-
import { SetRequired } from "./SetRequired.mjs";
|
|
18
|
-
import { UnknownRecord } from "./UnknownRecord.mjs";
|
|
9
|
+
import { Simplify } from "./Simplify.mjs";
|
|
19
10
|
import { ValueOf } from "./ValueOf.mjs";
|
|
20
11
|
import { Writable } from "./Writable.mjs";
|
|
21
|
-
export { type DeepPartial, type DeepReadonly, type
|
|
12
|
+
export { type DeepPartial, type DeepReadonly, type NonEmptyArray, type Simplify, type ToCamelCaseKeys, type ToConstantCaseKeys, type ToKebabCaseKeys, type ToPascalCaseKeys, type ToSnakeCaseKeys, type ValueOf, type Writable };
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Simplify } from "./Simplify.js";
|
|
2
|
-
import { Merge } from "./Merge.js";
|
|
3
|
-
import { ObjectKeys } from "./ObjectKeys.js";
|
|
4
1
|
import { ToCamelCaseKeys } from "./ToCamelCaseKeys.js";
|
|
5
2
|
import { ToConstantCaseKeys } from "./ToConstantCaseKeys.js";
|
|
6
3
|
import { ToKebabCaseKeys } from "./ToKebabCaseKeys.js";
|
|
@@ -8,14 +5,8 @@ import { ToPascalCaseKeys } from "./ToPascalCaseKeys.js";
|
|
|
8
5
|
import { ToSnakeCaseKeys } from "./ToSnakeCaseKeys.js";
|
|
9
6
|
import { DeepPartial } from "./DeepPartial.js";
|
|
10
7
|
import { DeepReadonly } from "./DeepReadonly.js";
|
|
11
|
-
import { EmptyObject } from "./EmptyObject.js";
|
|
12
|
-
import { IsEqual } from "./IsEqual.js";
|
|
13
|
-
import { JSONValue } from "./JSONValue.js";
|
|
14
8
|
import { NonEmptyArray } from "./NonEmptyArray.js";
|
|
15
|
-
import {
|
|
16
|
-
import { SetOptional } from "./SetOptional.js";
|
|
17
|
-
import { SetRequired } from "./SetRequired.js";
|
|
18
|
-
import { UnknownRecord } from "./UnknownRecord.js";
|
|
9
|
+
import { Simplify } from "./Simplify.js";
|
|
19
10
|
import { ValueOf } from "./ValueOf.js";
|
|
20
11
|
import { Writable } from "./Writable.js";
|
|
21
|
-
export { type DeepPartial, type DeepReadonly, type
|
|
12
|
+
export { type DeepPartial, type DeepReadonly, type NonEmptyArray, type Simplify, type ToCamelCaseKeys, type ToConstantCaseKeys, type ToKebabCaseKeys, type ToPascalCaseKeys, type ToSnakeCaseKeys, type ValueOf, type Writable };
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
* });
|
|
32
32
|
* // users is typed as User[]
|
|
33
33
|
*/
|
|
34
|
-
declare function attemptAsync<T, E
|
|
34
|
+
declare function attemptAsync<T, E>(func: () => Promise<T>): Promise<[null, T] | [E, null]>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { attemptAsync };
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
* });
|
|
32
32
|
* // users is typed as User[]
|
|
33
33
|
*/
|
|
34
|
-
declare function attemptAsync<T, E
|
|
34
|
+
declare function attemptAsync<T, E>(func: () => Promise<T>): Promise<[null, T] | [E, null]>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { attemptAsync };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { attempt } from "./attempt.mjs";
|
|
2
2
|
import { attemptAsync } from "./attemptAsync.mjs";
|
|
3
|
-
import { defer } from "./defer.mjs";
|
|
4
|
-
import { deferAsync } from "./deferAsync.mjs";
|
|
5
3
|
import { invariant } from "./invariant.mjs";
|
|
6
|
-
export { invariant as assert, attempt, attemptAsync,
|
|
4
|
+
export { invariant as assert, attempt, attemptAsync, invariant };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { attempt } from "./attempt.js";
|
|
2
2
|
import { attemptAsync } from "./attemptAsync.js";
|
|
3
|
-
import { defer } from "./defer.js";
|
|
4
|
-
import { deferAsync } from "./deferAsync.js";
|
|
5
3
|
import { invariant } from "./invariant.js";
|
|
6
|
-
export { invariant as assert, attempt, attemptAsync,
|
|
4
|
+
export { invariant as assert, attempt, attemptAsync, invariant };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_attempt = require("./attempt.js");
|
|
3
3
|
const require_attemptAsync = require("./attemptAsync.js");
|
|
4
|
-
const require_defer = require("./defer.js");
|
|
5
|
-
const require_deferAsync = require("./deferAsync.js");
|
|
6
4
|
const require_invariant = require("./invariant.js");
|
|
7
5
|
exports.assert = require_invariant.invariant;
|
|
8
6
|
exports.attempt = require_attempt.attempt;
|
|
9
7
|
exports.attemptAsync = require_attemptAsync.attemptAsync;
|
|
10
|
-
exports.defer = require_defer.defer;
|
|
11
|
-
exports.deferAsync = require_deferAsync.deferAsync;
|
|
12
8
|
exports.invariant = require_invariant.invariant;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { attempt } from "./attempt.mjs";
|
|
2
2
|
import { attemptAsync } from "./attemptAsync.mjs";
|
|
3
|
-
import { defer } from "./defer.mjs";
|
|
4
|
-
import { deferAsync } from "./deferAsync.mjs";
|
|
5
3
|
import { invariant } from "./invariant.mjs";
|
|
6
|
-
export { invariant as assert, attempt, attemptAsync,
|
|
4
|
+
export { invariant as assert, attempt, attemptAsync, invariant };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
5
5
|
"homepage": "https://es-toolkit.dev",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
@@ -94,16 +94,6 @@
|
|
|
94
94
|
"default": "./dist/fp/index.js"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
-
"./fp/iterator": {
|
|
98
|
-
"import": {
|
|
99
|
-
"types": "./dist/fp/iterator/index.d.mts",
|
|
100
|
-
"default": "./dist/fp/iterator/index.mjs"
|
|
101
|
-
},
|
|
102
|
-
"require": {
|
|
103
|
-
"types": "./dist/fp/iterator/index.d.ts",
|
|
104
|
-
"default": "./dist/fp/iterator/index.js"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
97
|
"./function": {
|
|
108
98
|
"import": {
|
|
109
99
|
"types": "./dist/function/index.d.mts",
|
|
@@ -114,16 +104,6 @@
|
|
|
114
104
|
"default": "./dist/function/index.js"
|
|
115
105
|
}
|
|
116
106
|
},
|
|
117
|
-
"./iterator": {
|
|
118
|
-
"import": {
|
|
119
|
-
"types": "./dist/iterator/index.d.mts",
|
|
120
|
-
"default": "./dist/iterator/index.mjs"
|
|
121
|
-
},
|
|
122
|
-
"require": {
|
|
123
|
-
"types": "./dist/iterator/index.d.ts",
|
|
124
|
-
"default": "./dist/iterator/index.js"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
107
|
"./map": {
|
|
128
108
|
"import": {
|
|
129
109
|
"types": "./dist/map/index.d.mts",
|
|
@@ -224,10 +204,7 @@
|
|
|
224
204
|
"compat.js",
|
|
225
205
|
"error.js",
|
|
226
206
|
"fp.js",
|
|
227
|
-
"fp/iterator.js",
|
|
228
|
-
"fp/iterator.d.ts",
|
|
229
207
|
"function.js",
|
|
230
|
-
"iterator.js",
|
|
231
208
|
"map.js",
|
|
232
209
|
"math.js",
|
|
233
210
|
"object.js",
|
|
@@ -381,16 +358,6 @@
|
|
|
381
358
|
"default": "./dist/fp/index.js"
|
|
382
359
|
}
|
|
383
360
|
},
|
|
384
|
-
"./fp/iterator": {
|
|
385
|
-
"import": {
|
|
386
|
-
"types": "./dist/fp/iterator/index.d.mts",
|
|
387
|
-
"default": "./dist/fp/iterator/index.mjs"
|
|
388
|
-
},
|
|
389
|
-
"require": {
|
|
390
|
-
"types": "./dist/fp/iterator/index.d.ts",
|
|
391
|
-
"default": "./dist/fp/iterator/index.js"
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
361
|
"./function": {
|
|
395
362
|
"import": {
|
|
396
363
|
"types": "./dist/function/index.d.mts",
|
|
@@ -401,16 +368,6 @@
|
|
|
401
368
|
"default": "./dist/function/index.js"
|
|
402
369
|
}
|
|
403
370
|
},
|
|
404
|
-
"./iterator": {
|
|
405
|
-
"import": {
|
|
406
|
-
"types": "./dist/iterator/index.d.mts",
|
|
407
|
-
"default": "./dist/iterator/index.mjs"
|
|
408
|
-
},
|
|
409
|
-
"require": {
|
|
410
|
-
"types": "./dist/iterator/index.d.ts",
|
|
411
|
-
"default": "./dist/iterator/index.js"
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
371
|
"./map": {
|
|
415
372
|
"import": {
|
|
416
373
|
"types": "./dist/map/index.d.mts",
|