Comparing version 4.0.2 to 5.0.0
import { BrowserifyObject, CustomOptions } from "browserify"; | ||
import { CompilerOptions, ModuleKind, ScriptTarget } from "typescript"; | ||
import typescript, { CompilerOptions, ModuleKind, ScriptTarget } from "typescript"; | ||
export interface Options extends CustomOptions, CompilerOptions { | ||
typescript?: string | import("typescript"); | ||
// Provide local definition of Omit for compatibility with TypeScript <3.5 | ||
type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>; | ||
export interface Options extends CustomOptions, Omit<CompilerOptions, "project"> { | ||
typescript?: string | typeof typescript; | ||
global?: boolean; | ||
@@ -13,4 +16,2 @@ m?: ModuleKind; | ||
function tsify(b: BrowserifyObject, opts: Options): any; | ||
export = tsify; | ||
export default function tsify(b: BrowserifyObject, opts: Options): any; |
{ | ||
"name": "tsify", | ||
"version": "4.0.2", | ||
"version": "5.0.0", | ||
"description": "Browserify plugin for compiling Typescript", | ||
@@ -56,4 +56,4 @@ "main": "index.js", | ||
"browserify": ">= 10.x", | ||
"typescript": ">= 2.x" | ||
"typescript": ">= 2.8" | ||
} | ||
} |
@@ -132,2 +132,3 @@ # tsify | ||
* 5.0.0 - **Breaking**: Fix type declarations for TypeScript 4 compatibility. With this fix, the TypeScript version must be 2.8 or above. | ||
* 4.0.2 - Add `types` to `package.json`. | ||
@@ -134,0 +135,0 @@ * 4.0.1 - Fix so that `watchify` does not stop listening. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43192
643
233