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.5 to 1.1.6

2

package.json
{
"name": "minitel-mosaic",
"version": "1.1.5",
"version": "1.1.6",
"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: 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) };
}

@@ -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