![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@kevinoid/assert-shim
Advanced tools
Readme
An implementation of the Node.js v15.6.0 assert module for Node.js 10 and later.
Warning: This module is a work-in-progress, on an as-needed basis, which
is why I'm publishing it in the @kevinoid
namespace. If/When reasonable API
coverage is achieved, I'll plan to publish without a namespace and promote it
more broadly. See Implemented APIs for progress.
const assert = require('@kevinoid/assert-shim');
assert.match('Hello World', /hello/i);
This code will work on any Node.js version supported by this module.
assert
module.assert
module.
All properties of assert
are exported from assert-shim
to make switching
between the two easy.assert
module functions are used when available. (i.e.
require('@kevinoid/assert-shim').match === require('assert').match
on
Node.js versions which provide
assert.match
(v13.6/v12.16 or
later).This package can be installed using npm, either globally or locally, by running:
npm install @kevinoid/assert-shim
This module provides the same API as assert from Node.js v15.
Contributions are appreciated. Contributors agree to abide by the Contributor Covenant Code of Conduct. If this is your first time contributing to a Free and Open Source Software project, consider reading How to Contribute to Open Source in the Open Source Guides.
If the desired change is large, complex, backwards-incompatible, can have significantly differing implementations, or may not be in scope for this project, opening an issue before writing the code can avoid frustration and save a lot of time and effort.
This project is available under the terms of the MIT License (The same license as Node.js). See the summary at TLDRLegal.
FAQs
Implementation of the assert module from Node.js 15 for Node.js 10 or later.
The npm package @kevinoid/assert-shim receives a total of 0 weekly downloads. As such, @kevinoid/assert-shim popularity was classified as not popular.
We found that @kevinoid/assert-shim demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.