Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Native TypeScript support for sindresorhus' awesome AVA test runner out of the box, without a prior build step.
This is a fork of the official AVA repository with a couple of minimally invasive changes. Uses ts-node/register
instead of Babel. Not the cleanest solution, but it works pretty well.
npm install --save-dev ava-ts ava ts-node
# Using yarn:
yarn add --dev ava-ts ava ts-node
Write your tests in TypeScript as you would usually do and import from ava
, not from ava-ts
, just as you would always do.
// test.ts
import test from 'ava'
test('one plus two equals three', t => {
t.is(1 + 2, 3)
})
Instead of running ava
, just run the ava-ts
CLI tool instead. That's it!
It will use all the same options and defaults you know from AVA, but searches for *.ts
files instead of *.js
.
See AVA's official docs for detailed information.
It comes with most of the great features you love:
There are a few limitations, however.
MIT. The fork as well as the original. AVA is a project of always awesome Sindre Sorhus.
FAQs
Fork of the AVA test runner with native typescript support 🚀
The npm package ava-ts receives a total of 790 weekly downloads. As such, ava-ts popularity was classified as not popular.
We found that ava-ts 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.