New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@creately/clipboard

Package Overview
Dependencies
Maintainers
7
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@creately/clipboard - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

17

dist/index.js

@@ -59,14 +59,19 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
var _a;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_a.trys.push([0, , 2, 3]);
_b.trys.push([0, 2, 3, 4]);
return [4 /*yield*/, clipboardpoly.writeText(data)];
case 1:
_a.sent();
return [3 /*break*/, 3];
_b.sent();
return [3 /*break*/, 4];
case 2:
_a = _b.sent();
console.log('System clipboard is not supported.');
return [3 /*break*/, 4];
case 3:
this.storeToLocalClipboard(data);
return [7 /*endfinally*/];
case 3: return [2 /*return*/];
case 4: return [2 /*return*/];
}

@@ -73,0 +78,0 @@ });

{
"name": "@creately/clipboard",
"version": "1.0.2",
"version": "1.0.3",
"description": "Clipboard Service which uses system clipboard as primary and local storage as fallback.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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