Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-import

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-import - npm Package Compare versions

Comparing version 0.0.44 to 0.0.45

2

dist/index.js

@@ -131,6 +131,6 @@ "use strict";

cachedFileDir = path.dirname(cachedFilePath);
console.log("Pre import", process.cwd());
if (changeDirectory) {
process.chdir(cachedFileDir);
}
console.log("Pre import", process.cwd());
return [4 /*yield*/, Promise.resolve().then(function () { return require(cachedFilePath); })];

@@ -137,0 +137,0 @@ case 1:

{
"name": "ts-import",
"version": "0.0.44",
"version": "0.0.45",
"description": "Import (compile and cache on the fly) TypeScript files dynamically with ease.",

@@ -24,3 +24,3 @@ "keywords": [

"@radrat-scripts/readme": "0.0.41",
"@radrat/cli": "0.0.59",
"@radrat/cli": "0.0.60",
"@types/node": "^14.6.0",

@@ -27,0 +27,0 @@ "typescript": "^3.9.7"

@@ -88,4 +88,2 @@ import * as childProcess from 'child_process';

console.log(`Pre import`, process.cwd());
if (changeDirectory) {

@@ -95,2 +93,4 @@ process.chdir(cachedFileDir);

console.log(`Pre import`, process.cwd());
const imported = await import(cachedFilePath);

@@ -97,0 +97,0 @@

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