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

express-tsx-compiler

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-tsx-compiler - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

CHANGELOG.md

6

dist/Compile.js

@@ -77,2 +77,3 @@ "use strict";

this.compilerOptions = Object.assign({}, baseconfig, this.compilerOptions, config);
return configfile;
};

@@ -172,3 +173,2 @@ this.watcher = new events_1.EventEmitter();

this.tourl = (baseurl) => (m) => (baseurl + m + `?v=${this.getScriptVersion(m)}`).replace(/\\/g, '/');
this.init(compilerOptionsOrProjectDirname);
this.development = development;

@@ -184,2 +184,6 @@ this.server = ts.createLanguageService({

});
let configfile = this.init(compilerOptionsOrProjectDirname);
if (this.development && typeof configfile === 'string') {
this.watchers.push(typescript_1.sys.watchFile(configfile, () => this.init(compilerOptionsOrProjectDirname)));
}
}

@@ -186,0 +190,0 @@ get compilerOptions() { return this.__compilerOptions; }

2

package.json
{
"name": "express-tsx-compiler",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "src/index.ts",

@@ -91,5 +91,5 @@ import ts = require('typescript')

}
return configfile
}
constructor(compilerOptionsOrProjectDirname?:ts.CompilerOptions|string,development=!(/production/i.test(process.env.NODE_ENV))){
this.init(compilerOptionsOrProjectDirname)
this.development = development

@@ -105,2 +105,8 @@ this.server = ts.createLanguageService({

})
let configfile = this.init(compilerOptionsOrProjectDirname)
if(this.development && typeof configfile ==='string'){
this.watchers.push(
sys.watchFile(configfile,()=>this.init(compilerOptionsOrProjectDirname))
)
}
}

@@ -107,0 +113,0 @@ watcher = new EventEmitter()

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