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 4.0.0-beta.8 to 4.0.0-beta.9

2

dist/main.js

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

const crossPlatform = require("./modules/cross-platform");
const path = require("path");
const path = require("node:path");
const utils = require("./utils");

@@ -10,0 +10,0 @@ const load_interfaces_1 = require("./load.interfaces");

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

const commentParser = require("comment-parser");
const fs = require("fs");
const fs = require("node:fs");
const getTsImportCommentConfig = async (tsRelativePath) => {

@@ -8,0 +8,0 @@ const tsContent = await fs.promises.readFile(tsRelativePath, `utf-8`);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transpileSync = exports.transpile = void 0;
const fs = require("fs");
const path = require("path");
const fs = require("node:fs");
const path = require("node:path");
const tsc = require("typescript");

@@ -7,0 +7,0 @@ const transpile = async (options) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfig = void 0;
const path = require("path");
const path = require("node:path");
const tsc = require("typescript");

@@ -6,0 +6,0 @@ const options_defaults_1 = require("options-defaults");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfig = void 0;
const path = require("path");
const path = require("node:path");
const options_defaults_1 = require("options-defaults");

@@ -6,0 +6,0 @@ const getConfig = (options) => {

/// <reference types="node" />
import * as fs from 'fs';
import * as fs from 'node:fs';
export declare const checkIfFileExists: (filePath: string) => Promise<fs.Stats>;
export declare const checkIfFileExistsSync: (filePath: string) => fs.Stats;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkIfFileExistsSync = exports.checkIfFileExists = void 0;
const fs = require("fs");
const fs = require("node:fs");
const checkIfFileExists = async (filePath) => {

@@ -6,0 +6,0 @@ return fs.promises.stat(filePath);

@@ -1,2 +0,2 @@

import * as fs from 'fs';
import * as fs from 'node:fs';
export declare const isFileNewer: (file1: fs.Stats, file2: fs.Stats) => boolean;
{
"name": "ts-import",
"version": "4.0.0-beta.8",
"version": "4.0.0-beta.9",
"description": "Import (compile and cache on the fly) TypeScript files dynamically with ease.",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc