Comparing version 3.0.1 to 3.0.2
@@ -328,3 +328,3 @@ "use strict"; | ||
} | ||
return diagnostics.filter(function (x) { return ignore.indexOf(x.code); }); | ||
return diagnostics.filter(function (x) { return ignore.indexOf(x.code) === -1; }); | ||
} | ||
@@ -331,0 +331,0 @@ function formatDiagnostics(diagnostics, cwd, ts, lineOffset) { |
@@ -118,3 +118,3 @@ "use strict"; | ||
it('should pipe into an eval script', function (done) { | ||
var cp = child_process_1.exec(BIN_EXEC + " -p '(process.stdin as any).isTTY'", function (err, stdout) { | ||
var cp = child_process_1.exec(BIN_EXEC + " -p 'declare var process: any\nprocess.stdin.isTTY'", function (err, stdout) { | ||
chai_1.expect(err).to.not.exist; | ||
@@ -121,0 +121,0 @@ chai_1.expect(stdout).to.equal('undefined\n'); |
{ | ||
"name": "ts-node", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"preferGlobal": true, | ||
@@ -5,0 +5,0 @@ "description": "TypeScript execution environment and REPL for node", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
119957