Socket
Socket
Sign inDemoInstall

@typescript-eslint/type-utils

Package Overview
Dependencies
4
Maintainers
2
Versions
1951
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.13.1-alpha.3 to 7.13.1-alpha.4

4

dist/typeFlagUtils.d.ts

@@ -15,3 +15,5 @@ import * as ts from 'typescript';

*/
export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags, isReceiver?: boolean): boolean;
export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags,
/** @deprecated This params is not used and will be removed in the future.*/
isReceiver?: boolean): boolean;
//# sourceMappingURL=typeFlagUtils.d.ts.map

@@ -51,4 +51,7 @@ "use strict";

*/
function isTypeFlagSet(type, flagsToCheck, isReceiver) {
function isTypeFlagSet(type, flagsToCheck,
/** @deprecated This params is not used and will be removed in the future.*/
isReceiver) {
const flags = getTypeFlags(type);
// eslint-disable-next-line deprecation/deprecation -- not used
if (isReceiver && flags & ANY_OR_UNKNOWN) {

@@ -55,0 +58,0 @@ return true;

{
"name": "@typescript-eslint/type-utils",
"version": "7.13.1-alpha.3",
"version": "7.13.1-alpha.4",
"description": "Type utilities for working with TypeScript + ESLint together",

@@ -49,4 +49,4 @@ "files": [

"dependencies": {
"@typescript-eslint/typescript-estree": "7.13.1-alpha.3",
"@typescript-eslint/utils": "7.13.1-alpha.3",
"@typescript-eslint/typescript-estree": "7.13.1-alpha.4",
"@typescript-eslint/utils": "7.13.1-alpha.4",
"debug": "^4.3.4",

@@ -57,3 +57,3 @@ "ts-api-utils": "^1.3.0"

"@jest/types": "29.6.3",
"@typescript-eslint/parser": "7.13.1-alpha.3",
"@typescript-eslint/parser": "7.13.1-alpha.4",
"ajv": "^6.12.6",

@@ -60,0 +60,0 @@ "downlevel-dts": "*",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc