Comparing version 0.7.1 to 0.7.2
@@ -38,3 +38,3 @@ #!/usr/bin/env node | ||
if (type === 'uncaughtException' && error instanceof ts_node_1.TSError && process.listeners(type).length === 0) { | ||
return printAndExit(error); | ||
printAndExit(error); | ||
} | ||
@@ -41,0 +41,0 @@ return _emit.apply(this, arguments); |
@@ -84,2 +84,3 @@ "use strict"; | ||
sourceMapSupport.install({ | ||
environment: 'node', | ||
retrieveFile: function (fileName) { | ||
@@ -86,0 +87,0 @@ if (project.files[fileName]) { |
@@ -7,3 +7,3 @@ "use strict"; | ||
var ts_node_1 = require('./ts-node'); | ||
var cwd = path_1.join(__dirname, '../src'); | ||
var cwd = path_1.join(__dirname, '../tests'); | ||
var EXEC_PATH = path_1.join(__dirname, '../dist/bin/ts-node'); | ||
@@ -10,0 +10,0 @@ var BIN_EXEC = "node " + EXEC_PATH + " --project \"" + cwd + "\""; |
{ | ||
"name": "ts-node", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"preferGlobal": true, | ||
@@ -54,3 +54,3 @@ "description": "TypeScript execution environment and REPL for node", | ||
"tslint": "^3.2.1", | ||
"typescript": "^1.8.7", | ||
"typescript": "^1.8.10", | ||
"typings": "^0.7.7" | ||
@@ -57,0 +57,0 @@ }, |
@@ -51,3 +51,3 @@ # TypeScript Node | ||
```sh | ||
mocha test.ts --require ts-node/register src/**/*.spec.ts | ||
mocha --require ts-node/register [...args] | ||
``` | ||
@@ -58,3 +58,3 @@ | ||
```sh | ||
ts-node node_modules/tape/bin/tape src/**/*.spec.ts | ||
ts-node node_modules/tape/bin/tape [...args] | ||
``` | ||
@@ -61,0 +61,0 @@ |
Sorry, the diff of this file is not supported yet
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
46618
562