Socket
Socket
Sign inDemoInstall

tsutils

Package Overview
Dependencies
2
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.19.0 to 3.19.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 3.19.1
**Bugfixes:**
* `getSymbolOfClassLikeDeclaration` no longer crashes on anonymous mixin classes
# 3.19.0

@@ -2,0 +8,0 @@

2

package.json
{
"name": "tsutils",
"version": "3.19.0",
"version": "3.19.1",
"description": "utilities for working with typescript's AST",

@@ -5,0 +5,0 @@ "scripts": {

@@ -259,3 +259,4 @@ "use strict";

function getSymbolOfClassLikeDeclaration(node, checker) {
return node.name !== undefined ? checker.getSymbolAtLocation(node.name) : checker.getTypeAtLocation(node).symbol;
var _a;
return checker.getSymbolAtLocation((_a = node.name) !== null && _a !== void 0 ? _a : util_1.getChildOfKind(node, ts.SyntaxKind.ClassKeyword));
}

@@ -262,0 +263,0 @@ exports.getSymbolOfClassLikeDeclaration = getSymbolOfClassLikeDeclaration;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc