🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@jimp/plugin-circle

Package Overview
Dependencies
Maintainers
0
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/plugin-circle - npm Package Compare versions

Comparing version

to
1.0.3

16

CHANGELOG.md

@@ -0,1 +1,17 @@

# v1.0.3 (Sat Aug 31 2024)
#### 🐛 Bug Fix
- 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: 1
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
---
# v1.0.2 (Sat Aug 31 2024)

@@ -2,0 +18,0 @@

2

dist/commonjs/index.d.ts

@@ -34,5 +34,5 @@ import { JimpClass } from "@jimp/types";

*/
circle<I extends JimpClass>(image: I, options: CircleOptions): I;
circle<I extends JimpClass>(image: I, options?: CircleOptions): I;
};
export {};
//# sourceMappingURL=index.d.ts.map

@@ -13,10 +13,2 @@ "use strict";

});
// export type CircleOptions = {
// /** the x position to draw the circle */
// x?: number;
// /** the y position to draw the circle */
// y?: number;
// /** the radius of the circle */
// radius?: number;
// };
exports.methods = {

@@ -36,3 +28,3 @@ /**

*/
circle(image, options) {
circle(image, options = {}) {
const parsed = CircleOptionsSchema.parse(options);

@@ -39,0 +31,0 @@ const radius = parsed.radius ||

{
"type": "commonjs",
"publishConfig": {
"access": "public"
},
"sideEffects": false
}
"type": "commonjs"
}

@@ -34,5 +34,5 @@ import { JimpClass } from "@jimp/types";

*/
circle<I extends JimpClass>(image: I, options: CircleOptions): I;
circle<I extends JimpClass>(image: I, options?: CircleOptions): I;
};
export {};
//# sourceMappingURL=index.d.ts.map

@@ -10,10 +10,2 @@ import { z } from "zod";

});
// export type CircleOptions = {
// /** the x position to draw the circle */
// x?: number;
// /** the y position to draw the circle */
// y?: number;
// /** the radius of the circle */
// radius?: number;
// };
export const methods = {

@@ -33,3 +25,3 @@ /**

*/
circle(image, options) {
circle(image, options = {}) {
const parsed = CircleOptionsSchema.parse(options);

@@ -36,0 +28,0 @@ const radius = parsed.radius ||

{
"type": "module",
"publishConfig": {
"access": "public"
},
"sideEffects": false
}
"type": "module"
}
{
"name": "@jimp/plugin-circle",
"version": "1.0.2",
"version": "1.0.3",
"repository": "jimp-dev/jimp",

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

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

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

"dependencies": {
"@jimp/types": "1.0.2",
"@jimp/types": "1.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@jimp/config-eslint": "1.0.2",
"@jimp/config-typescript": "1.0.2",
"@jimp/config-vitest": "1.0.2",
"@jimp/core": "1.0.2",
"@jimp/test-utils": "1.0.2",
"@jimp/config-eslint": "1.0.3",
"@jimp/config-typescript": "1.0.3",
"@jimp/config-vitest": "1.0.3",
"@jimp/core": "1.0.3",
"@jimp/test-utils": "1.0.3",
"@vitest/browser": "^1.4.0",
"eslint": "^8.57.0",
"tshy": "^1.12.0",
"typescript": "^5.4.2",
"typescript": "^5.5.4",
"vite-plugin-node-polyfills": "^0.21.0",

@@ -62,3 +63,3 @@ "vitest": "^1.4.0"

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

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