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

ts-import-plugin

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-import-plugin - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

2

lib/index.js

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

try {
require.resolve(importPath);
require.resolve(path_1.join(process.cwd(), 'node_modules', importPath));
var scriptNode = ts.createImportDeclaration(undefined, undefined, ts.createImportClause(struct.variableName || !options.transformToDefaultImport ? undefined : ts.createIdentifier(struct.importName), struct.variableName ? ts.createNamedImports([

@@ -74,0 +74,0 @@ ts.createImportSpecifier(options.transformToDefaultImport ? ts.createIdentifier('default') : ts.createIdentifier(struct.importName), ts.createIdentifier(struct.variableName))

{
"name": "ts-import-plugin",
"version": "1.5.0",
"version": "1.5.1",
"description": "babel-plugin-import TypeScript version",

@@ -50,3 +50,3 @@ "main": "index.js",

"mocha": "^5.0.4",
"nyc": "^11.4.1",
"nyc": "^12.0.1",
"react": "^16.2.0",

@@ -53,0 +53,0 @@ "react-dom": "^16.2.0",

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