@esposter/shared 1.24.1 → 1.25.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -66,7 +66,7 @@ const isPlainObject = (object) => {
66
66
  // the "constructor" property of certain host objects, ie. |window.location|
67
67
  // https://bugzilla.mozilla.org/show_bug.cgi?id=814622
68
68
  try {
69
- if (object.constructor && !Object.hasOwn(object.constructor.prototype, "isPrototypeOf"))
69
+ if (!Object.hasOwn(object.constructor.prototype, "isPrototypeOf"))
70
70
  return false;
71
71
  }
72
72
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esposter/shared",
3
- "version": "1.24.1",
3
+ "version": "1.25.0",
4
4
  "description": "A library that contains shared typescript code.",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/Esposter/Esposter#readme",
@@ -26,7 +26,7 @@
26
26
  "export:gen": "ctix build --config ../configuration/.ctirc-ts"
27
27
  },
28
28
  "devDependencies": {
29
- "@esposter/configuration": "1.24.1"
29
+ "@esposter/configuration": "1.25.0"
30
30
  },
31
- "gitHead": "c4362297fd2bcab9a2fa2aa1749f678656475521"
31
+ "gitHead": "3acb111aaf7fcdfd08a402fca3c028e97f61176f"
32
32
  }