ts-api-utils
Advanced tools
+98
-103
| { | ||
| "name": "ts-api-utils", | ||
| "version": "2.1.0", | ||
| "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. ๐ ๏ธ๏ธ", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/JoshuaKGoldberg/ts-api-utils" | ||
| }, | ||
| "license": "MIT", | ||
| "author": { | ||
| "name": "JoshuaKGoldberg", | ||
| "email": "npm@joshuakgoldberg.com" | ||
| }, | ||
| "type": "module", | ||
| "exports": { | ||
| ".": { | ||
| "types": { | ||
| "import": "./lib/index.d.ts", | ||
| "require": "./lib/index.d.cts" | ||
| }, | ||
| "import": "./lib/index.js", | ||
| "require": "./lib/index.cjs" | ||
| } | ||
| }, | ||
| "main": "./lib/index.js", | ||
| "files": [ | ||
| "lib/", | ||
| "package.json", | ||
| "LICENSE.md", | ||
| "README.md" | ||
| ], | ||
| "scripts": { | ||
| "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts", | ||
| "docs": "typedoc", | ||
| "docs:serve": "npx --yes http-server docs/generated", | ||
| "format": "prettier \"**/*\" --ignore-unknown", | ||
| "lint": "eslint . --max-warnings 0", | ||
| "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors", | ||
| "lint:knip": "knip", | ||
| "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line", | ||
| "lint:packages": "pnpm dedupe --check", | ||
| "lint:spelling": "cspell \"**\" \".github/**/*\"", | ||
| "prepare": "husky", | ||
| "should-semantic-release": "should-semantic-release --verbose", | ||
| "test": "vitest", | ||
| "tsc": "tsc" | ||
| }, | ||
| "lint-staged": { | ||
| "*": "prettier --ignore-unknown --write" | ||
| }, | ||
| "devDependencies": { | ||
| "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", | ||
| "@eslint/js": "^9.19.0", | ||
| "@phenomnomnominal/tsquery": "^6.1.3", | ||
| "@release-it/conventional-changelog": "^10.0.0", | ||
| "@types/eslint-plugin-markdown": "^2.0.2", | ||
| "@types/node": "^18.19.74", | ||
| "@typescript/vfs": "^1.6.0", | ||
| "@vitest/coverage-v8": "^2.1.8", | ||
| "@vitest/eslint-plugin": "^1.1.25", | ||
| "console-fail-test": "^0.5.0", | ||
| "cspell": "^8.17.3", | ||
| "eslint": "^9.19.0", | ||
| "eslint-plugin-jsdoc": "^50.6.3", | ||
| "eslint-plugin-jsonc": "^2.19.1", | ||
| "eslint-plugin-markdown": "^5.1.0", | ||
| "eslint-plugin-n": "^17.15.1", | ||
| "eslint-plugin-package-json": "^0.19.0", | ||
| "eslint-plugin-perfectionist": "^4.7.0", | ||
| "eslint-plugin-regexp": "^2.7.0", | ||
| "eslint-plugin-yml": "^1.16.0", | ||
| "husky": "^9.1.7", | ||
| "jsonc-eslint-parser": "^2.4.0", | ||
| "knip": "^5.46.0", | ||
| "lint-staged": "^15.4.3", | ||
| "markdownlint": "^0.37.4", | ||
| "markdownlint-cli": "^0.44.0", | ||
| "prettier": "^3.4.2", | ||
| "prettier-plugin-curly": "^0.3.1", | ||
| "prettier-plugin-packagejson": "^2.5.8", | ||
| "release-it": "^18.1.2", | ||
| "sentences-per-line": "^0.3.0", | ||
| "should-semantic-release": "^0.3.0", | ||
| "tsup": "^8.3.6", | ||
| "typedoc": "^0.27.6", | ||
| "typedoc-plugin-coverage": "^3.4.1", | ||
| "typedoc-plugin-custom-validation": "^2.0.2", | ||
| "typedoc-plugin-konamimojisplosion": "^0.0.2", | ||
| "typedoc-plugin-mdn-links": "^4.0.10", | ||
| "typescript": "^5.7.3", | ||
| "typescript-eslint": "^8.22.0", | ||
| "vitest": "^3.0.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "typescript": ">=4.8.4" | ||
| }, | ||
| "packageManager": "pnpm@9.15.9", | ||
| "engines": { | ||
| "node": ">=18.12" | ||
| }, | ||
| "publishConfig": { | ||
| "provenance": true | ||
| } | ||
| } | ||
| "name": "ts-api-utils", | ||
| "version": "2.1.1", | ||
| "description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. ๐ ๏ธ๏ธ", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/JoshuaKGoldberg/ts-api-utils" | ||
| }, | ||
| "license": "MIT", | ||
| "author": { | ||
| "name": "JoshuaKGoldberg", | ||
| "email": "npm@joshuakgoldberg.com" | ||
| }, | ||
| "type": "module", | ||
| "exports": { | ||
| ".": { | ||
| "types": { | ||
| "import": "./lib/index.d.ts", | ||
| "require": "./lib/index.d.cts" | ||
| }, | ||
| "import": "./lib/index.js", | ||
| "require": "./lib/index.cjs" | ||
| } | ||
| }, | ||
| "main": "./lib/index.js", | ||
| "files": [ | ||
| "lib/", | ||
| "package.json", | ||
| "LICENSE.md", | ||
| "README.md" | ||
| ], | ||
| "lint-staged": { | ||
| "*": "prettier --ignore-unknown --write" | ||
| }, | ||
| "devDependencies": { | ||
| "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", | ||
| "@eslint/js": "^9.19.0", | ||
| "@phenomnomnominal/tsquery": "^6.1.3", | ||
| "@release-it/conventional-changelog": "^10.0.0", | ||
| "@types/eslint-plugin-markdown": "^2.0.2", | ||
| "@types/node": "^18.19.74", | ||
| "@typescript/vfs": "^1.6.0", | ||
| "@vitest/coverage-v8": "^3.0.0", | ||
| "@vitest/eslint-plugin": "^1.1.25", | ||
| "console-fail-test": "^0.5.0", | ||
| "cspell": "^8.17.3", | ||
| "eslint": "^9.19.0", | ||
| "eslint-plugin-jsdoc": "^50.6.3", | ||
| "eslint-plugin-jsonc": "^2.19.1", | ||
| "eslint-plugin-markdown": "^5.1.0", | ||
| "eslint-plugin-n": "^17.15.1", | ||
| "eslint-plugin-package-json": "^0.19.0", | ||
| "eslint-plugin-perfectionist": "^4.7.0", | ||
| "eslint-plugin-regexp": "^2.7.0", | ||
| "eslint-plugin-yml": "^1.16.0", | ||
| "husky": "^9.1.7", | ||
| "jsonc-eslint-parser": "^2.4.0", | ||
| "knip": "^5.46.0", | ||
| "lint-staged": "^15.4.3", | ||
| "markdownlint": "^0.37.4", | ||
| "markdownlint-cli": "^0.44.0", | ||
| "prettier": "^3.4.2", | ||
| "prettier-plugin-curly": "^0.3.1", | ||
| "prettier-plugin-packagejson": "^2.5.8", | ||
| "release-it": "^18.1.2", | ||
| "sentences-per-line": "^0.3.0", | ||
| "should-semantic-release": "^0.3.0", | ||
| "tsup": "^8.3.6", | ||
| "typedoc": "^0.28.0", | ||
| "typedoc-plugin-coverage": "^3.4.1", | ||
| "typedoc-plugin-custom-validation": "^2.0.2", | ||
| "typedoc-plugin-konamimojisplosion": "^0.0.2", | ||
| "typedoc-plugin-mdn-links": "^5.0.0", | ||
| "typescript": "^5.7.3", | ||
| "typescript-eslint": "^8.22.0", | ||
| "vitest": "^3.0.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "typescript": ">=4.8.4" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18.12" | ||
| }, | ||
| "scripts": { | ||
| "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts", | ||
| "docs": "typedoc", | ||
| "docs:serve": "npx --yes http-server docs/generated", | ||
| "format": "prettier \"**/*\" --ignore-unknown", | ||
| "lint": "eslint . --max-warnings 0", | ||
| "lint:docs": "typedoc --validation --treatValidationWarningsAsErrors", | ||
| "lint:knip": "knip", | ||
| "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line", | ||
| "lint:packages": "pnpm dedupe --check", | ||
| "lint:spelling": "cspell \"**\" \".github/**/*\"", | ||
| "should-semantic-release": "should-semantic-release --verbose", | ||
| "test": "vitest", | ||
| "tsc": "tsc" | ||
| } | ||
| } |
+0
-46
@@ -10,7 +10,2 @@ <h1 align="center">TypeScript API Utils</h1> | ||
| <p align="center"> | ||
| <!-- prettier-ignore-start --> | ||
| <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
| <img alt="All Contributors: 10 ๐ช" src="https://img.shields.io/badge/all_contributors-10_๐ช-21bb42.svg" /> | ||
| <!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
| <!-- prettier-ignore-end --> | ||
| <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank"><img alt="๐ค Code of Conduct: Kept" src="https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42" /></a> | ||
@@ -47,42 +42,1 @@ <a href="https://codecov.io/gh/JoshuaKGoldberg/ts-api-utils" target="_blank"><img alt="๐งช Coverage" src="https://img.shields.io/codecov/c/github/JoshuaKGoldberg/ts-api-utils?label=%F0%9F%A7%AA%20coverage" /></a> | ||
| Thanks! ๐ | ||
| ## Contributors | ||
| Many thanks to [@ajafff](https://github.com/ajafff) for creating the original [`tsutils`](https://github.com/ajafff/tsutils) ([original license: MIT](https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE)) that this project was originally based on! ๐ | ||
| <!-- prettier-ignore-start --> | ||
| <!-- markdownlint-disable --> | ||
| <!-- spellchecker: disable --> | ||
| <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
| <!-- prettier-ignore-start --> | ||
| <!-- markdownlint-disable --> | ||
| <table> | ||
| <tbody> | ||
| <tr> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://effectivetypescript.com"><img src="https://avatars.githubusercontent.com/u/98301?v=4?s=100" width="100px;" alt="Dan Vanderkam"/><br /><sub><b>Dan Vanderkam</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3Adanvk" title="Bug reports">๐</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://blog.jmchor.dev"><img src="https://avatars.githubusercontent.com/u/110151013?v=4?s=100" width="100px;" alt="Johannes Chorzempa"/><br /><sub><b>Johannes Chorzempa</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=jmchor" title="Documentation">๐</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=jmchor" title="Code">๐ป</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="http://www.joshuakgoldberg.com"><img src="https://avatars.githubusercontent.com/u/3335181?v=4?s=100" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3AJoshuaKGoldberg" title="Bug reports">๐</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg" title="Code">๐ป</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg" title="Documentation">๐</a> <a href="#projectManagement-JoshuaKGoldberg" title="Project Management">๐</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg" title="Tests">โ ๏ธ</a> <a href="#tool-JoshuaKGoldberg" title="Tools">๐ง</a> <a href="#maintenance-JoshuaKGoldberg" title="Maintenance">๐ง</a> <a href="#infra-JoshuaKGoldberg" title="Infrastructure (Hosting, Build-Tools, etc)">๐</a> <a href="#ideas-JoshuaKGoldberg" title="Ideas, Planning, & Feedback">๐ค</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://twitter.com/kirjs"><img src="https://avatars.githubusercontent.com/u/2545357?v=4?s=100" width="100px;" alt="Kirill Cherkashin"/><br /><sub><b>Kirill Cherkashin</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=kirjs" title="Code">๐ป</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://github.com/kirkwaiblinger"><img src="https://avatars.githubusercontent.com/u/53019676?v=4?s=100" width="100px;" alt="Kirk Waiblinger"/><br /><sub><b>Kirk Waiblinger</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3Akirkwaiblinger" title="Bug reports">๐</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=kirkwaiblinger" title="Code">๐ป</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://github.com/ajafff"><img src="https://avatars.githubusercontent.com/u/11968040?v=4?s=100" width="100px;" alt="Klaus Meinhardt"/><br /><sub><b>Klaus Meinhardt</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ajafff" title="Code">๐ป</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ajafff" title="Tests">โ ๏ธ</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://webpro.nl"><img src="https://avatars.githubusercontent.com/u/456426?v=4?s=100" width="100px;" alt="Lars Kappert"/><br /><sub><b>Lars Kappert</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=webpro" title="Code">๐ป</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://github.com/RebeccaStevens"><img src="https://avatars.githubusercontent.com/u/7224206?v=4?s=100" width="100px;" alt="Rebecca Stevens"/><br /><sub><b>Rebecca Stevens</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3ARebeccaStevens" title="Bug reports">๐</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens" title="Code">๐ป</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens" title="Documentation">๐</a> <a href="#projectManagement-RebeccaStevens" title="Project Management">๐</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens" title="Tests">โ ๏ธ</a> <a href="#tool-RebeccaStevens" title="Tools">๐ง</a> <a href="#infra-RebeccaStevens" title="Infrastructure (Hosting, Build-Tools, etc)">๐</a> <a href="#maintenance-RebeccaStevens" title="Maintenance">๐ง</a> <a href="#ideas-RebeccaStevens" title="Ideas, Planning, & Feedback">๐ค</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://twitter.com/ronenamiel"><img src="https://avatars.githubusercontent.com/u/5484230?v=4?s=100" width="100px;" alt="Ronen Amiel"/><br /><sub><b>Ronen Amiel</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ronami" title="Tests">โ ๏ธ</a></td> | ||
| <td align="center" valign="top" width="14.28%"><a href="https://www.fiskercheung.com/"><img src="https://avatars.githubusercontent.com/u/172584?v=4?s=100" width="100px;" alt="fisker Cheung"/><br /><sub><b>fisker Cheung</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=fisker" title="Code">๐ป</a></td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
| <!-- markdownlint-restore --> | ||
| <!-- prettier-ignore-end --> | ||
| <!-- ALL-CONTRIBUTORS-LIST:END --> | ||
| <!-- spellchecker: enable --> | ||
| <!-- markdownlint-restore --> | ||
| <!-- prettier-ignore-end --> | ||
| > ๐ This package was templated with [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). | ||
| > _"My tools! I have to have my tools!" - Dennis Reynolds_ |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
348840
-2.05%7402
-0.08%41
-52.87%15
15.38%