New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript-require

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-require - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9-1

tmp/tsreq/test/assets/ship.js

7

index.js

@@ -44,4 +44,5 @@ var vm = require('vm');

var tmpDir = path.join(process.cwd(), "tmp", "tsreq");
var jsname = path.join(tmpDir, path.basename(module.filename, ".ts") + ".js");
var relativeFolder = path.dirname(path.relative(process.cwd(), module.filename));
var jsname = path.join(tmpDir, relativeFolder, path.basename(module.filename, ".ts") + ".js");
if (!isModified(module.filename, jsname)) {

@@ -58,3 +59,3 @@ return jsname;

"--outDir",
tmpDir,
path.join(tmpDir, relativeFolder),
libPath,

@@ -61,0 +62,0 @@ options.nodeLib ? path.resolve(__dirname, "typings/node.d.ts") : null,

{
"name": "typescript-require",
"description": "Node.JS require extension to load TypeScript modules from JS",
"homepage": "https://github.com/eknkc/typescript-require",
"homepage": "https://github.com/theblacksmith/typescript-require",
"author": {

@@ -20,7 +20,7 @@ "name": "Ekin Koc",

],
"version": "0.2.8",
"version": "0.2.9-1",
"main": "./index.js",
"repository": {
"type": "git",
"url": "git@github.com:eknkc/typescript-require.git"
"url": "git@github.com:theblacksmith/typescript-require.git"
},

@@ -27,0 +27,0 @@ "dependencies": {

@@ -9,5 +9,4 @@ require('..')

var ship = require('./assets/ship');
console.log(ship)
expect(ship).to.not.be.empty;
})
})
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