@jimp/types 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
 
2
- > @jimp/types@1.1.1 build /Users/andrewlisowski/Documents/jimp/packages/types
2
+ 
3
+ > @jimp/types@1.1.2 build /Users/andrewlisowski/Documents/jimp/packages/types
3
4
  > tshy
4
5
 
@@ -0,0 +1,5 @@
1
+
2
+ 
3
+ > @jimp/types@1.1.2 lint /Users/andrewlisowski/Documents/jimp/packages/types
4
+ > eslint .
5
+
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.1.3 (Mon Sep 02 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Update deps [#1319](https://github.com/jimp-dev/jimp/pull/1319) ([@hipstersmoothie](https://github.com/hipstersmoothie))
6
+
7
+ #### Authors: 1
8
+
9
+ - Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
10
+
11
+ ---
12
+
1
13
  # v1.1.0 (Sun Sep 01 2024)
2
14
 
3
15
  #### ⚠️ Pushed to `main`
@@ -0,0 +1,2 @@
1
+ import shared from "@jimp/config-eslint/base.js";
2
+ export default [...shared];
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@jimp/types",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "repository": "jimp-dev/jimp",
5
+ "engines": {
6
+ "node": ">=18"
7
+ },
5
8
  "scripts": {
6
9
  "lint": "eslint .",
7
10
  "build": "tshy",
@@ -11,13 +14,13 @@
11
14
  "author": "Andrew Lisowski <lisowski54@gmail.com>",
12
15
  "license": "MIT",
13
16
  "devDependencies": {
14
- "@jimp/config-eslint": "1.1.2",
15
- "@jimp/config-typescript": "1.1.2",
16
- "@types/node": "^20.12.5",
17
- "eslint": "^8.57.0",
17
+ "@jimp/config-eslint": "1.1.3",
18
+ "@jimp/config-typescript": "1.1.3",
19
+ "@types/node": "^18.19.48",
20
+ "eslint": "^9.9.1",
18
21
  "tshy": "^3.0.2",
19
22
  "typescript": "^5.5.4",
20
- "vitest": "^1.4.0"
23
+ "vitest": "^2.0.5"
21
24
  },
22
25
  "tshy": {
23
26
  "exclude": [
@@ -45,12 +48,12 @@
45
48
  "types": "./dist/commonjs/index.d.ts",
46
49
  "type": "module",
47
50
  "dependencies": {
48
- "zod": "^3.22.4"
51
+ "zod": "^3.23.8"
49
52
  },
50
53
  "publishConfig": {
51
54
  "access": "public"
52
55
  },
53
56
  "sideEffects": false,
54
57
  "module": "./dist/esm/index.js",
55
- "gitHead": "ba9de4df25a2f0e41f11a68c7aa50181a52115cb"
58
+ "gitHead": "737b2300a34f8ed29a0b77e02b3f6eeda58ec439"
56
59
  }
package/src/index.ts CHANGED
@@ -60,7 +60,7 @@ export interface JimpClass {
60
60
  w: number,
61
61
  h: number,
62
62
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
63
- cb: (x: number, y: number, idx: number) => any
63
+ cb: (x: number, y: number, idx: number) => any,
64
64
  ): JimpClass;
65
65
  scan(
66
66
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -69,6 +69,6 @@ export interface JimpClass {
69
69
  w?: number,
70
70
  h?: number,
71
71
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
72
- f?: (x: number, y: number, idx: number) => any
72
+ f?: (x: number, y: number, idx: number) => any,
73
73
  ): JimpClass;
74
74
  }
package/.eslintrc.cjs DELETED
@@ -1,5 +0,0 @@
1
- /** @type {import("eslint").Linter.Config} */
2
- module.exports = {
3
- root: true,
4
- extends: [require.resolve("@jimp/config-eslint/base.js")],
5
- };