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

fast-jpeg

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-jpeg - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

lib-esm/decode.js

52

package.json
{
"name": "fast-jpeg",
"version": "1.0.1",
"version": "2.0.0",
"description": "JPEG image decoder written entirely in JavaScript",
"main": "src/index.js",
"main": "lib/index.js",
"module": "lib-esm/index.js",
"types": "lib/index.d.ts",
"files": [
"src"
"src",
"lib-esm",
"lib"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"check-types": "tsc --noEmit",
"clean": "rimraf lib lib-esm",
"eslint": "eslint src",
"eslint-fix": "npm run eslint -- --fix",
"prepack": "npm run tsc",
"prettier": "prettier --check src",
"prettier-write": "prettier --write src",
"test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types",
"test-only": "jest --coverage",
"tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
"tsc-cjs": "tsc --project tsconfig.cjs.json",
"tsc-esm": "tsc --project tsconfig.esm.json"
},

@@ -20,9 +35,30 @@ "repository": {

"bugs": {
"url": "https://github.com/image-js/jpeg-js/issues"
"url": "https://github.com/image-js/fast-jpeg/issues"
},
"homepage": "https://github.com/image-js/jpeg-js#readme",
"homepage": "https://github.com/image-js/fast-jpeg#readme",
"dependencies": {
"iobuffer": "^2.1.0",
"tiff": "^2.0.0"
"iobuffer": "^5.3.2",
"tiff": "^5.0.3"
},
"devDependencies": {
"@types/jest": "^29.5.1",
"eslint": "^8.41.0",
"eslint-config-cheminfo-typescript": "^11.3.1",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
},
"prettier": {
"arrowParens": "always",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
}
}

2

README.md

@@ -1,2 +0,2 @@

# jpeg-js
# fast-jpeg

@@ -3,0 +3,0 @@ [![NPM version][npm-image]][npm-url]

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