
Research
6 Malicious Packagist Themes Ship Trojanized jQuery and FUNNULL Redirect Payloads
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.
@xylabs/object-model
Advanced tools
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
@xylabs/object-model
optional log: boolean | Logger;
optional log: boolean | Logger;
required: false;
optional log: boolean | Logger;
required: true;
type AnyObject = Record<TypedKey, unknown>;
Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject will result in a type that includes the universal set of field names
type AsOptionalTypeFunction<T> = <TType>(value) => undefined | TType;
T extends AnyNonPromise = AnyNonPromise
TType extends AnyNonPromise
AnyNonPromise
undefined | TType
type AsTypeFunction<T> = {
<TType> (value): undefined | TType;
<TType> (value, config): TType;
<TType> (value, config): undefined | TType;
<TType> (value, assert): undefined | TType;
<TType> (value, assert, config): TType;
<TType> (value, assert, config): undefined | TType;
};
T extends AnyNonPromise = AnyNonPromise
<TType>(value): undefined | TType;
TType extends AnyNonPromise
AnyNonPromise
undefined | TType
<TType>(value, config): TType;
TType extends AnyNonPromise
AnyNonPromise
TType
<TType>(value, config): undefined | TType;
TType extends AnyNonPromise
AnyNonPromise
TypeCheckConfig | TypeCheckOptionalConfig
undefined | TType
<TType>(value, assert): undefined | TType;
TType extends AnyNonPromise
AnyNonPromise
StringOrAlertFunction<TType>
undefined | TType
<TType>(
value,
assert,
config): TType;
TType extends AnyNonPromise
AnyNonPromise
StringOrAlertFunction<TType>
TType
<TType>(
value,
assert,
config): undefined | TType;
TType extends AnyNonPromise
AnyNonPromise
StringOrAlertFunction<TType>
TypeCheckConfig | TypeCheckOptionalConfig
undefined | TType
type Compare<T> = (a, b) => number;
T
T
T
number
type StringOrAlertFunction<T> = string | AssertExMessageFunc<T>;
T extends AnyNonPromise
type TypeCheck<T> = {
(obj): obj is T;
(obj, config): obj is T;
(obj, config): obj is T;
};
T extends TypedValue
(obj): obj is T;
AnyNonPromise
obj is T
(obj, config): obj is T;
AnyNonPromise
obj is T
(obj, config): obj is T;
AnyNonPromise
undefined | number | TypeCheckConfig
obj is T
Part of sdk-js
See the LICENSE file for license details
FAQs
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
The npm package @xylabs/object-model receives a total of 12,411 weekly downloads. As such, @xylabs/object-model popularity was classified as popular.
We found that @xylabs/object-model demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.

Security News
The GCVE initiative operated by CIRCL has officially opened its publishing ecosystem, letting organizations issue and share vulnerability identifiers without routing through a central authority.

Security News
The project is retiring its odd/even release model in favor of a simpler annual cadence where every major version becomes LTS.