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.4 to 1.5.5

6

lib/index.js

@@ -98,4 +98,6 @@ "use strict";

var stylePath = typeof style === 'function' ? style(importPath) : importPath + "/style/" + (style === true ? 'index' : style) + ".js";
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(stylePath));
astNodes.push(styleNode);
if (stylePath) {
var styleNode = ts.createImportDeclaration(undefined, undefined, undefined, ts.createLiteral(stylePath));
astNodes.push(styleNode);
}
}

@@ -102,0 +104,0 @@ // tslint:disable-next-line:no-empty

{
"name": "ts-import-plugin",
"version": "1.5.4",
"version": "1.5.5",
"description": "babel-plugin-import TypeScript version",

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

"coveralls": "^3.0.1",
"css-loader": "^0.28.11",
"css-loader": "^1.0.0",
"husky": "^0.14.3",

@@ -56,3 +56,3 @@ "lint-staged": "^7.1.3",

"rxjs": "^6.2.0",
"style-loader": "^0.21.0",
"style-loader": "^0.23.0",
"ts-loader": "^4.3.1",

@@ -59,0 +59,0 @@ "ts-node": "^7.0.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