@dicebear/core 9.2.2 → 9.2.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.
package/lib/schema.js CHANGED
@@ -53,9 +53,7 @@ export const schema = {
53
53
  minimum: -360,
54
54
  maximum: 360,
55
55
  },
56
- default: [
57
- 0, 360,
58
- ],
56
+ default: [0, 360],
59
57
  },
60
58
  translateX: {
61
59
  type: 'integer',
@@ -11,7 +11,8 @@ export function getBackgroundColors(prng, backgroundColor, backgroundType) {
11
11
  // A function call should in any case make an identical number of calls to the PRNG.
12
12
  prng.next();
13
13
  }
14
- else if (backgroundColor.length == 2 && backgroundType == 'gradientLinear') {
14
+ else if (backgroundColor.length == 2 &&
15
+ backgroundType == 'gradientLinear') {
15
16
  // If the background is to be a colour gradient and exactly two background
16
17
  // colours have been specified, do not sort them randomly. In this case, we
17
18
  // assume that the order of the background colours was chosen on purpose.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dicebear/core",
3
- "version": "9.2.2",
3
+ "version": "9.2.3",
4
4
  "description": "An avatar library for designers and developers.",
5
5
  "keywords": [
6
6
  "avatar",
@@ -35,9 +35,9 @@
35
35
  "@types/json-schema": "^7.0.11"
36
36
  },
37
37
  "devDependencies": {
38
- "@tsconfig/recommended": "^1.0.2",
39
- "del-cli": "^5.0.0",
40
- "typescript": "^5.1.6",
38
+ "@tsconfig/recommended": "^1.0.10",
39
+ "del-cli": "^6.0.0",
40
+ "typescript": "^5.8.3",
41
41
  "uvu": "^0.5.6"
42
42
  },
43
43
  "engines": {
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "bf5b31d047f707f50299142660bc89ef020d9b24"
49
+ "gitHead": "8cfdc4d029c9de6a82fef4e27ed67b5e2cd14a30"
50
50
  }