Socket
Book a DemoSign in
Socket

ts-api-utils

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-api-utils - npm Package Compare versions

Comparing version
2.5.0
to
3.0.0-rc.1
lib/index.d.mts

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

+18
-19
{
"name": "ts-api-utils",
"version": "2.5.0",
"version": "3.0.0-rc.1",
"description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. ๐Ÿ› ๏ธ๏ธ",

@@ -17,12 +17,8 @@ "repository": {

"exports": {
".": {
"types": {
"import": "./lib/index.d.ts",
"require": "./lib/index.d.cts"
},
"import": "./lib/index.js",
"require": "./lib/index.cjs"
}
".": "./lib/index.mjs",
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"main": "./lib/index.mjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.mts",
"files": [

@@ -32,3 +28,3 @@ "lib/"

"scripts": {
"build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts",
"build": "tsdown src/index.ts",
"docs": "typedoc",

@@ -40,3 +36,3 @@ "docs:serve": "npx --yes http-server docs/generated",

"lint:knip": "knip",
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules markdownlint-sentences-per-line",
"lint:package": "publint --strict",

@@ -59,5 +55,5 @@ "lint:packages": "pnpm dedupe --check",

"@types/eslint-plugin-markdown": "^2.0.2",
"@types/node": "^18.19.74",
"@types/node": "^20.19.33",
"@typescript/vfs": "^1.6.0",
"@vitest/coverage-v8": "^3.0.0",
"@vitest/coverage-v8": "^4.0.0",
"@vitest/eslint-plugin": "^1.1.25",

@@ -81,2 +77,3 @@ "console-fail-test": "^0.6.0",

"markdownlint-cli": "^0.48.0",
"markdownlint-sentences-per-line": "^0.1.3",
"prettier": "^3.4.2",

@@ -87,5 +84,4 @@ "prettier-plugin-curly": "^0.4.0",

"release-it": "^19.0.0",
"sentences-per-line": "^0.3.0",
"should-semantic-release": "^0.3.0",
"tsup": "^8.3.6",
"tsdown": "^0.16.6",
"typedoc": "^0.28.0",

@@ -98,11 +94,14 @@ "typedoc-plugin-coverage": "^4.0.0",

"typescript-eslint": "^8.22.0",
"vitest": "^3.0.0"
"vitest": "^4.0.0"
},
"peerDependencies": {
"typescript": ">=4.8.4"
"typescript": ">=5.5.2 <7"
},
"packageManager": "pnpm@10.32.1",
"engines": {
"node": ">=18.12"
"node": ">=20.19"
},
"publishConfig": {
"provenance": true
}
}

@@ -37,2 +37,10 @@ <h1 align="center">TypeScript API Utils</h1>

### Supported Versions
`ts-api-utils` supports TypeScript versions `5.5.2` and above and Node versions `20.19.0` and above.
Note: `ts-api-utils` will not work with the TypeScript Native Preview (TypeScript 7) for the foreseeable future, due to
unknowns around the future of the TypeScript Native API.\
See their list of [What Works So Far?](https://github.com/microsoft/typescript-go#what-works-so-far) for details.
## Development

@@ -39,0 +47,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display