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

ts-import-plugin

Package Overview
Dependencies
Maintainers
2
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.0.1 to 1.0.2

2

lib/index.js

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

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

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

{
"name": "ts-import-plugin",
"version": "1.0.1",
"version": "1.0.2",
"description": "babel-plugin-import TypeScript version",

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

"lint": "tslint src & standard \"test/*.js\" \"./*.js\"",
"prepublish": "npm run build",
"prepare": "npm run build",
"start": "rm -rf dist && NODE_ENV=production webpack --optimize-minimize",

@@ -18,0 +18,0 @@ "test": "mocha",

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

[![npm version](https://badge.fury.io/js/ts-import-plugin.svg)](https://www.npmjs.com/package/ts-import-plugin)
[![CircleCI](https://circleci.com/gh/Brooooooklyn/ts-import-plugin.svg?style=svg)](https://circleci.com/gh/Brooooooklyn/ts-import-plugin)

@@ -2,0 +3,0 @@ [![Coverage Status](https://coveralls.io/repos/github/Brooooooklyn/ts-import-plugin/badge.svg)](https://coveralls.io/github/Brooooooklyn/ts-import-plugin)

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