Socket
Socket
Sign inDemoInstall

tsify

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsify - npm Package Compare versions

Comparing version 4.0.2 to 5.0.0

13

index.d.ts
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.

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