
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
yatts-typescript
Advanced tools
Keep your typescript version synchronized with a patched version that exposes internal definitions and some private methods for type checking.
Keep your typescript version synchronized with a patched version that exposes internal definitions and some private methods for type checking.
When you run pnpm yatts-typescript-sync, it will look for your installed version of typescript, make a copy in its own location, apply the patches and re-export the patched version. So you can import yatts-typescript and enjoy your patched version of typescript while keeping your original version intact.
Removes all @internal tags which allows you to access internal types, classes, properties and methods with their declarations.
Export some very useful private methods from the TypeChecker:
function isTypeSubtypeOf(source: Type, target: Type): boolean;
function isTypeIdenticalTo(source: Type, target: Type): boolean;
function isTypeDerivedFrom(source: Type, target: Type): boolean;
function isTypeAssignableTo(source: Type, target: Type): boolean;
function isTypeComparableTo(source: Type, target: Type): boolean;
function areTypesComparable(source: Type, target: Type): boolean;
pnpm add typescript yatts-typescript
Add an postinstall or prepare field in your package.json with pnpm yatts-typescript-sync in it.
{
"postinstall": "pnpm yatts-typescript-sync"
}
import ts from 'yatts-typescript';
// Use ts as usual.
import { patch } from 'yatts-typescript/patch';
const { error, success, modulePath } = patch(options);
string | undefined - Default to typescript.string | undefined - Default to node_modules/yatts-typescript/lib.[PatchRule, ...PatchRule[]] | undefined - Default to undefined.PatchRule[] | undefined - Default to undefined.yatts-typescript is a combination of the alternatives listed below. But instead of maintaining an up-to-date build of typescript we use your locally installed version.
Scaffolded with @skarab/skaffold
FAQs
Keep your typescript version synchronized with a patched version that exposes internal definitions and some private methods for type checking.
We found that yatts-typescript 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.