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.1.2 to 1.2.0

1

lib/index.d.ts

@@ -8,2 +8,3 @@ import * as ts from 'typescript';

camel2UnderlineComponentName?: boolean;
styleExt?: string;
}

@@ -10,0 +11,0 @@ export interface ImportedStruct {

4

lib/index.js

@@ -60,4 +60,4 @@ "use strict";

if (options.style) {
var style = options.style;
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(libraryName + "/lib/" + importName + "/style/" + (style === 'css' ? 'css' : 'index') + ".js"));
var style = options.style, styleExt = options.styleExt;
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(libraryName + "/lib/" + importName + "/style/" + (style === 'css' ? (styleExt ? styleExt : 'css') : 'index') + ".js"));
astNodes.push(styleNode);

@@ -64,0 +64,0 @@ }

{
"name": "ts-import-plugin",
"version": "1.1.2",
"version": "1.2.0",
"description": "babel-plugin-import TypeScript version",

@@ -5,0 +5,0 @@ "main": "index.js",

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