@equinor/apollo-utils 1.0.0 → 1.0.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.js CHANGED
@@ -117,7 +117,7 @@ function createValidator(schema) {
117
117
  if (validation.success) return void 0;
118
118
  return prepareErrors(validation);
119
119
  },
120
- validateAsync: (entity) => __async(this, null, function* () {
120
+ validateAsync: (entity) => __async(null, null, function* () {
121
121
  const validation = yield schema.safeParseAsync(entity);
122
122
  if (validation.success) return void 0;
123
123
  return prepareErrors(validation);
package/dist/index.mjs CHANGED
@@ -91,7 +91,7 @@ function createValidator(schema) {
91
91
  if (validation.success) return void 0;
92
92
  return prepareErrors(validation);
93
93
  },
94
- validateAsync: (entity) => __async(this, null, function* () {
94
+ validateAsync: (entity) => __async(null, null, function* () {
95
95
  const validation = yield schema.safeParseAsync(entity);
96
96
  if (validation.success) return void 0;
97
97
  return prepareErrors(validation);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/apollo-utils",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -21,12 +21,12 @@
21
21
  "@types/styled-components": "^5.1.34",
22
22
  "@vitest/ui": "^1.6.1",
23
23
  "eslint": "^9.21.0",
24
- "jsdom": "^24.1.3",
24
+ "jsdom": "^27.4.0",
25
25
  "react": "^18.2.0",
26
26
  "react-dom": "^18.2.0",
27
27
  "styled-components": "^6.1.14",
28
- "tsup": "^8.3.6",
29
- "vitest": "^3.2.4",
28
+ "tsup": "^8.5.1",
29
+ "vitest": "^4.0.18",
30
30
  "@equinor/cpl-eslint-config": "1.0.0",
31
31
  "@equinor/cpl-typescript-config": "0.0.2"
32
32
  },