Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@exercism/babel-preset-typescript
Advanced tools
Babel preset configuration for the TypeScript track on Exercism
This is the shared babel
preset configuration used by the TypeScript track. Shareable configs are designed to work with the presets
and plugins
feature of .babelrc
configuration files. This means you can use the same configuration you're used to on Exercism in your on projects!
⚠ It's customary to define dependencies such as
@babel/core
aspeerDependency
, so it's easy to determine its version by the including project, but because this preset is designed for end-usage, and we want to consolidate updating its dependencies in one place, we currently include these as hard dependencies.You can still override the version included via the
package-lock
file, tools like shrinkwrap, or dependency resolution such asyarn
provides.
To use the configuration, open your babel configuration file, and add the following value to presets
. For example, for JSON based configuration files:
{
"presets": ["@exercism/babel-preset-typescript"]
}
Find the configuration here. It's goal is to enable babel's preset environment, and occasionally introduce experimental syntax before it becomes widely adopted (stage 3 and beyond, for those following TC39).
FAQs
Babel preset configuration for the TypeScript track on Exercism
We found that @exercism/babel-preset-typescript 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.