TypeScript
Snyk support for TypeScript with Snyk Open Source and Snyk Code, including SCM import, CLI and IDE testing, and JavaScript frameworks
Applicability and integration
Available integrations:
SCM import
CLI and IDE: test or monitor your app
Technical specifications
You can use TypeScript versions up to 4.2.
Supported frameworks and libraries
Snyk supports all JavaScript frameworks and libraries. For more information, visit JavaScript frameworks and libraries.
Supported package managers and registries
For TypeScript, Snyk supports npm, pnpm, and Yarn as package managers, with the following versions:
npm:
Lockfile 1,Lockfile 2,Lockfile 3pnpm:
pnpm 7,pnpm 8,pnpm 9,pnpm 10Yarn:
Yarn 1,Yarn 2,Yarn 3,Yarn 4
As a package registry, Snyk supports npmjs.org.
TypeScript for Snyk Code
For an overview of the supported security rules, visit JavaScript and TypeScript rules.
For TypeScript with Snyk Code, Snyk supports the following file formats: .ejs, .es, .es6, .htm, .html, .js, .jsx, .ts, .cts, .mts, .tsx, .vue, .mjs, .cjs, .erb
To resolve imports that use path aliases when tracing data flow across modules, Snyk Code reads tsconfig.json and jsconfig.json in your Project.
Available features:
Reports
Interfile analysis
TypeScript for Snyk Open Source
For TypeScript with Snyk Open Source, Snyk supports the following file formats:
npm:
package.jsonandpackage-lock.jsonpnpm:
pnpm-lock.yamlYarn:
yarn.lock
Available features:
License scanning
Reports
Test your app's SBOM and packages using
pkg:npmPURLs through the SBOM test CLI command
Last updated
Was this helpful?

