New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/ace-diff

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ace-diff - npm Package Compare versions

Comparing version
2.1.0
to
2.1.1
+14
-14
ace-diff/index.d.ts

@@ -23,7 +23,7 @@ // Type definitions for ace-diff 2.1

interface AceDiffLROpts {
content?: string | null;
mode?: string;
theme?: string;
editable?: boolean;
copyLinkEnabled?: boolean;
content?: string | null | undefined;
mode?: string | undefined;
theme?: string | undefined;
editable?: boolean | undefined;
copyLinkEnabled?: boolean | undefined;
}

@@ -38,10 +38,10 @@

interface AceDiffOpts {
mode?: string;
theme?: string;
diffGranularity?: 'specific' | 'broad';
showDiffs?: boolean;
showConnectors?: boolean;
maxDiffs?: number;
left?: AceDiffLROpts;
right?: AceDiffLROpts;
mode?: string | undefined;
theme?: string | undefined;
diffGranularity?: 'specific' | 'broad' | undefined;
showDiffs?: boolean | undefined;
showConnectors?: boolean | undefined;
maxDiffs?: number | undefined;
left?: AceDiffLROpts | undefined;
right?: AceDiffLROpts | undefined;
classes?: {

@@ -52,4 +52,4 @@ diff: string;

deletedCodeConnectorLinkContent: string;
};
} | undefined;
}
}
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/ace-diff",
"version": "2.1.0",
"version": "2.1.1",
"description": "TypeScript definitions for ace-diff",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ace-diff",
"license": "MIT",

@@ -14,10 +15,12 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/ace-diff"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "581c90877965efa926439f6423142060fdcab216b1f00a2a5d8cd268eb3cee4d",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "c780443b3c39be9c60e36b60859fc43c5c7d0bf1917091a50bb583b6e0a7e3da",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,66 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/ace-diff
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ace-diff.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ace-diff/index.d.ts)
````ts
// Type definitions for ace-diff 2.1
// Project: https://ace-diff.github.io/ace-diff/
// Definitions by: Mike Dodge <https://github.com/innovation-team>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Tue, 22 May 2018 20:27:27 GMT
export as namespace AceDiff;
export = AceDiff;
declare class AceDiff {
constructor(opts: AceDiff.AceDiffConstructorOpts);
getEditors(): {
left: any;
right: any;
};
setOptions(options: AceDiff.AceDiffOpts): void;
getNumDiffs(): number;
diff(): void;
destroy(): void;
}
declare namespace AceDiff {
interface AceDiffLROpts {
content?: string | null | undefined;
mode?: string | undefined;
theme?: string | undefined;
editable?: boolean | undefined;
copyLinkEnabled?: boolean | undefined;
}
interface AceDiffConstructorOpts extends AceDiffOpts {
element: string | HTMLElement;
left: AceDiffLROpts;
right: AceDiffLROpts;
}
interface AceDiffOpts {
mode?: string | undefined;
theme?: string | undefined;
diffGranularity?: 'specific' | 'broad' | undefined;
showDiffs?: boolean | undefined;
showConnectors?: boolean | undefined;
maxDiffs?: number | undefined;
left?: AceDiffLROpts | undefined;
right?: AceDiffLROpts | undefined;
classes?: {
diff: string;
connector: string;
newCodeConnectorLinkContent: string;
deletedCodeConnectorLinkContent: string;
} | undefined;
}
}
````
### Additional Details
* Last updated: Wed, 07 Jul 2021 21:44:00 GMT
* Dependencies: none
* Global values: AceDiff
* Global values: `AceDiff`
# Credits
These definitions were written by Mike Dodge <https://github.com/innovation-team>.
These definitions were written by [Mike Dodge](https://github.com/innovation-team).