Socket
Socket
Sign inDemoInstall

ts-node

Package Overview
Dependencies
8
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.6.1 to 8.6.2

10

dist/index.js

@@ -5,3 +5,3 @@ "use strict";

const sourceMapSupport = require("source-map-support");
const yn = require("yn");
const ynModule = require("yn");
const make_error_1 = require("make-error");

@@ -18,2 +18,10 @@ const util = require("util");

/**
* Wrapper around yn module that returns `undefined` instead of `null`.
* This is implemented by yn v4, but we're staying on v3 to avoid v4's node 10 requirement.
*/
function yn(value) {
var _a;
return _a = ynModule(value), (_a !== null && _a !== void 0 ? _a : undefined);
}
/**
* Debugging `ts-node`.

@@ -20,0 +28,0 @@ */

4

dist/index.spec.js

@@ -269,5 +269,3 @@ "use strict";

child_process_1.exec(`${BIN_EXEC} tests/tsconfig-options/log-options.js`, {
env: {
TS_NODE_COMPILER_OPTIONS: '{"typeRoots": ["env-typeroots"]}'
}
env: Object.assign(Object.assign({}, process.env), { TS_NODE_COMPILER_OPTIONS: '{"typeRoots": ["env-typeroots"]}' })
}, function (err, stdout) {

@@ -274,0 +272,0 @@ chai_1.expect(err).to.equal(null);

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

@@ -86,4 +86,4 @@ "main": "dist/index.js",

"source-map-support": "^0.5.6",
"yn": "^4.0.0"
"yn": "3.1.1"
}
}

Sorry, the diff of this file is not supported yet

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