Socket
Socket
Sign inDemoInstall

@jimp/core

Package Overview
Dependencies
Maintainers
0
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/core - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

22

CHANGELOG.md

@@ -0,1 +1,23 @@

# v1.0.3 (Sat Aug 31 2024)
:tada: This release contains work from a new contributor! :tada:
Thank you, Ben McCann ([@benmccann](https://github.com/benmccann)), for all your work!
#### 🐛 Bug Fix
- remove hundreds of unused dependencies [#1302](https://github.com/jimp-dev/jimp/pull/1302) ([@benmccann](https://github.com/benmccann) [@hipstersmoothie](https://github.com/hipstersmoothie))
- Fix build [#1303](https://github.com/jimp-dev/jimp/pull/1303) ([@hipstersmoothie](https://github.com/hipstersmoothie))
#### ⚠️ Pushed to `main`
- add clean script ([@hipstersmoothie](https://github.com/hipstersmoothie))
#### Authors: 2
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
- Ben McCann ([@benmccann](https://github.com/benmccann))
---
# v1.0.2 (Sat Aug 31 2024)

@@ -2,0 +24,0 @@

4

dist/commonjs/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createJimp = exports.composite = exports.getExifOrientation = void 0;
exports.composite = exports.getExifOrientation = void 0;
exports.createJimp = createJimp;
const types_1 = require("@jimp/types");

@@ -518,3 +519,2 @@ const utils_1 = require("@jimp/utils");

}
exports.createJimp = createJimp;
//# sourceMappingURL=index.js.map
{
"type": "commonjs",
"publishConfig": {
"access": "public"
},
"sideEffects": false
}
"type": "commonjs"
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.names = exports.exclusion = exports.difference = exports.hardLight = exports.lighten = exports.darken = exports.overlay = exports.screen = exports.add = exports.multiply = exports.dstOver = exports.srcOver = void 0;
exports.names = void 0;
exports.srcOver = srcOver;
exports.dstOver = dstOver;
exports.multiply = multiply;
exports.add = add;
exports.screen = screen;
exports.overlay = overlay;
exports.darken = darken;
exports.lighten = lighten;
exports.hardLight = hardLight;
exports.difference = difference;
exports.exclusion = exclusion;
function srcOver(src, dst, ops = 1) {

@@ -12,3 +23,2 @@ src.a *= ops;

}
exports.srcOver = srcOver;
function dstOver(src, dst, ops = 1) {

@@ -22,3 +32,2 @@ src.a *= ops;

}
exports.dstOver = dstOver;
function multiply(src, dst, ops = 1) {

@@ -38,3 +47,2 @@ src.a *= ops;

}
exports.multiply = multiply;
function add(src, dst, ops = 1) {

@@ -54,3 +62,2 @@ src.a *= ops;

}
exports.add = add;
function screen(src, dst, ops = 1) {

@@ -85,3 +92,2 @@ src.a *= ops;

}
exports.screen = screen;
function overlay(src, dst, ops = 1) {

@@ -110,3 +116,2 @@ src.a *= ops;

}
exports.overlay = overlay;
function darken(src, dst, ops = 1) {

@@ -135,3 +140,2 @@ src.a *= ops;

}
exports.darken = darken;
function lighten(src, dst, ops = 1) {

@@ -160,3 +164,2 @@ src.a *= ops;

}
exports.lighten = lighten;
function hardLight(src, dst, ops = 1) {

@@ -185,3 +188,2 @@ src.a *= ops;

}
exports.hardLight = hardLight;
function difference(src, dst, ops = 1) {

@@ -201,3 +203,2 @@ src.a *= ops;

}
exports.difference = difference;
function exclusion(src, dst, ops = 1) {

@@ -232,3 +233,2 @@ src.a *= ops;

}
exports.exclusion = exclusion;
exports.names = [

@@ -235,0 +235,0 @@ srcOver,

@@ -26,3 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.composite = void 0;
exports.composite = composite;
const types_1 = require("@jimp/types");

@@ -83,3 +83,2 @@ const constants_js_1 = require("./constants.js");

}
exports.composite = composite;
//# sourceMappingURL=composite.js.map

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

/// <reference types="node" />
import { JimpClass } from "@jimp/types";

@@ -3,0 +2,0 @@ /**

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.attemptExifRotate = exports.getExifOrientation = void 0;
exports.getExifOrientation = getExifOrientation;
exports.attemptExifRotate = attemptExifRotate;
const exif_parser_1 = __importDefault(require("exif-parser"));

@@ -25,3 +26,2 @@ const EXIF_TAGS = {

}
exports.getExifOrientation = getExifOrientation;
/**

@@ -136,3 +136,2 @@ * Returns a function which translates EXIF-rotated coordinates into

}
exports.attemptExifRotate = attemptExifRotate;
//# sourceMappingURL=image-bitmap.js.map
{
"type": "module",
"publishConfig": {
"access": "public"
},
"sideEffects": false
}
"type": "module"
}

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

/// <reference types="node" resolution-mode="require"/>
import { JimpClass } from "@jimp/types";

@@ -3,0 +2,0 @@ /**

{
"name": "@jimp/core",
"version": "1.0.2",
"version": "1.0.3",
"repository": "jimp-dev/jimp",

@@ -10,3 +10,3 @@ "scripts": {

"dev": "tshy --watch",
"clean": "rm -rf node_modules .tshy .tshy-build dist"
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
},

@@ -16,7 +16,6 @@ "author": "Andrew Lisowski <lisowski54@gmail.com>",

"dependencies": {
"@jimp/file-ops": "1.0.2",
"@jimp/types": "1.0.2",
"@jimp/utils": "1.0.2",
"@jimp/file-ops": "1.0.3",
"@jimp/types": "1.0.3",
"@jimp/utils": "1.0.3",
"await-to-js": "^3.0.0",
"buffer": "^6.0.3",
"exif-parser": "^0.1.12",

@@ -27,10 +26,11 @@ "file-type": "^16.0.0",

"devDependencies": {
"@jimp/config-eslint": "1.0.2",
"@jimp/config-typescript": "1.0.2",
"@jimp/test-utils": "1.0.2",
"@jimp/config-eslint": "1.0.3",
"@jimp/config-typescript": "1.0.3",
"@jimp/test-utils": "1.0.3",
"@types/file-type": "^10.9.1",
"@types/mime": "^3.0.4",
"@types/node": "^20.12.5",
"eslint": "^8.57.0",
"tshy": "^1.12.0",
"typescript": "^5.4.2",
"typescript": "^5.5.4",
"vitest": "^1.4.0"

@@ -67,3 +67,3 @@ },

"sideEffects": false,
"gitHead": "5e52bfd76c68b45db3a7a2ed8450e47f1fcf8853"
"gitHead": "4b35cc0866903bc9e5d48d31ca34fcbec9ab111f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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