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

minitel-mosaic

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitel-mosaic - npm Package Compare versions

Comparing version 1.1.6 to 2.0.0

2

dist/components/image.js

@@ -15,3 +15,3 @@ "use strict";

getDimensions(attributes, inheritMe) {
return { width: attributes.imageData?.[0].length || -1, height: attributes.imageData?.length || -1 };
return { width: Math.ceil((attributes.imageData?.[0].length || 0) / 3), height: Math.ceil((attributes.imageData?.length || 0) / 2) };
}

@@ -18,0 +18,0 @@ render(attributes, inheritMe) {

{
"name": "minitel-mosaic",
"version": "1.1.6",
"version": "2.0.0",
"description": "A mosaic adaptor for immjs's minitel npm ecoystem",

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

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