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

@types/clipboard

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/clipboard - npm Package Compare versions

Comparing version 1.5.34 to 1.5.35

15

clipboard/index.d.ts

@@ -11,3 +11,3 @@ // Type definitions for clipboard.js 1.5

* Subscribes to events that indicate the result of a copy/cut operation.
* @param type {"success" | "error"} Event type ('success' or 'error').
* @param type Event type ('success' or 'error').
* @param handler Callback function.

@@ -33,11 +33,10 @@ */

* Overwrites default command ('cut' or 'copy').
* @param {Element} elem Current element
* @returns {String} Only 'cut' or 'copy'.
* @param elem Current element
*/
action?(elem: Element): string;
action?(elem: Element): "cut" | "copy";
/**
* Overwrites default target input element.
* @param {Element} elem Current element
* @returns {Element} <input> element to use.
* @param elem Current element
* @returns <input> element to use.
*/

@@ -48,4 +47,4 @@ target?(elem: Element): Element;

* Returns the explicit text to copy.
* @param {Element} elem Current element
* @returns {String} Text to be copied.
* @param elem Current element
* @returns Text to be copied.
*/

@@ -52,0 +51,0 @@ text?(elem: Element): string;

{
"name": "@types/clipboard",
"version": "1.5.34",
"version": "1.5.35",
"description": "TypeScript definitions for clipboard.js",

@@ -9,3 +9,4 @@ "license": "MIT",

"name": "Andrei Kurosh",
"url": "https://github.com/impworks"
"url": "https://github.com/impworks",
"githubUsername": "impworks"
}

@@ -20,5 +21,4 @@ ],

"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "a0d3a58d2d82a026423dd96952d41debc4847b3ed0961d6ae5030184689f6be0",
"typesPublisherContentHash": "0043b8a16a1f728d7e1f06f913760d318f7510f0917b24b4940f76332c78d01d",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Fri, 02 Jun 2017 16:37:08 GMT
* Last updated: Wed, 25 Oct 2017 00:19:45 GMT
* Dependencies: none

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

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