Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "depseek", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Seeks for dependency references in JS/TS code", | ||
@@ -38,3 +38,4 @@ "type": "module", | ||
"type": "git", | ||
"url": "git+https://github.com/antongolub/misc.git" | ||
"url": "git+https://github.com/antongolub/misc.git", | ||
"directory": "packages/dep/depseek" | ||
}, | ||
@@ -46,7 +47,9 @@ "author": "Anton Golub <antongolub@antongolub.com>", | ||
}, | ||
"homepage": "https://github.com/antongolub/misc#readme", | ||
"homepage": "https://github.com/antongolub/misc/tree/master/packages/dep/depseek", | ||
"devDependencies": { | ||
"@antongolub/infra": "workspace:*", | ||
"@types/node": "^20.10.5" | ||
"@types/node": "^20.10.5", | ||
"benchmark": "^2.1.4", | ||
"esprima": "^4.0.1" | ||
} | ||
} |
# depseek | ||
> Seeks for dependency references in JS/TS code | ||
[![lcov](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2Fantongolub%2Fmisc%2Freleases%2Fdownload%2Flcov%2Flcov-sum.json&query=%24.scopes.packages_dep_depseek.max&label=lcov&color=brightgreen)](https://github.com/antongolub/misc/releases/download/lcov/lcov.info) | ||
[![npm](https://img.shields.io/npm/v/depseek.svg?&color=white)](https://www.npmjs.com/package/depseek) | ||
## Motivation | ||
@@ -5,0 +8,0 @@ Dep extraction is a common task for many tools solved in different ways from regexps to AST parsing. |
/// <reference types="node" resolution-mode="require"/> | ||
import { Duplex } from 'node:stream'; | ||
import { Readable } from 'node:stream'; | ||
type TCodeRef = { | ||
@@ -8,3 +8,3 @@ type: string; | ||
}; | ||
export declare const depseek: (stream: Duplex) => Promise<TCodeRef[]>; | ||
export declare const depseek: (stream: Readable) => Promise<TCodeRef[]>; | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49
9556
4
157