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

@sveltejs/enhanced-img

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/enhanced-img - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

2

package.json
{
"name": "@sveltejs/enhanced-img",
"version": "0.4.3",
"version": "0.4.4",
"description": "Image optimization for your Svelte apps",

@@ -5,0 +5,0 @@ "repository": {

@@ -114,3 +114,3 @@ /** @import { AST } from 'svelte/compiler' */

// the imports.size and incrementing the imports.size
const name = '__IMPORTED_ASSET_' + imports.size + '__';
const name = imports.get(original_url) || '__IMPORTED_ASSET_' + imports.size + '__';
const new_markup = `<img ${serialize_img_attributes(content, node.attributes, {

@@ -117,0 +117,0 @@ src: `{${name}}`,

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