ts-api-utils
Advanced tools
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 | ||
| } | ||
| } |
+8
-0
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
49
19.51%6
-60%196047
-44.44%5
-28.57%3747
-49.99%2
100%1
Infinity%