New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ealmansi/jagger

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ealmansi/jagger - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

12

js/src/transform.js

@@ -115,7 +115,9 @@ "use strict";

const provideableType = typeChecker.getTypeAtLocation(provideable);
const baseTypes = provideableType.getBaseTypes();
if (!baseTypes) {
continue;
}
const candidateTypes = [provideableType].concat(baseTypes);
let candidateTypes = [provideableType];
candidateTypes = candidateTypes.concat(candidateTypes.flatMap((candidateType) => typeChecker
.getTypeAtLocation(candidateType.symbol.valueDeclaration)
.getBaseTypes() || []));
candidateTypes = candidateTypes.concat(candidateTypes.flatMap((candidateType) => typeChecker
.getTypeAtLocation(candidateType.symbol.valueDeclaration)
.getBaseTypes() || []));
for (const candidateType of candidateTypes) {

@@ -122,0 +124,0 @@ const candidateTypeSymbol = candidateType.getSymbol();

{
"name": "@ealmansi/jagger",
"version": "0.1.15",
"version": "0.1.16",
"description": "WIP",

@@ -5,0 +5,0 @@ "files": [

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