
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.
@tapjs/after-each
Advanced tools
@tapjs/after-eachA default tap plugin providing t.afterEach().
This plugin is installed with tap by default. If you had
previously removed it, you can tap plugin add @tapjs/after-each to
bring it back.
import t from 'tap'
t.afterEach(t => {
// this will run after each child test, all of their child
// tests, and so on
// the parameter is the child test that just ended.
})
If the method returns a promise, it will be awaited before moving on to the next test.
The afterEach method is called for all child tests, not just
direct children. "Closer" ancestor afterEach methods are called
before further ancestors.
For example, this test:
import t from 'tap'
t.afterEach(t => {
console.error('root after each', t.name)
})
t.test('parent test', t => {
t.afterEach(t => {
console.error('parent after each', t.name)
})
t.test('child test', t => t.end())
t.end()
})
will print:
parent after each child test
root after each child test
root after each parent test
FAQs
a built-in tap extension for t.afterEach()
The npm package @tapjs/after-each receives a total of 109,542 weekly downloads. As such, @tapjs/after-each popularity was classified as popular.
We found that @tapjs/after-each demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.