Socket
Socket
Sign inDemoInstall

@types/uglify-js

Package Overview
Dependencies
1
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.33 to 2.6.34

22

uglify-js v2.6/index.d.ts

@@ -8,5 +8,4 @@ // Type definitions for UglifyJS 2 v2.6.1

import * as MOZ_SourceMap from "source-map";
import * as MOZ_SourceMap from 'source-map';
declare namespace UglifyJS {

@@ -94,3 +93,3 @@ interface Tokenizer {

mangle?: Object | undefined;
output?: MinifyOutput | undefined,
output?: MinifyOutput | undefined;
compress?: Object | undefined;

@@ -106,3 +105,2 @@ }

interface ParseOptions {

@@ -125,3 +123,2 @@ // Default is false

interface BeautifierOptions {

@@ -213,3 +210,3 @@ /**

// return the width of the current line text minus indentation.
current_width(): number
current_width(): number;

@@ -310,3 +307,2 @@ // Return true if current_width() is bigger than options.width (assuming options.width is non-null, non-zero).

interface SourceMapOptions {

@@ -333,3 +329,10 @@ /**

interface SourceMap {
add(source: string, gen_line: number, gen_col: number, orig_line: number, orig_col: number, name?: string): void;
add(
source: string,
gen_line: number,
gen_col: number,
orig_line: number,
orig_col: number,
name?: string,
): void;
get(): MOZ_SourceMap.SourceMapGenerator;

@@ -346,3 +349,2 @@ toString(): string;

interface CompressorOptions {

@@ -412,3 +414,2 @@ // Join consecutive statemets with the “comma operator”

// TODO

@@ -426,3 +427,2 @@ interface TreeWalker {

// TODO

@@ -429,0 +429,0 @@ interface TreeTransformer extends TreeWalker {

{
"name": "@types/uglify-js",
"version": "2.6.33",
"version": "2.6.34",
"description": "TypeScript definitions for UglifyJS 2",

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

},
"typesPublisherContentHash": "9f00473ba2564ae7000ee608315954e6025750e98ee0ddd1d453cbd6c5eaeba3",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "2b037d7dc92bd71b8174ee6ac173abc1d4a4cde6125d2773e9aefa107bddbb23",
"typeScriptVersion": "4.3"
}

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

### Additional Details
* Last updated: Fri, 02 Jul 2021 18:04:46 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc