@crawlee/memory-storage 3.17.1-beta.4 → 3.17.1-beta.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/memory-storage",
3
- "version": "3.17.1-beta.4",
3
+ "version": "3.17.1-beta.41",
4
4
  "description": "A simple in-memory storage implementation of the Apify API",
5
5
  "engines": {
6
6
  "node": ">= 16"
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@apify/log": "^2.4.0",
52
- "@crawlee/types": "3.17.1-beta.4",
52
+ "@crawlee/types": "3.17.1-beta.41",
53
53
  "@sapphire/async-queue": "^1.5.0",
54
54
  "@sapphire/shapeshift": "^3.0.0",
55
55
  "content-type": "^1.0.4",
@@ -67,5 +67,5 @@
67
67
  }
68
68
  }
69
69
  },
70
- "gitHead": "3feb562069d7f3cdd4923fbc6dc2c65857580735"
70
+ "gitHead": "6c01783829190e9904fc1288ac62844e552414e6"
71
71
  }
@@ -324,9 +324,7 @@ class KeyValueStoreClient extends base_client_1.BaseClient {
324
324
  key: shapeshift_1.s.string.lengthGreaterThan(0),
325
325
  value: shapeshift_1.s.union(shapeshift_1.s.null, shapeshift_1.s.string, shapeshift_1.s.number, shapeshift_1.s.instance(Buffer), shapeshift_1.s.instance(ArrayBuffer), shapeshift_1.s.typedArray(),
326
326
  // disabling validation will make shapeshift only check the object given is an actual object, not null, nor array
327
- shapeshift_1.s
328
- .object({})
329
- .setValidationEnabled(false)),
327
+ shapeshift_1.s.object({}).setValidationEnabled(false)),
330
328
  contentType: shapeshift_1.s.string.lengthGreaterThan(0).optional,
331
329
  }).parse(record);
332
330
  // Check by id