{
  "name": "image-size-next",
  "version": "2.1.1",
  "description": "Community-maintained fork of image-size: get dimensions of any image file or buffer. Fixes CVE-2025-71329 and CVE-2025-71330 (DoS via infinite loops).",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.cjs"
      }
    },
    "./fromFile": {
      "import": {
        "types": "./dist/fromFile.d.ts",
        "default": "./dist/fromFile.mjs"
      },
      "require": {
        "types": "./dist/fromFile.d.ts",
        "default": "./dist/fromFile.cjs"
      }
    },
    "./types/*": {
      "import": {
        "types": "./dist/types/*.d.ts",
        "default": "./dist/types/*.mjs"
      },
      "require": {
        "types": "./dist/types/*.d.ts",
        "default": "./dist/types/*.cjs"
      }
    }
  },
  "files": [
    "dist",
    "bin/image-size-next.js",
    "LICENSE",
    "README.md",
    "CHANGELOG.md"
  ],
  "engines": {
    "node": ">=18"
  },
  "bin": {
    "image-size-next": "bin/image-size-next.js"
  },
  "scripts": {
    "lint": "biome check lib specs",
    "format": "biome format --write lib specs",
    "test": "TS_NODE_PROJECT=tsconfig.test.json c8 --reporter=text --reporter=lcov node --require ts-node/register --test --test-reporter=dot specs/*.spec.ts",
    "test:watch": "TS_NODE_PROJECT=tsconfig.test.json node --require ts-node/register --test --watch specs/*.spec.ts",
    "clean": "rm -rf dist docs",
    "build": "tsup",
    "prepublishOnly": "npm run clean && npm run build && npm test"
  },
  "keywords": [
    "image",
    "size",
    "dimensions",
    "resolution",
    "width",
    "height",
    "image-size",
    "image-size-next",
    "security",
    "cve-2025-71329",
    "cve-2025-71330",
    "avif",
    "bmp",
    "cur",
    "gif",
    "heic",
    "heif",
    "icns",
    "ico",
    "jpeg",
    "jxl",
    "png",
    "psd",
    "svg",
    "tga",
    "tiff",
    "webp"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lcf2212dev/image-size-next.git"
  },
  "bugs": {
    "url": "https://github.com/lcf2212dev/image-size-next/issues"
  },
  "homepage": "https://github.com/lcf2212dev/image-size-next#readme",
  "author": "lcf2212dev (https://github.com/lcf2212dev)",
  "contributors": [
    "Aditya Yadav <aditya@netroy.in> (original image-size author)"
  ],
  "license": "MIT",
  "devDependencies": {
    "@biomejs/biome": "1.9.4",
    "@types/glob": "8.1.0",
    "@types/node": "18.19.39",
    "c8": "10.1.3",
    "glob": "10.4.2",
    "ts-node": "10.9.2",
    "tsup": "8.3.5",
    "typescript": "5.4.5"
  }
}
