@types/greasemonkey
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -279,2 +279,12 @@ // Type definitions for Greasemonkey 4.x | ||
/** | ||
* Adds an item to the User Script Commands menu. | ||
* @param caption The caption to display on the menu item. | ||
* @param commandFunc The function to call when the menu item is selected. | ||
* @param accessKey A single character that can be used to select the | ||
* item when the menu is open. It should be a letter in the caption. | ||
* @see {@link https://wiki.greasespot.net/GM.registerMenuCommand} | ||
*/ | ||
registerMenuCommand(caption: string, commandFunc: () => void, accessKey?: string): void; | ||
/** | ||
* Sets the current contents of the operating system's clipboard | ||
@@ -281,0 +291,0 @@ * @see {@link https://wiki.greasespot.net/GM.setClipboard} |
{ | ||
"name": "@types/greasemonkey", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for Greasemonkey", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -28,4 +28,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "0a4cc23ce630a7ac147db87f41b2af619743e6053efe976388b087c75de43e0a", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "12477cd29f6d8ecc58b5132c0d41a8c9c96287fdf4fcb95ee72c9a915d444aa4", | ||
"typeScriptVersion": "3.4" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for Greasemonkey ( http://www.greasespot.net/ ). | ||
This package contains type definitions for Greasemonkey (http://www.greasespot.net/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/greasemonkey | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/greasemonkey. | ||
Additional Details | ||
* Last updated: Tue, 12 Mar 2019 17:58:45 GMT | ||
### Additional Details | ||
* Last updated: Sat, 30 Jan 2021 13:59:53 GMT | ||
* Dependencies: none | ||
* Global values: GM, unsafeWindow | ||
* Global values: `GM`, `unsafeWindow` | ||
# Credits | ||
These definitions were written by Kota Saito <https://github.com/kotas>, Nikolay Borzov <https://github.com/nikolay-borzov>. | ||
These definitions were written by [Kota Saito](https://github.com/kotas), and [Nikolay Borzov](https://github.com/nikolay-borzov). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13705
274
0