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 2.0.2 to 2.0.3

2

dist/components/image.js

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

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

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

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

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

@@ -20,3 +20,3 @@ import { MinitelObject } from "minitel-standalone/dist/abstract/minitelobject";

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

@@ -23,0 +23,0 @@ render(attributes: ImageAttributes, inheritMe: Partial<MinitelObjectAttributes>) {

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