Socket
Socket
Sign inDemoInstall

ts-node

Package Overview
Dependencies
18
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.2.0 to 10.2.1

dist-raw/README.md

3

dist/index.js

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

const resolver_functions_1 = require("./resolver-functions");
const typescript_1 = require("typescript");
var repl_1 = require("./repl");

@@ -181,3 +180,3 @@ Object.defineProperty(exports, "createRepl", { enumerable: true, get: function () { return repl_1.createRepl; } });

// Experimental REPL await is not compatible targets lower than ES2018
const targetSupportsTla = config.options.target >= typescript_1.ScriptTarget.ES2018;
const targetSupportsTla = config.options.target >= ts.ScriptTarget.ES2018;
if (options.experimentalReplAwait === true && !targetSupportsTla) {

@@ -184,0 +183,0 @@ throw new Error('Experimental REPL await is not compatible with targets lower than ES2018');

{
"name": "ts-node",
"version": "10.2.0",
"version": "10.2.1",
"description": "TypeScript execution environment and REPL for node.js, with source map support",

@@ -141,3 +141,3 @@ "main": "dist/index.js",

"typedoc": "^0.20.28",
"typescript": "4.2.2",
"typescript": "4.3.5",
"typescript-json-schema": "^0.42.0",

@@ -144,0 +144,0 @@ "util.promisify": "^1.0.1"

@@ -727,3 +727,3 @@ <!--

This feature is meant to faciliate scenarios where normal `compilerOptions` and `package.json` configuration is not possible. For example, a `webpack.config.ts` cannot be given its own `package.json` to override `"type"`. Wherever possible you should favor using traditional `package.json` and `tsconfig.json` configurations.
This feature is meant to facilitate scenarios where normal `compilerOptions` and `package.json` configuration is not possible. For example, a `webpack.config.ts` cannot be given its own `package.json` to override `"type"`. Wherever possible you should favor using traditional `package.json` and `tsconfig.json` configurations.

@@ -730,0 +730,0 @@ # Recipes

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc