Socket
Socket
Sign inDemoInstall

ts-node

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-node - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

7

dist/index.js

@@ -84,7 +84,10 @@ "use strict";

if (opts === void 0) { opts = {}; }
var emptyFileListWarnings = [18002, 18003];
var options = Object.assign({}, exports.DEFAULTS, opts);
var cacheDirectory = options.cacheDirectory || getTmpDir();
var ignoreDiagnostics = arrify(options.ignoreDiagnostics).concat(emptyFileListWarnings).map(Number);
var originalJsHandler = require.extensions['.js'];
var ignoreDiagnostics = arrify(options.ignoreDiagnostics).concat([
6059,
18002,
18003
]).map(Number);
var memoryCache = {

@@ -91,0 +94,0 @@ contents: Object.create(null),

{
"name": "ts-node",
"version": "5.0.0",
"version": "5.0.1",
"description": "TypeScript execution environment and REPL for node",

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

@@ -52,3 +52,3 @@ # TypeScript Node

**Note:** If you need to use advanced node.js CLI arguments, use `node -r ts-node/register` instead of the `ts-node` CLI.
**Note:** If you need to use advanced node.js CLI arguments (e.g. `--inspect`), use them with `node -r ts-node/register` instead of the `ts-node` CLI.

@@ -84,5 +84,5 @@ ### Mocha

**Typescript Node** uses `tsconfig.json` automatically, use `--skip-project` to skip loading `tsconfig.json`.
**Typescript Node** loads `tsconfig.json` automatically. Use `--skip-project` to the loading `tsconfig.json`.
**NOTE**: You can use `ts-node` together with [tsconfig-paths](https://www.npmjs.com/package/tsconfig-paths) to load modules according to the `paths` section in `tsconfig.json`.
**Tip**: You can use `ts-node` together with [tsconfig-paths](https://www.npmjs.com/package/tsconfig-paths) to load modules according to the `paths` section in `tsconfig.json`.

@@ -99,3 +99,3 @@ ## Configuration Options

Support `--print`, `--eval` and `--require` from [node.js CLI options](https://nodejs.org/api/cli.html).
Supports `--print`, `--eval` and `--require` from [node.js CLI options](https://nodejs.org/api/cli.html).

@@ -117,4 +117,4 @@ * `--help` Prints help text

* `--no-cache` Disable the local TypeScript Node cache (`TS_NODE_CACHE`)
* `--skip-project` Skip project config resolution and loading (`TS_NODE_SKIP_IGNORE`)
* `--skip-ignore` Skip ignore checks (`TS_NODE_SKIP_PROJECT`)
* `--skip-project` Skip project config resolution and loading (`TS_NODE_SKIP_PROJECT`)
* `--skip-ignore` Skip ignore checks (`TS_NODE_SKIP_IGNORE`)

@@ -121,0 +121,0 @@ ### Programmatic Only Options

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