seyfert 2.2.1-dev-13478083325.0 → 2.2.1-dev-13493266703.0

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/deps/mixer.js CHANGED
@@ -26,6 +26,9 @@ function getNodeDescriptors(c) {
26
26
  const result = [];
27
27
  while (proto) {
28
28
  const descriptors = Object.getOwnPropertyDescriptors(proto);
29
+ // @ts-expect-error this is not a function in all cases
30
+ if (descriptors.valueOf.configurable)
31
+ break;
29
32
  result.push(descriptors);
30
33
  proto = Object.getPrototypeOf(proto);
31
34
  }
@@ -49,6 +52,8 @@ function Mixin(...args) {
49
52
  for (const mixin of args.slice(1)) {
50
53
  const descriptors = getDescriptors(mixin).reverse();
51
54
  for (const desc of descriptors) {
55
+ // @ts-expect-error
56
+ Object.assign(this, new desc.constructor.value(...constructorArgs));
52
57
  for (const key in desc) {
53
58
  if (key === 'constructor')
54
59
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "2.2.1-dev-13478083325.0",
3
+ "version": "2.2.1-dev-13493266703.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -22,14 +22,14 @@
22
22
  "license": "MIT",
23
23
  "devDependencies": {
24
24
  "@biomejs/biome": "1.9.4",
25
- "@changesets/cli": "^2.27.11",
26
- "@commitlint/cli": "^19.6.1",
27
- "@commitlint/config-conventional": "^19.6.0",
28
- "@types/node": "^22.10.7",
25
+ "@changesets/cli": "^2.28.1",
26
+ "@commitlint/cli": "^19.7.1",
27
+ "@commitlint/config-conventional": "^19.7.1",
28
+ "@types/node": "^22.13.5",
29
29
  "husky": "^9.1.7",
30
- "lint-staged": "^15.4.1",
30
+ "lint-staged": "^15.4.3",
31
31
  "typescript": "^5.7.3",
32
- "vitest": "^3.0.3"
32
+ "vitest": "^3.0.6"
33
33
  },
34
34
  "homepage": "https://seyfert.dev",
35
35
  "repository": {