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

svelte-copy

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-copy - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

dist/copy.d.ts

36

package.json
{
"name": "svelte-copy",
"version": "1.3.0",
"version": "1.3.1",
"repository": {

@@ -14,12 +14,12 @@ "type": "git",

"devDependencies": {
"@sveltejs/adapter-vercel": "1.0.0-next.77",
"@sveltejs/kit": "1.0.0-next.510",
"@sveltejs/package": "^1.0.0-next.5",
"ghostsui": "^1.5.0",
"svelte": "^3.50.1",
"svelte-preprocess": "^4.10.7",
"svelte2tsx": "^0.5.19",
"tslib": "^2.4.0",
"typescript": "^4.8.4",
"vite": "^3.1.5"
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "1.15.5",
"@sveltejs/package": "^2.0.2",
"ghostsui": "^1.6.0",
"svelte": "^3.58.0",
"svelte-preprocess": "^5.0.3",
"svelte2tsx": "^0.6.11",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"vite": "^4.2.1"
},

@@ -29,4 +29,16 @@ "type": "module",

"./package.json": "./package.json",
".": "./index.js"
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite dev",
"build": "vite build",
"package": "svelte-kit sync && svelte-package"
}
}

@@ -66,2 +66,16 @@ # Svelte Copy

# Copy Text
We also include a helper called `copyText` if you want to use the logic of this package without the action. Make sure you only call this in the browser!
```html
<script>
import { copyText } from 'svelte-copy'l
</script>
<button on:click={() => copyText('Hello World!')}>
Copy something
</button>
```
# Support

@@ -68,0 +82,0 @@

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