Socket
Socket
Sign inDemoInstall

typescript-is

Package Overview
Dependencies
5
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.0 to 0.17.1

12

lib/transform-inline/visitor-utils.js

@@ -123,2 +123,14 @@ "use strict";

for (const baseType of baseTypes) {
if (baseType.aliasTypeArguments && visitorContext.previousTypeReference !== baseType && baseType.target) {
const typeReference = baseType;
if (typeReference.aliasTypeArguments !== undefined && typeReference.target.aliasTypeArguments !== undefined) {
const typeParameters = typeReference.target.aliasTypeArguments;
const typeArguments = typeReference.aliasTypeArguments;
for (let i = 0; i < typeParameters.length; i++) {
if (typeParameters[i] !== typeArguments[i]) {
mapping.set(typeParameters[i], typeArguments[i]);
}
}
}
}
if (tsutils.isTypeReference(baseType) && baseType.target.typeParameters !== undefined && baseType.typeArguments !== undefined) {

@@ -125,0 +137,0 @@ const typeParameters = baseType.target.typeParameters;

2

package.json
{
"name": "typescript-is",
"version": "0.17.0",
"version": "0.17.1",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=6.14.4"

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