Closed electrovir closed 2 months ago
flatten2dArray
[].flat()
AtLeastOneEntryArray
AtLeastTuple
typedArrayIncludes
check.isIn
@augment-vir/assert
arrayToObject
getEnumTypedValues
getEnumValues
getEnumTypedKeys
isEnumValue
check.isEnumValue
ensureEnum
assertWrap.isEnumValue
filterToEnumValues
caseInsensitive
hasKey
check.hasKey
isKeyof
check.isKeyOf
mapObjectValuesSync
PartialAndNullable
PartialWithNullable
PartialAndUndefined
PartialWithUndefined
isObject
check.isObject
PropertyValueType
Values
RemovePartial
CompleteRequire
PickDeep
PickSelection
typedHasProperty
check.hasValue
typedHasProperties
check.hasValues
createDeferredPromiseWrapper
DeferredPromise
isPromiseLike
check.isPromiseLike
executeWithRetries
callWithRetries
waitUntilTruthy
waitUntil.isTruthy
isUuid
check.isUuid
ansiRegex
ansiRegExp
getAllIndexesOf
findSubstringIndexes
isTruthy
check.isTruthy
isFalsy
doesRequireScientificNotation
requiresScientificNotation
ensureMinAndMax
ensureMinMax
convertIntoNumber
toNumber
wrapNumber
value
round
clamp
removeCommasFromNumberString
removeCommas
makeCaseInsensitiveRegExp
setRegExpCaseSensitivity
getSubstringIndexes
typedSplit
safeSplit
createDebounce
Debounce
isBrowser
isRuntimeEnv(RuntimeEnv.Web)
combineErrors
Error
combineErrorMessages
JsonCompatiblePrimitiveValue
JsonCompatiblePrimitive
stringifyJson
stringify
JSON.stringify
parseJson
JSON.parse
deDupeRegExFlags
removeDuplicateCharacters
timeCallback
measureExecutionDuration
isLengthAtLeast
check.isLengthAtLeast
assertLengthAtLeast
assert.isLengthAtLeast
Writeable
Writable
DeepWriteable
WritableDeep
RequiredBy
SetRequired
RequiredAndNotNullBy
SetRequiredAndNotNull
IfEquals
wrapNarrowTypeWithTypeCheck
satisfies
NoInfer
never
Public
Deprecated. Renamed to @augment-vir/web.
@augment-vir/web
findOverflowParent
findOverflowAncestor
queryChildren
queryThroughShadow
shuffleArray
@augment-vir/common
Deprecated. All functionality moved to the testWeb export from @augment-vir/test.
testWeb
@augment-vir/test
Deprecated. All functionality moved to @augment-vir/test.
Deprecated. All functionality moved to the docker export from @augment-vir/node.
docker
@augment-vir/node
Deprecated. Renamed to @augment-vir/node.
Deprecated. Types moved to @augment-vir/common. Functionality moved to the prisma export from @augment-vir/node.
prisma
Deprecated. Use @augment-vir/test instead.
Changes to existing exports
@augment-vir/common
flatten2dArray
: removed. Use[].flat()
.AtLeastOneEntryArray
: removed. UseAtLeastTuple
.typedArrayIncludes
: removed. Usecheck.isIn
from@augment-vir/assert
instead.arrayToObject
: the callback must now provide both key and value.getEnumTypedValues
: renamed togetEnumValues
.getEnumTypedKeys
: removed. UsegetEnumValues
instead.isEnumValue
: removed. Usecheck.isEnumValue
from@augment-vir/assert
instead.ensureEnum
: removed. UseassertWrap.isEnumValue
from@augment-vir/assert
instead.filterToEnumValues
: removed thirdcaseInsensitive
input.hasKey
: removed. Usecheck.hasKey
from@augment-vir/assert
instead.isKeyof
: removed. Usecheck.isKeyOf
from@augment-vir/assert
instead.mapObjectValuesSync
: no longer needs to be curried.PartialAndNullable
: renamed toPartialWithNullable
.PartialAndUndefined
: renamed toPartialWithUndefined
.isObject
: removed. Usecheck.isObject
from@augment-vir/assert
instead.PropertyValueType
: renamed toValues
.RemovePartial
: improved and renamed toCompleteRequire
.PickDeep
: removed entirely. Use thePickSelection
pattern instead.typedHasProperty
: removed. Usecheck.hasValue
from@augment-vir/assert
instead.typedHasProperties
: removed. Usecheck.hasValues
from@augment-vir/assert
instead.createDeferredPromiseWrapper
: refactored into a class:DeferredPromise
.isPromiseLike
: removed. Usecheck.isPromiseLike
from@augment-vir/assert
instead.executeWithRetries
: renamed tocallWithRetries
.waitUntilTruthy
: removed. UsewaitUntil.isTruthy
from@augment-vir/assert
instead.isUuid
: removed. Usecheck.isUuid
from@augment-vir/assert
instead.ansiRegex
: renamed toansiRegExp
.getAllIndexesOf
: renamed tofindSubstringIndexes
.isTruthy
: removed. Usecheck.isTruthy
from@augment-vir/assert
instead.isFalsy
: moved to@augment-vir/assert
.doesRequireScientificNotation
: renamed torequiresScientificNotation
.ensureMinAndMax
: renamed toensureMinMax
convertIntoNumber
: removed. UsetoNumber
.wrapNumber
:value
is now the standalone first input.round
:value
is now the standalone first input.clamp
:value
is now the standalone first input.removeCommasFromNumberString
: renamed toremoveCommas
.makeCaseInsensitiveRegExp
: removed. UsesetRegExpCaseSensitivity
instead.getAllIndexesOf
: renamed togetSubstringIndexes
.typedSplit
: renamed tosafeSplit
.createDebounce
: refactored into a class,Debounce
.isBrowser
: removed. UseisRuntimeEnv(RuntimeEnv.Web)
instead.combineErrors
: always returns anError
now.combineErrorMessages
: now takes string inputs and is smarter about combinations.JsonCompatiblePrimitiveValue
: renamed to justJsonCompatiblePrimitive
.stringifyJson
: removed. Usestringify
or justJSON.stringify
instead.parseJson
: removed. UseJSON.parse
instead.deDupeRegExFlags
: removed. UseremoveDuplicateCharacters
instead.timeCallback
: renamed tomeasureExecutionDuration
.isLengthAtLeast
: removed. Usecheck.isLengthAtLeast
from@augment-vir/assert
instead.assertLengthAtLeast
: removed. Useassert.isLengthAtLeast
from@augment-vir/assert
instead.Writeable
: renamed toWritable
.DeepWriteable
: renamed toWritableDeep
.RequiredBy
: renamed toSetRequired
.RequiredAndNotNullBy
: renamed toSetRequiredAndNotNull
.IfEquals
: moved to@augment-vir/assert
.wrapNarrowTypeWithTypeCheck
: removed. Use TypeScript's built-insatisfies
instead.NoInfer
: removed. Use TypeScript's built-inNoInfer
instead, with a default type parameter ofnever
.Public
: removed.@augment-vir/browser
Deprecated. Renamed to
@augment-vir/web
.findOverflowParent
: renamed tofindOverflowAncestor
queryChildren
: removed. UsequeryThroughShadow
instead.shuffleArray
: moved to@augment-vir/common
@augment-vir/browser-testing
Deprecated. All functionality moved to the
testWeb
export from@augment-vir/test
.@augment-vir/chai
Deprecated. All functionality moved to
@augment-vir/test
.@augment-vir/docker
Deprecated. All functionality moved to the
docker
export from@augment-vir/node
.@augment-vir/node-js
Deprecated. Renamed to
@augment-vir/node
.shuffleArray
: moved to@augment-vir/common
@augment-vir/common
@augment-vir/prisma-node-js
Deprecated. Types moved to
@augment-vir/common
. Functionality moved to theprisma
export from@augment-vir/node
.@augment-vir/testing
Deprecated. Use
@augment-vir/test
instead.