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

@file-services/typescript

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/typescript - npm Package Compare versions

Comparing version 0.2.4 to 0.3.0

1

cjs/create-host.d.ts

@@ -8,2 +8,3 @@ import ts from 'typescript';

export interface IBaseHost extends ts.ParseConfigHost, ts.FormatDiagnosticsHost, ts.ModuleResolutionHost {
readDirectory(path: string, extensions?: ReadonlyArray<string>, exclude?: ReadonlyArray<string>, include?: ReadonlyArray<string>, depth?: number): string[];
getCurrentDirectory(): string;

@@ -10,0 +11,0 @@ directoryExists(directoryPath: string): boolean;

@@ -8,2 +8,3 @@ import ts from 'typescript';

export interface IBaseHost extends ts.ParseConfigHost, ts.FormatDiagnosticsHost, ts.ModuleResolutionHost {
readDirectory(path: string, extensions?: ReadonlyArray<string>, exclude?: ReadonlyArray<string>, include?: ReadonlyArray<string>, depth?: number): string[];
getCurrentDirectory(): string;

@@ -10,0 +11,0 @@ directoryExists(directoryPath: string): boolean;

16

package.json
{
"name": "@file-services/typescript",
"description": "Helpers for creation of TypeScript hosts",
"version": "0.2.4",
"version": "0.3.0",
"main": "cjs/index.js",

@@ -10,9 +10,5 @@ "module": "esm/index.js",

"clean": "rimraf ./cjs ./esm",
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p src --outDir cjs --module commonjs",
"build:esm": "tsc -p src --outDir esm --module esnext",
"lint": "run-p lint:src lint:test",
"lint:src": "tslint -p src",
"lint:test": "tslint -p test",
"test": "mocha -r @ts-tools/node \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx"
"build": "ts-build ./src --cjs --esm",
"lint": "tslint -p src",
"prepack": "yarn build"
},

@@ -23,3 +19,3 @@ "peerDependencies": {

"dependencies": {
"@file-services/types": "^0.2.2"
"@file-services/types": "^0.3.0"
},

@@ -38,3 +34,3 @@ "files": [

"sideEffects": false,
"gitHead": "3134da9970d72deda9c0003b00e11aaeb54d9b48"
"gitHead": "6203b5b30191f38c522498dfb1a3a31ef42c5cba"
}

@@ -12,2 +12,9 @@ import ts from 'typescript'

export interface IBaseHost extends ts.ParseConfigHost, ts.FormatDiagnosticsHost, ts.ModuleResolutionHost {
readDirectory(
path: string,
extensions?: ReadonlyArray<string>,
exclude?: ReadonlyArray<string>,
include?: ReadonlyArray<string>,
depth?: number
): string[]
getCurrentDirectory(): string

@@ -14,0 +21,0 @@ directoryExists(directoryPath: string): boolean

@@ -11,3 +11,4 @@ import ts from 'typescript'

useCaseSensitiveFileNames: boolean,
currentDirectory: string, depth: number | undefined,
currentDirectory: string,
depth: number | undefined,
getFileSystemEntries: (path: string) => FileSystemEntries

@@ -18,4 +19,4 @@ ): string[]

export interface FileSystemEntries {
files: ReadonlyArray<string>
directories: ReadonlyArray<string>
readonly files: ReadonlyArray<string>
readonly directories: ReadonlyArray<string>
}

@@ -22,0 +23,0 @@

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

Sorry, the diff of this file is not supported yet

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