
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Use the latest TypeScript, with complete access to the compiler API 🌹
Still Just TypeScript
byots
will use whatever TypeScript version you install in your application. So you are actually using whatever TypeScript you bring in. However we highly recommend npm install typescript@next byots@latest
so you don't get any JavaScriptFromTypeScript - TypeDefinitionFromByots
inconsistencies.But with the following advantage
With a liberal definition file. We expose internal APIs.
The definitions are updated daily automatically and our version numbers match the TypeScript nightly version numbers.
If you are working with the TypeScript compiler using import * as ts from 'typescript'
and ts
has everything you need, then use that. Otherwise if you find some API that isn't available on ts.
but you can see if you do console.log(ts)
, then you would consider using byots
.
In your package.json
npm install byots@latest --save --save-exact
Each release is named after the day it was built and the git commit hash in Microsoft/TypeScript/master that it was built from. We recommend adding save-exact
so you know exactly what you tested with.
Use import * as ts from 'byots'
and you get what import * as ts from 'typescript'
would give you.
https://github.com/nonara/ts-expose-internals
ts-expose-internals
builds for new releases only to provide better stability - byots
is nightly for bleeding edge experimentation.ts-expose-internals
uses module augmentation so you import typescript
- byots
reexports typescript so you import byots
.FAQs
Bring your own TypeScript
The npm package byots receives a total of 1,435 weekly downloads. As such, byots popularity was classified as popular.
We found that byots demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.