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

express-tsx

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-tsx - npm Package Compare versions

Comparing version 4.0.4 to 4.0.5

4

dist/Compile/Compile.js

@@ -32,5 +32,6 @@ "use strict";

};
this.compilerOptionsHash = '';
this.updateScriptVersion = (file) => {
let code = typescript_1.sys.readFile(file);
return this.hash[file] = typescript_1.sys.createHash(code);
return this.hash[file] = typescript_1.sys.createHash(code + this.compilerOptionsHash);
};

@@ -65,2 +66,3 @@ this.getScriptVersion = (file) => {

this.compilerOptions = Object.assign({}, this.compilerOptions, Compile.defaultCompilerOptions, compilerOptions);
this.compilerOptionsHash = typescript_1.sys.createHash(JSON.stringify(this.compilerOptions));
};

@@ -67,0 +69,0 @@ this.is_development = false;

{
"name": "express-tsx",
"version": "4.0.4",
"version": "4.0.5",
"description": "express view engine",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

}
compilerOptionsHash:string = ''
updateScriptVersion = (file)=>{
let code = sys.readFile(file)
return this.hash[file] = sys.createHash(code)
return this.hash[file] = sys.createHash(code+this.compilerOptionsHash)
}

@@ -62,2 +63,3 @@ getScriptVersion = (file)=>{

this.compilerOptions = { ...this.compilerOptions, ...Compile.defaultCompilerOptions, ...compilerOptions, }
this.compilerOptionsHash = sys.createHash(JSON.stringify(this.compilerOptions))
}

@@ -64,0 +66,0 @@ constructor(compilerOptions:ts.CompilerOptions={},is_development=!(/production/i.test(process.env.NODE_ENV))){

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