bundle-typescript
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
var child = require('child_process'); | ||
var path = require('path'); | ||
var ts = require('ntypescript'); | ||
@@ -7,5 +7,7 @@ | ||
this.on('fileUpdate', function (event) { | ||
console.log('loading ' + event.file); | ||
if (path.extname(event.file) != 'ts') { | ||
return; | ||
} | ||
event.contents = new Buffer(ts.transpile(event.contents.toString(), {module: ts.ModuleKind}, event.file, []), 'utf8'); | ||
}); | ||
}; |
{ | ||
"name": "bundle-typescript", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Converts your TypeScript files to regular JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
11
0
824
3