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

minitel-mosaic

Package Overview
Dependencies
Maintainers
1
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.0.3 to 1.0.4

3

dist/components/image.js

@@ -44,3 +44,4 @@ "use strict";

const { pixelsAsSg, bgFg: [bg, fg] } = fgBgPairs[weAt];
const richChar = new richchar_1.RichChar((0, sg_to_ascii_1.sgToAscii)(pixelsAsSg), { charset: 1, fg: lookupMap[fg.join()], bg: lookupMap[bg.join()] });
const chr = (0, sg_to_ascii_1.sgToAscii)(pixelsAsSg);
const richChar = new richchar_1.RichChar(chr, { charset: chr === '\x32' ? 0 : 1, fg: lookupMap[fg.join()], bg: lookupMap[bg.join()] });
currLine.mergeX(new richchargrid_1.RichCharGrid([[richChar]]), 'end');

@@ -47,0 +48,0 @@ weAt += 1;

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

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

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

const { pixelsAsSg, bgFg: [bg, fg] } = fgBgPairs[weAt];
const richChar = new RichChar(sgToAscii(pixelsAsSg), { charset: 1, fg: lookupMap[fg.join()], bg: lookupMap[bg.join()] });
const chr = sgToAscii(pixelsAsSg);
const richChar = new RichChar(chr, { charset: chr === '\x32' ? 0 : 1, fg: lookupMap[fg.join()], bg: lookupMap[bg.join()] });
currLine.mergeX(new RichCharGrid([[richChar]]), 'end');

@@ -58,0 +59,0 @@ weAt += 1;

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