@ts-morph/bootstrap
Advanced tools
Comparing version 0.17.0 to 0.18.0
@@ -242,10 +242,10 @@ import { DocumentRegistry, StringUtils, ts, FileUtils, TransactionalFileSystem, TsConfigResolver, errors, InMemoryFileSystemHost, RealFileSystemHost, CompilerOptionsContainer, createHosts, runtime, createModuleResolutionHost, Memoize } from '@ts-morph/common'; | ||
addSourceFilesFromTsConfig(tsConfigFilePath) { | ||
const resolver = this._getTsConfigResolover(tsConfigFilePath); | ||
const resolver = this._getTsConfigResolver(tsConfigFilePath); | ||
return this._addSourceFilesForTsConfigResolver(resolver, resolver.getCompilerOptions()); | ||
} | ||
addSourceFilesFromTsConfigSync(tsConfigFilePath) { | ||
const resolver = this._getTsConfigResolover(tsConfigFilePath); | ||
const resolver = this._getTsConfigResolver(tsConfigFilePath); | ||
return this._addSourceFilesForTsConfigResolverSync(resolver, resolver.getCompilerOptions()); | ||
} | ||
_getTsConfigResolover(tsConfigFilePath) { | ||
_getTsConfigResolver(tsConfigFilePath) { | ||
const standardizedFilePath = this._fileSystemWrapper.getStandardizedAbsolutePath(tsConfigFilePath); | ||
@@ -331,5 +331,5 @@ return new TsConfigResolver(this._fileSystemWrapper, standardizedFilePath, this.compilerOptions.getEncoding()); | ||
} | ||
const allSoureFilesIterable = this.getSourceFiles(); | ||
const allSourceFilesIterable = this.getSourceFiles(); | ||
return selectSmallestDirPathResult(function* () { | ||
for (const sourceFile of allSoureFilesIterable) { | ||
for (const sourceFile of allSourceFilesIterable) { | ||
if (filePathOrSearchFunction(sourceFile)) | ||
@@ -336,0 +336,0 @@ yield sourceFile; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var common = require('@ts-morph/common'); | ||
@@ -245,10 +243,10 @@ | ||
addSourceFilesFromTsConfig(tsConfigFilePath) { | ||
const resolver = this._getTsConfigResolover(tsConfigFilePath); | ||
const resolver = this._getTsConfigResolver(tsConfigFilePath); | ||
return this._addSourceFilesForTsConfigResolver(resolver, resolver.getCompilerOptions()); | ||
} | ||
addSourceFilesFromTsConfigSync(tsConfigFilePath) { | ||
const resolver = this._getTsConfigResolover(tsConfigFilePath); | ||
const resolver = this._getTsConfigResolver(tsConfigFilePath); | ||
return this._addSourceFilesForTsConfigResolverSync(resolver, resolver.getCompilerOptions()); | ||
} | ||
_getTsConfigResolover(tsConfigFilePath) { | ||
_getTsConfigResolver(tsConfigFilePath) { | ||
const standardizedFilePath = this._fileSystemWrapper.getStandardizedAbsolutePath(tsConfigFilePath); | ||
@@ -334,5 +332,5 @@ return new common.TsConfigResolver(this._fileSystemWrapper, standardizedFilePath, this.compilerOptions.getEncoding()); | ||
} | ||
const allSoureFilesIterable = this.getSourceFiles(); | ||
const allSourceFilesIterable = this.getSourceFiles(); | ||
return selectSmallestDirPathResult(function* () { | ||
for (const sourceFile of allSoureFilesIterable) { | ||
for (const sourceFile of allSourceFilesIterable) { | ||
if (filePathOrSearchFunction(sourceFile)) | ||
@@ -339,0 +337,0 @@ yield sourceFile; |
{ | ||
"name": "@ts-morph/bootstrap", | ||
"version": "0.17.0", | ||
"version": "0.18.0", | ||
"description": "API for getting quickly set up with the TypeScript Compiler API.", | ||
@@ -23,15 +23,15 @@ "keywords": ["typescript", "compiler", "bootstrap"], | ||
"dependencies": { | ||
"@ts-morph/common": "~0.17.0" | ||
"@ts-morph/common": "~0.18.0" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.3.3", | ||
"@types/mocha": "^9.1.1", | ||
"chai": "^4.3.6", | ||
"@types/chai": "^4.3.4", | ||
"@types/mocha": "^10.0.0", | ||
"chai": "^4.3.7", | ||
"cross-env": "^7.0.3", | ||
"mocha": "^10.0.0", | ||
"mocha": "^10.1.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.78.1", | ||
"rollup-plugin-typescript2": "^0.33.0", | ||
"rollup": "^3.3.0", | ||
"rollup-plugin-typescript2": "^0.34.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "~4.8.2" | ||
"typescript": "~4.9.3" | ||
}, | ||
@@ -38,0 +38,0 @@ "publishConfig": { |
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
62870
1156
+ Added@ts-morph/common@0.18.1(transitive)
- Removed@ts-morph/common@0.17.0(transitive)
Updated@ts-morph/common@~0.18.0