Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@equinor/echo-base
Advanced tools
![logo](https://raw.githubusercontent.com/equinor/EchoCore/main/doc/ee.png)
Everything a Echo web need for enabling micro frontend development.
This library was generated with Nx.
Check the readme in the NX libraries folder.
lint-base
build-base
test-base
v0.7.0:
v0.6.0:
baseError
, it now properly supports nested innerErrors. Exception/inner Error used to overwrite each others property if they had the same name.BaseError
now has errorTraceId, either from backEnd, or a unique frontEnd idBaseError
helper methods added for getting properties or propertyByNameIt's recommended to create your own error types, extending BaseError, and decorate it with your own fields:
export class PdfError extends BaseError {
docNo: string;
constructor(args: { message: string; docNo: string; innerError?: Error }) {
super({ name: 'PdfError', message: args.message, innerError: args.innerError });
this.docNo = args.docNo;
}
}
v0.6.0:
initializeError
to initializeNetworkError
and simplified it. It now only takes NetworkErrorArgs
as argument.BaseError
now properly support nested (and nested-nested) errors with argument innerError
.exception
argument renamed to innerError
, of type Record<string, unknown> | Error
BaseError
doesn't add properties directly onto itself anymore, but uses nested errors with argument innerError
.BaseError.allProperties()["someCustomProperty"]
use BaseError.findPropertyByName("someCustomProperty")
. Since we now use innerError
of type Error
or Record<string, unknown>, the property has been moved from baseError[property] to baseError.innerError[property].EchoEvents
enum to EchoCore
.EventHub
event keys in all functions from string | EchoEvents
to string
only.v0.5.0:
Example implementation:
export class CustomError extends BaseError {
constructor(args: ErrorArgs) {
super({ ...args, name: 'CustomError' });
}
}
FAQs
![logo](https://raw.githubusercontent.com/equinor/EchoCore/main/doc/ee.png)
The npm package @equinor/echo-base receives a total of 193 weekly downloads. As such, @equinor/echo-base popularity was classified as not popular.
We found that @equinor/echo-base 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.