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

clippie

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clippie - npm Package Compare versions

Comparing version 4.1.3 to 4.1.4

7

dist/index.js
async function clippie(content, { reject = false } = {}) {
var _a;
try {
if (Array.isArray(content)) {
if (!(navigator == null ? void 0 : navigator.clipboard) && content.length === 1 && typeof content[0] === "string") {
return fallback(content[0]);
if (!((_a = navigator == null ? void 0 : navigator.clipboard) == null ? void 0 : _a.write)) {
for (const c of content) {
if (typeof c === "string") fallback(c);
}
}

@@ -7,0 +10,0 @@ await navigator.clipboard.write([

{
"name": "clippie",
"version": "4.1.3",
"version": "4.1.4",
"description": "Teeny-tiny browser clipboard copy",

@@ -17,16 +17,16 @@ "author": "silverwind",

"devDependencies": {
"@types/node": "20.14.10",
"@types/node": "22.10.1",
"eslint": "8.57.0",
"eslint-config-silverwind": "88.2.4",
"eslint-config-silverwind-typescript": "5.1.3",
"jsdom": "24.1.0",
"typescript": "5.5.3",
"typescript-config-silverwind": "5.1.3",
"updates": "16.2.1",
"eslint-config-silverwind": "94.2.1",
"eslint-config-silverwind-typescript": "9.2.0",
"jsdom": "25.0.1",
"typescript": "5.7.2",
"typescript-config-silverwind": "6.1.1",
"updates": "16.4.0",
"versions": "12.1.2",
"vite": "5.3.3",
"vite-config-silverwind": "3.0.0",
"vitest": "2.0.2",
"vitest-config-silverwind": "9.1.0"
"vite": "6.0.1",
"vite-config-silverwind": "3.1.0",
"vitest": "2.1.6",
"vitest-config-silverwind": "9.2.0"
}
}

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