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.3 to 1.5.4

4

package.json
{
"name": "ts-import-plugin",
"version": "1.5.3",
"version": "1.5.4",
"description": "babel-plugin-import TypeScript version",

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

"ts-loader": "^4.3.1",
"ts-node": "^6.1.0",
"ts-node": "^7.0.0",
"tslint": "^5.10.0",

@@ -60,0 +60,0 @@ "tslint-eslint-rules": "^5.3.1",

@@ -238,4 +238,8 @@ [![npm version](https://badge.fury.io/js/ts-import-plugin.svg)](https://www.npmjs.com/package/ts-import-plugin)

see [rxjs-webpack-treeshaking-example](https://github.com/Brooooooklyn/rxjs-webpack-treeshaking-example) for more details
> only compatible for 5.5+
- RxJS v5:
```ts

@@ -250,1 +254,20 @@ transformerFactory({

```
- RxJS v6:
```ts
transformerFactory([
{
libraryDirectory: '../_esm5/internal/operators',
libraryName: 'rxjs/operators',
camel2DashComponentName: false,
transformToDefaultImport: false
},
{
libraryDirectory: '../_esm5/internal/observable',
libraryName: 'rxjs',
camel2DashComponentName: false,
transformToDefaultImport: false,
}
])
```
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