Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-api-utils

Package Overview
Dependencies
Maintainers
1
Versions
40
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 1.0.1 to 1.0.2

10

lib/index.js

@@ -91,13 +91,7 @@ // src/comments.ts

case "declaration":
return (
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
options.declaration || isCompilerOptionEnabled(options, "composite")
);
return options.declaration || isCompilerOptionEnabled(options, "composite");
case "incremental":
return options.incremental === void 0 ? isCompilerOptionEnabled(options, "composite") : options.incremental;
case "skipDefaultLibCheck":
return (
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck")
);
return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, "skipLibCheck");
case "suppressImplicitAnyIndexErrors":

@@ -104,0 +98,0 @@ return options.suppressImplicitAnyIndexErrors === true && isCompilerOptionEnabled(options, "noImplicitAny");

47

package.json
{
"name": "ts-api-utils",
"version": "1.0.1",
"version": "1.0.2",
"description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils.",

@@ -41,3 +41,3 @@ "repository": {

"lint:package": "npmPkgJsonLint .",
"lint:packages": "pnpm-deduplicate --list",
"lint:packages": "pnpm dedupe --check",
"lint:spelling": "cspell \"**\" \".github/**/*\"",

@@ -53,13 +53,13 @@ "prepare": "husky install",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@typescript/vfs": "^1.4.0",
"@vitest/coverage-istanbul": "^0.32.0",
"cspell": "^6.19.2",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@typescript/vfs": "^1.5.0",
"@vitest/coverage-istanbul": "^0.34.0",
"cspell": "^7.0.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-deprecation": "^1.3.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^41.0.0",
"eslint-plugin-jsdoc": "^46.0.0",
"eslint-plugin-jsonc": "^2.6.0",

@@ -71,3 +71,3 @@ "eslint-plugin-markdown": "^3.0.0",

"eslint-plugin-typescript-sort-keys": "^2.1.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unicorn": "^48.0.0",
"eslint-plugin-vitest": "^0.2.0",

@@ -77,15 +77,14 @@ "http-serve": "^1.0.1",

"jsonc-eslint-parser": "^2.1.0",
"knip": "^2.0.0",
"lint-staged": "^13.1.0",
"markdownlint": "^0.29.0",
"markdownlint-cli": "^0.34.0",
"npm-package-json-lint": "^6.4.0",
"npm-package-json-lint-config-default": "^5.0.0",
"pnpm-deduplicate": "^0.4.1",
"prettier": "^2.8.3",
"knip": "^2.19.5",
"lint-staged": "^14.0.0",
"markdownlint": "^0.30.0",
"markdownlint-cli": "^0.35.0",
"npm-package-json-lint": "^7.0.0",
"npm-package-json-lint-config-default": "^6.0.0",
"prettier": "^3.0.0",
"prettier-plugin-packagejson": "^2.4.2",
"release-it": "^15.6.0",
"release-it": "^16.0.0",
"sentences-per-line": "^0.2.1",
"should-semantic-release": "^0.1.0",
"tsup": "^6.5.0",
"tsup": "^7.0.0",
"typedoc": "^0.24.0",

@@ -97,4 +96,4 @@ "typedoc-plugin-coverage": "^2.0.0",

"typedoc-plugin-versions": "^0.2.3",
"typescript": "^5.0.2",
"vitest": "^0.32.0"
"typescript": "^5.1.6",
"vitest": "^0.34.0"
},

@@ -104,3 +103,3 @@ "peerDependencies": {

},
"packageManager": "pnpm@7.33.1",
"packageManager": "pnpm@8.6.12",
"engines": {

@@ -107,0 +106,0 @@ "node": ">=16.13.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc