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 5.0.1 to 5.0.2

25

index.d.ts

@@ -1,17 +0,18 @@

import { BrowserifyObject, CustomOptions } from "browserify";
// Note that @types/browserify is not used for a reason:
// https://github.com/TypeStrong/tsify/issues/267
import * as typescript from "typescript";
import { CompilerOptions, ModuleKind, ScriptTarget } from "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"> {
export interface Options {
exclude?: string[];
files?: string[];
global?: boolean;
include?: string[];
m?: string;
p?: string | Record<string, any>;
project?: string | Record<string, any>;
t?: string;
typescript?: string | typeof typescript;
global?: boolean;
m?: ModuleKind;
p?: string | CompilerOptions;
project?: string | CompilerOptions;
t?: ScriptTarget;
}
export default function tsify(b: BrowserifyObject, opts: Options): any;
export default function tsify(b: any, opts: Options): any;
{
"name": "tsify",
"version": "5.0.1",
"version": "5.0.2",
"description": "Browserify plugin for compiling Typescript",

@@ -31,3 +31,2 @@ "main": "index.js",

"dependencies": {
"@types/browserify": "^12.0.36",
"convert-source-map": "^1.1.0",

@@ -34,0 +33,0 @@ "fs.realpath": "^1.0.0",

@@ -132,2 +132,3 @@ # tsify

* 5.0.2 - Remove `@types/browserify` and incorrect/undocumented use of TypeScript types in `tsify` signature.
* 5.0.1 - Remove default import from `index.d.ts` and add `@types/browserify` dependency.

@@ -134,0 +135,0 @@ * 5.0.0 - **Breaking**: Fix type declarations for TypeScript 4 compatibility. With this fix, the TypeScript version must be 2.8 or above.

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