@mitralab.io/sdk-core 0.1.0 → 0.1.1

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/dist/index.cjs CHANGED
@@ -79,7 +79,7 @@ function isStringRecord(value) {
79
79
  return isObject(value) && Object.values(value).every((item) => typeof item === "string");
80
80
  }
81
81
  function hasOwn(value, property) {
82
- return Object.prototype.hasOwnProperty.call(value, property);
82
+ return Object.hasOwn(value, property);
83
83
  }
84
84
  function invalidField(context, field, errors) {
85
85
  return invalidResponse(`${context} has an invalid ${field} field`, errors);
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ function isStringRecord(value) {
41
41
  return isObject(value) && Object.values(value).every((item) => typeof item === "string");
42
42
  }
43
43
  function hasOwn(value, property) {
44
- return Object.prototype.hasOwnProperty.call(value, property);
44
+ return Object.hasOwn(value, property);
45
45
  }
46
46
  function invalidField(context, field, errors) {
47
47
  return invalidResponse(`${context} has an invalid ${field} field`, errors);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitralab.io/sdk-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Environment-neutral contracts and modules shared by Mitra JavaScript SDKs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -69,14 +69,16 @@
69
69
  "@types/node": "^22.15.0",
70
70
  "@vitest/coverage-v8": "^3.2.4",
71
71
  "eslint": "^9.39.1",
72
- "globals": "^16.5.0",
72
+ "globals": "^17.11.0",
73
73
  "prettier": "^3.8.1",
74
74
  "tsup": "^8.5.1",
75
75
  "typescript": "~5.9.3",
76
- "typescript-eslint": "^8.57.1",
76
+ "typescript-eslint": "~8.55.0",
77
+ "vite": "~6.4.3",
77
78
  "vitest": "^3.2.4"
78
79
  },
79
80
  "overrides": {
80
- "esbuild": "^0.25.0"
81
+ "esbuild": "^0.25.0",
82
+ "test-exclude": "7.0.1"
81
83
  }
82
84
  }