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 2.0.8-2 to 2.0.8

14

dist/index.js

@@ -170,14 +170,4 @@ "use strict";

}
var stdoutTrimmed = stdout.trim();
if (stdoutTrimmed) {
logger === null || logger === void 0 ? void 0 : logger.log(stdout);
}
var stderrTrimmed = stderr.trim();
console.log(typeof stderrTrimmed, stderrTrimmed.length, stderrTrimmed.charAt(0));
if (stderrTrimmed) {
console.error("ERR CODE 2", stderr);
logger === null || logger === void 0 ? void 0 : logger.error(stderr);
reject(stderr);
return;
}
logger === null || logger === void 0 ? void 0 : logger.log(stdout);
logger === null || logger === void 0 ? void 0 : logger.error(stderr);
resolve();

@@ -184,0 +174,0 @@ });

2

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

@@ -5,0 +5,0 @@ "keywords": [

@@ -131,16 +131,5 @@ import * as childProcess from 'child_process';

const stdoutTrimmed = stdout.trim();
if (stdoutTrimmed) {
logger?.log(stdout);
}
logger?.log(stdout);
logger?.error(stderr);
const stderrTrimmed = stderr.trim();
console.log(typeof stderrTrimmed, stderrTrimmed.length, stderrTrimmed.charAt(0));
if (stderrTrimmed) {
console.error(`ERR CODE 2`, stderr);
logger?.error(stderr);
reject(stderr);
return;
}
resolve();

@@ -147,0 +136,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