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

@rollup/plugin-typescript

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rollup/plugin-typescript - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

LICENSE

8

CHANGELOG.md
# @rollup/plugin-typescript ChangeLog
## v4.1.0
_2020-04-12_
### Features
- feat: Refine options interface (#284)
## v4.0.0

@@ -4,0 +12,0 @@

6

package.json
{
"name": "@rollup/plugin-typescript",
"version": "4.0.0",
"version": "4.1.0",
"publishConfig": {

@@ -47,3 +47,3 @@ "access": "public"

"peerDependencies": {
"rollup": "^1.20.0",
"rollup": "^1.20.0||^2.0.0",
"tslib": "*",

@@ -61,3 +61,3 @@ "typescript": ">=2.1.0"

"buble": "^0.19.8",
"rollup": "^1.27.14",
"rollup": "^2.0.0",
"tslib": "^1.10.0",

@@ -64,0 +64,0 @@ "typescript": "^3.7.4"

import { FilterPattern } from '@rollup/pluginutils';
import { Plugin } from 'rollup';
import { CompilerOptionsValue, TsConfigSourceFile } from 'typescript';
import { CompilerOptions } from 'typescript';
export interface RollupTypescriptOptions {
export interface RollupTypescriptPluginOptions {
/**
* Other Typescript compiler options.
*/
[option: string]:
| CompilerOptionsValue
| TsConfigSourceFile
| RollupTypescriptOptions['include']
| RollupTypescriptOptions['typescript']
| RollupTypescriptOptions['tslib']
| undefined;
/**
* Determine which files are transpiled by Typescript (all `.ts` and

@@ -43,2 +32,14 @@ * `.tsx` files by default).

/** Properties of `CompilerOptions` that are normally enums */
export type EnumCompilerOptions = 'module' | 'moduleResolution' | 'newLine' | 'jsx' | 'target';
/** JSON representation of Typescript compiler options */
export type JsonCompilerOptions = Omit<CompilerOptions, EnumCompilerOptions> &
Record<EnumCompilerOptions, string>;
/** Compiler options set by the plugin user. */
export type PartialCompilerOptions = Partial<CompilerOptions> | Partial<JsonCompilerOptions>;
export type RollupTypescriptOptions = RollupTypescriptPluginOptions & PartialCompilerOptions;
/**

@@ -45,0 +46,0 @@ * Seamless integration between Rollup and Typescript.

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