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.6.0 to 0.7.0

4

dist/ts-morph-bootstrap.js

@@ -181,2 +181,3 @@ 'use strict';

constructor(objs, options) {
var _a;
const { tsConfigResolver } = objs;

@@ -202,2 +203,3 @@ this.fileSystem = objs.fileSystem;

this.compilerHost = compilerHost;
this.configFileParsingDiagnostics = (_a = tsConfigResolver === null || tsConfigResolver === void 0 ? void 0 : tsConfigResolver.getErrors()) !== null && _a !== void 0 ? _a : [];
function getCompilerOptions() {

@@ -328,3 +330,3 @@ return Object.assign(Object.assign({}, getTsConfigCompilerOptions()), (options.compilerOptions || {}));

const oldProgram = this._oldProgram;
const program = common.ts.createProgram(Object.assign({ rootNames: Array.from(this._sourceFileCache.getSourceFilePaths()), options: this.compilerOptions.get(), host: this.compilerHost, oldProgram }, options));
const program = common.ts.createProgram(Object.assign({ rootNames: Array.from(this._sourceFileCache.getSourceFilePaths()), options: this.compilerOptions.get(), host: this.compilerHost, oldProgram, configFileParsingDiagnostics: this.configFileParsingDiagnostics }, options));
this._oldProgram = program;

@@ -331,0 +333,0 @@ return program;

{
"name": "@ts-morph/bootstrap",
"version": "0.6.0",
"version": "0.7.0",
"description": "API for getting quickly set up with the TypeScript Compiler API.",

@@ -5,0 +5,0 @@ "keywords": ["typescript", "compiler", "bootstrap"],

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