
Research
/Security News
Laravel Lang Compromised with RCE Backdoor Across 700+ Versions
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.
@tapjs/chdir
Advanced tools
@tapjs/chdirA default tap plugin for changing the working directory for the context of a single test, and then returning to the original working directory when the test is over.
import t from 'tap'
t.test('using t.chdir() example', t => {
const dir = t.testdir({
'some-file.txt': 'hello',
})
t.chdir(dir)
t.equal(readFileSync('./some-file.txt', 'utf8'), 'hello')
t.equal(process.cwd(), t.testdirName)
// when the test ends, the original working dir is restored
t.end()
})
// without this plugin, you'd have to do it this way:
t.test('without t.chdir() example', t => {
const dir = t.testdir({
'some-file.txt': 'hello',
})
const cwd = process.cwd()
t.teardown(() => process.chdir(cwd))
process.chdir(dir)
// run tests...
t.end()
})
t.chdir(dir: string) Change the process working directory to
the supplied path. When the test ends, the original dir is
restored.FAQs
a built-in tap extension for t.chdir()
The npm package @tapjs/chdir receives a total of 91,224 weekly downloads. As such, @tapjs/chdir popularity was classified as popular.
We found that @tapjs/chdir 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
/Security News
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.

Security News
Socket found a malicious postinstall hook across 700+ GitHub repos, including PHP packages on Packagist and Node.js project repositories.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain