Socket
Socket
Sign inDemoInstall

@types/uglify-js

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/uglify-js - npm Package Compare versions

Comparing version 3.17.1 to 3.17.2

14

uglify-js/index.d.ts

@@ -9,3 +9,3 @@ // Type definitions for UglifyJS 3.17

import { RawSourceMap } from 'source-map';
import { RawSourceMap } from "source-map";
export interface ParseOptions {

@@ -152,3 +152,3 @@ /**

*/
keep_fargs?: 'strict' | boolean | undefined;
keep_fargs?: "strict" | boolean | undefined;
/**

@@ -222,3 +222,3 @@ * Pass true to prevent the compressor from discarding function names.

*/
pure_getters?: boolean | 'strict' | undefined;
pure_getters?: boolean | "strict" | undefined;
/**

@@ -378,3 +378,3 @@ * Allows single-use functions to be inlined as function expressions when permissible allowing further optimization.

braces?: boolean | undefined;
comments?: boolean | 'all' | 'some' | RegExp | undefined;
comments?: boolean | "all" | "some" | RegExp | undefined;
indent_level?: number | undefined;

@@ -409,3 +409,3 @@ indent_start?: boolean | undefined;

*/
warnings?: boolean | 'verbose' | undefined;
warnings?: boolean | "verbose" | undefined;
/**

@@ -495,7 +495,7 @@ * Pass an object if you wish to specify some additional parse options.

names?: boolean | undefined;
url?: string | 'inline' | undefined;
url?: string | "inline" | undefined;
root?: string | undefined;
content?: RawSourceMap | 'inline' | undefined;
content?: RawSourceMap | "inline" | undefined;
}
export function minify(files: string | string[] | { [file: string]: string }, options?: MinifyOptions): MinifyOutput;
{
"name": "@types/uglify-js",
"version": "3.17.1",
"version": "3.17.2",
"description": "TypeScript definitions for UglifyJS",

@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uglify-js",

},
"typesPublisherContentHash": "f80ad4b80fbc8786d6d2f3158b55355cc42cb65193b944dcdd81654dfe38418a",
"typeScriptVersion": "4.1"
"typesPublisherContentHash": "877022e0801409cb116ec73674f838e886ae886947f1a04160aa449fff6baef8",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 21 Oct 2022 20:03:07 GMT
* Last updated: Wed, 30 Aug 2023 19:35:28 GMT
* Dependencies: [@types/source-map](https://npmjs.com/package/@types/source-map)

@@ -14,0 +14,0 @@ * Global values: none

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