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

@ts-morph/common

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-morph/common - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1

10

lib/ts-morph-common.d.ts

@@ -509,5 +509,9 @@ import * as ts from "./typescript";

copySync(srcPath: string, destPath: string): void;
/** Asynchronously checks if a file exists. */
/** Asynchronously checks if a file exists.
* @remarks Implementers should throw an `errors.FileNotFoundError` when it does not exist.
*/
fileExists(filePath: string): Promise<boolean>;
/** Synchronously checks if a file exists. */
/** Synchronously checks if a file exists.
* @remarks Implementers should throw an `errors.FileNotFoundError` when it does not exist.
*/
fileExistsSync(filePath: string): boolean;

@@ -803,3 +807,5 @@ /** Asynchronously checks if a directory exists. */

directoryExistsSync(dirPath: StandardizedFilePath): boolean;
readFileIfExistsSync(filePath: StandardizedFilePath, encoding: string | undefined): string | undefined;
readFileSync(filePath: StandardizedFilePath, encoding: string | undefined): string;
readFileIfExists(filePath: StandardizedFilePath, encoding: string | undefined): Promise<string | undefined>;
readFile(filePath: StandardizedFilePath, encoding: string | undefined): Promise<string>;

@@ -806,0 +812,0 @@ private _verifyCanReadFile;

2

package.json
{
"name": "@ts-morph/common",
"version": "0.12.0",
"version": "0.12.1",
"description": "Common functionality for ts-morph packages.",

@@ -5,0 +5,0 @@ "main": "dist/ts-morph-common.js",

Sorry, the diff of this file is too big to display

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