Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/greasemonkey

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/greasemonkey - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

10

greasemonkey/index.d.ts

@@ -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}

8

greasemonkey/package.json
{
"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

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