Socket
Socket
Sign inDemoInstall

@ts-morph/bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-morph/bootstrap - npm Package Compare versions

Comparing version 0.17.0 to 0.18.0

10

dist-deno/ts-morph-bootstrap.js

@@ -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": {

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