Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
A types utility belt for TypeScript.
ID
NonDefined
Nullish
Empty
FalseLike
Primitive
Serial.Type
Serial.Primitive
Serial.Array
Serial.Object
Dictionary
Constructor
MaybePromise
MaybePromiseLike
NullaryFn
UnaryFn
BinaryFn
MultiaryFn
VariadicFn
Union
Intersection
KeyOf
ValueOf
Index
Replace
Optional
Deep.Required
Deep.Partial
An exported object with methods:
isID(item: any): item is ID
isNullish(item: any): item is Nullish
isEmpty(item: any): item is Empty
isFalseLike(item: any): item is FalseLike
isPrimitive(item: any): item is Primitive
: includes bigint, boolean, number, string, symbol, null, and undefined.isNull(item: any): item is null
isUndefined(item: any): item is undefined
isBoolean(item: any): item is boolean
isString(item: any): item is string
isNumber(item: any): item is number
isBigInt(item: any): item is bigint
isSymbol(item: any): item is symbol
isFunction(item: any): item is VariadicFn
isObjectLike(item: any): item is any
: excludes null, includes array and function.isObject(item: any): item is any
: excludes null, includes array.isRecordLike(item: any): item is Members<unknown>
, excludes null
and array, includes function.isRecord(item: any): item is Members<unknown>
: excludes null, array, and function.isArray(item: any): item is unknown[]
isPromiseLike(item: any): item is PromiseLike<unknown>
: item is a thenable.isPromise(item: any): item is Promise<unknown>
: item is a Promise.isIterable(item: any): item is Iterable<unknown>
isAsyncIterable(item: any): item is AsyncIterable<unknown>
isIterator(item: any): item is Iterator<unknown, unknown, unknown>
isEventEmitterLike(item: any): item is Partial<NodeJS.EventEmitter>
isEventEmitter(item: any): item is NodeJS.EventEmitter
isEventTarget(item: any): item is EventTarget
FAQs
A types utility belt
The npm package type-core receives a total of 890 weekly downloads. As such, type-core popularity was classified as not popular.
We found that type-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.