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

@zerodevx/svelte-img

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zerodevx/svelte-img - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

14

package.json
{
"name": "@zerodevx/svelte-img",
"version": "1.0.0",
"version": "1.0.1",
"description": "Elegant responsive images for SvelteKit",
"author": "Jason Lee <jason@zerodevx.com>",
"dependencies": {
"imagetools-core": "^3.0.3",
"vite-imagetools": "^4.0.4"
"imagetools-core": "3.0.3",
"vite-imagetools": "4.0.4"
},

@@ -14,4 +14,4 @@ "devDependencies": {

"@sveltejs/adapter-static": "^1.0.0-next.39",
"@sveltejs/kit": "^1.0.0-next.444",
"@sveltejs/package": "^1.0.0-next.1",
"@sveltejs/kit": "1.0.0-next.449",
"@sveltejs/package": "^1.0.0-next.3",
"@tailwindcss/typography": "^0.5.4",

@@ -22,3 +22,3 @@ "autoprefixer": "^10.4.8",

"eslint-plugin-svelte3": "^4.0.0",
"magic-string": "^0.26.2",
"magic-string": "^0.26.3",
"postcss": "^8.4.16",

@@ -29,3 +29,3 @@ "postcss-load-config": "^4.0.1",

"svelte": "^3.49.0",
"svelte-check": "^2.8.1",
"svelte-check": "^2.9.0",
"svelte-preprocess": "^4.10.7",

@@ -32,0 +32,0 @@ "tailwindcss": "^3.1.8",

@@ -119,3 +119,3 @@ # svelte-img

higher quality LQIP at the expense of a larger `base64`, or set to 1px for a dominant single-colour
background.
background. To disable LQIP completely, set `?lqip=0`.

@@ -129,3 +129,3 @@ <!-- prettier-ignore -->

<!-- Should render a dominant single-colour background -->
<!-- Render dominant colour background -->
<Img {src} alt="cat" >

@@ -132,0 +132,0 @@ ```

@@ -5,3 +5,3 @@ import { imagetools } from 'vite-imagetools'

function lqip(cfg, ctx) {
if ('lqip' in cfg) {
if (cfg.lqip) {
const r = resize({ width: cfg.lqip }, ctx)

@@ -8,0 +8,0 @@ const f = format({ format: 'webp', quality: '20' }, ctx)

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