Socket
Socket
Sign inDemoInstall

rollup-plugin-typescript2

Package Overview
Dependencies
39
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.34.1 to 0.35.0

0

dist/context.d.ts

@@ -0,0 +0,0 @@ import { PluginContext } from "rollup";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ import * as tsTypes from "typescript";

@@ -0,0 +0,0 @@ import * as tsTypes from "typescript";

@@ -0,0 +0,0 @@ import * as tsTypes from "typescript";

@@ -0,0 +0,0 @@ export interface ICache<DataType> {

2

dist/index.d.ts
import { PluginImpl } from "rollup";
import { IOptions } from "./ioptions";
declare type RPT2Options = Partial<IOptions>;
type RPT2Options = Partial<IOptions>;
export { RPT2Options };

@@ -5,0 +5,0 @@ declare const typescript: PluginImpl<RPT2Options>;

@@ -8,3 +8,3 @@ import * as tsTypes from "typescript";

}
export declare type TransformerFactoryCreator = (ls: tsTypes.LanguageService) => tsTypes.CustomTransformers | ICustomTransformer;
export type TransformerFactoryCreator = (ls: tsTypes.LanguageService) => tsTypes.CustomTransformers | ICustomTransformer;
export interface IOptions {

@@ -11,0 +11,0 @@ cwd: string;

@@ -0,0 +0,0 @@ import { RollupContext } from "./context";

@@ -0,0 +0,0 @@ import { ICache } from "./icache";

@@ -31,3 +31,3 @@ import * as tsTypes from "typescript";

private hashOptions;
constructor(noCache: boolean, hashIgnoreUnknown: boolean, host: tsTypes.LanguageServiceHost, cacheRoot: string, options: tsTypes.CompilerOptions, rollupConfig: any, rootFilenames: string[], context: RollupContext);
constructor(noCache: boolean, runClean: boolean, hashIgnoreUnknown: boolean, host: tsTypes.LanguageServiceHost, cacheRoot: string, options: tsTypes.CompilerOptions, rollupConfig: any, rootFilenames: string[], context: RollupContext);
private clean;

@@ -34,0 +34,0 @@ setDependency(importee: string, importer: string): void;

@@ -0,0 +0,0 @@ export declare const TSLIB = "tslib";

@@ -0,0 +0,0 @@ import * as tsTypes from "typescript";

{
"name": "rollup-plugin-typescript2",
"version": "0.34.1",
"version": "0.35.0",
"description": "Seamless integration between Rollup and TypeScript. Now with errors.",

@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-typescript2.cjs.js",

@@ -56,3 +56,3 @@ # rollup-plugin-typescript2

* `module`: defaults to `ES2015`. Other valid values are `ES2020` and `ESNext` (required for dynamic imports, see [#54](https://github.com/ezolenko/rollup-plugin-typescript2/issues/54)).
* `module`: defaults to `ES2015`. Other valid values are `ES2020`, `ES2022` and `ESNext` (required for dynamic imports, see [#54](https://github.com/ezolenko/rollup-plugin-typescript2/issues/54)).

@@ -156,7 +156,7 @@ ### Some options need additional configuration on plugin side

* `include`: `[ "*.ts+(|x)", "**/*.ts+(|x)" ]`
* `include`: `[ "*.ts+(|x)", "**/*.ts+(|x)", "**/*.cts", "**/*.mts" ]`
By default compiles all `.ts` and `.tsx` files with TypeScript.
* `exclude`: `[ "*.d.ts", "**/*.d.ts" ]`
* `exclude`: `[ "*.d.ts", "**/*.d.ts", "**/*.d.cts", "**/*.d.mts" ]`

@@ -163,0 +163,0 @@ But excludes type definitions.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc