Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-morph-helpers

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-morph-helpers - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

4

dist/experimental/getReferencedSourceFiles.d.ts
import type { SourceFile, Symbol } from 'ts-morph';
/** Function executed for each source file, returns all nodes to recursively add source files of */
declare type GetSymbols = (sourceFile: SourceFile) => Symbol[];
type GetSymbols = (sourceFile: SourceFile) => Symbol[];
/** Function to decide whether traversal should be aborted (current file will be excluded) */
declare type AbortTraversal = (sourceFile: SourceFile) => boolean;
type AbortTraversal = (sourceFile: SourceFile) => boolean;
/**

@@ -7,0 +7,0 @@ * Start traversal from `entryFile`, `getSymbols` from this source file, then

import type { Symbol, ImportDeclaration } from 'ts-morph';
declare type Options = {
type Options = {
onlyRelative: boolean;
};
declare type GetImportDeclarationsForSymbols = (symbols: Symbol[], options?: Options) => ImportDeclaration[];
type GetImportDeclarationsForSymbols = (symbols: Symbol[], options?: Options) => ImportDeclaration[];
/** Get import declarations for symbols (only ./relative ../imports by default) */
export declare const getImportDeclarationsForSymbols: GetImportDeclarationsForSymbols;
export {};
{
"name": "ts-morph-helpers",
"version": "0.6.1",
"version": "0.6.2",
"description": "Helpers for ts-morph",

@@ -33,12 +33,12 @@ "keywords": [

"dependencies": {
"ts-morph": "16.0.0"
"ts-morph": "17.0.0"
},
"devDependencies": {
"@types/node": "18.11.4",
"@types/react": "18.0.21",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"barrel-maintainer": "1.5.3",
"prettier": "2.7.1",
"release-it": "15.5.0",
"tsx": "3.11.0",
"typescript": "4.8.4"
"tsx": "3.12.1",
"typescript": "4.9.3"
},

@@ -45,0 +45,0 @@ "release-it": {

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