Socket
Socket
Sign inDemoInstall

detective-typescript

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detective-typescript - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1

8

index.js
'use strict';
const Parser = require('@typescript-eslint/typescript-estree');
const parser = require('@typescript-eslint/typescript-estree');
const types = require('ast-module-types');
const Walker = require('node-source-walk');
const types = require('ast-module-types');

@@ -17,3 +17,3 @@ /**

const walkerOptions = { ...options, parser: Parser };
const walkerOptions = { ...options, parser };

@@ -67,3 +67,3 @@ // Determine whether to skip "type-only" imports

!node.arguments ||
!node.arguments.length) {
node.arguments.length === 0) {
break;

@@ -70,0 +70,0 @@ }

{
"name": "detective-typescript",
"version": "11.0.0",
"version": "11.0.1",
"author": "Patrik Henningsson <patrik.henningsson@gmail.com>",

@@ -43,5 +43,5 @@ "description": "Get the dependencies of a TypeScript module",

"c8": "^7.13.0",
"eslint": "^8.39.0",
"eslint": "^8.40.0",
"mocha": "^10.2.0"
}
}

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

### detective-typescript [![CI](https://img.shields.io/github/actions/workflow/status/dependents/detective-typescript/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/detective-typescript/actions/workflows/ci.yml?query=branch%3Amain) [![npm](https://img.shields.io/npm/v/detective-typescript)](https://www.npmjs.com/package/detective-typescript) [![npm](https://img.shields.io/npm/dm/detective-typescript)](https://www.npmjs.com/package/detective-typescript)
# detective-typescript
[![CI](https://img.shields.io/github/actions/workflow/status/dependents/detective-typescript/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/detective-typescript/actions/workflows/ci.yml?query=branch%3Amain)
[![npm version](https://img.shields.io/npm/v/detective-typescript?logo=npm&logoColor=fff)](https://www.npmjs.com/package/detective-typescript)
[![npm downloads](https://img.shields.io/npm/dm/detective-typescript)](https://www.npmjs.com/package/detective-typescript)
> Get the dependencies of TypeScript module

@@ -9,3 +13,3 @@

### Usage
## Usage

@@ -22,3 +26,3 @@ ```js

### Options
## Options

@@ -30,4 +34,4 @@ - `skipTypeImports` (default: `false`) Skips imports that only imports types

#### License
## License
MIT
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