Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

gb-image-decoder

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gb-image-decoder - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+3
-0
dist/index.cjs

@@ -149,2 +149,5 @@ 'use strict';

const tileIndexIsPartOfFrame = (tileIndex, imageStartLine, handleExportFrame = ExportFrameMode.FRAMEMODE_KEEP) => {
if (handleExportFrame === ExportFrameMode.FRAMEMODE_CROP) {
return false;
}
const checkIndex = tileIndex - (handleExportFrame === ExportFrameMode.FRAMEMODE_KEEP ? 0 : 20);

@@ -151,0 +154,0 @@ if (checkIndex < imageStartLine * 20) {

@@ -147,2 +147,5 @@ var BlendMode = /* @__PURE__ */ ((BlendMode2) => {

const tileIndexIsPartOfFrame = (tileIndex, imageStartLine, handleExportFrame = ExportFrameMode.FRAMEMODE_KEEP) => {
if (handleExportFrame === ExportFrameMode.FRAMEMODE_CROP) {
return false;
}
const checkIndex = tileIndex - (handleExportFrame === ExportFrameMode.FRAMEMODE_KEEP ? 0 : 20);

@@ -149,0 +152,0 @@ if (checkIndex < imageStartLine * 20) {

+1
-1
{
"name": "gb-image-decoder",
"version": "1.2.0",
"version": "1.2.1",
"description": "Decoder classes for GameBoy-encoded images",

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