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.1.0 to 4.1.1

8

dist/Compile/Compile.js

@@ -15,3 +15,3 @@ "use strict";

class Compile {
constructor(compilerOptions = {}, is_development = !(/production/i.test(process.env.NODE_ENV))) {
constructor(compilerOptions = {}, development = !(/production/i.test(process.env.NODE_ENV))) {
this.compilerOptions = {};

@@ -43,3 +43,3 @@ this.project = typescript_1.sys.getCurrentDirectory();

md5 = this.updateScriptVersion(file);
this.is_development && typescript_1.sys.watchFile(file, this.watch);
this.development && typescript_1.sys.watchFile(file, this.watch);
}

@@ -69,3 +69,3 @@ return md5;

};
this.is_development = false;
this.development = false;
this.watch = (file) => {

@@ -155,3 +155,3 @@ this.updateScriptVersion(file);

this.init(compilerOptions);
this.is_development = is_development;
this.development = development;
this.server = ts.createLanguageService({

@@ -158,0 +158,0 @@ getCompilationSettings: () => this.compilerOptions,

{
"name": "express-tsx",
"version": "4.1.0",
"version": "4.1.1",
"description": "express view engine",

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

@@ -44,3 +44,3 @@ import ts = require('typescript')

md5 = this.updateScriptVersion(file)
this.is_development && sys.watchFile(file,this.watch)
this.development && sys.watchFile(file,this.watch)
}

@@ -65,5 +65,5 @@ return md5

}
constructor(compilerOptions:ts.CompilerOptions={},is_development=!(/production/i.test(process.env.NODE_ENV))){
constructor(compilerOptions:ts.CompilerOptions={},development=!(/production/i.test(process.env.NODE_ENV))){
this.init(compilerOptions)
this.is_development = is_development
this.development = development
this.server = ts.createLanguageService({

@@ -79,3 +79,3 @@ getCompilationSettings:()=>this.compilerOptions,

}
is_development = false
development = false
watch = (file)=>{

@@ -82,0 +82,0 @@ this.updateScriptVersion(file)

@@ -9,4 +9,4 @@ declare var requirejs:any

}
if(!regx.nativeCode.test(Array.prototype.forEach.toString())){ define('es5-shim',null) }
if(!regx.nativeCode.test(Array.prototype.forEach.toString())){ define('es6-shim',null) }
if('forEach' in Array.prototype && !regx.nativeCode.test(Array.prototype.forEach.toString())){ define('es5-shim',null) }
if('assign' in Object && !regx.nativeCode.test(Object.assign.toString())){ define('es6-shim',null) }
var map = imports.reduce(function(target,module){

@@ -13,0 +13,0 @@ var name = module.split('?').slice(0,1)[0].split('.').slice(0,-1)[0]

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