@kravc/dos 1.4.9 → 1.4.11
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 +8 -8
- package/src/Operation.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kravc/dos",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.11",
|
|
4
4
|
"description": "Convention-based, easy-to-use library for building API-driven serverless services.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Service",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"author": "Alexander Kravets <a@kra.vc>",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@kravc/schema": "^2.3.
|
|
29
|
-
"cookie": "^0.
|
|
28
|
+
"@kravc/schema": "^2.3.4",
|
|
29
|
+
"cookie": "^0.5.0",
|
|
30
30
|
"js-yaml": "^4.1.0",
|
|
31
31
|
"jsonwebtoken": "^9.0.0",
|
|
32
32
|
"lodash.capitalize": "^4.2.1",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"lodash.uniq": "^4.5.0",
|
|
45
45
|
"pluralize": "^8.0.0",
|
|
46
46
|
"ulid": "^2.3.0",
|
|
47
|
-
"uuid": "^
|
|
48
|
-
"z-schema": "^5.0.
|
|
47
|
+
"uuid": "^9.0.0",
|
|
48
|
+
"z-schema": "^5.0.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"chai": "^4.3.
|
|
52
|
-
"eslint": "^
|
|
53
|
-
"mocha": "^10.
|
|
51
|
+
"chai": "^4.3.7",
|
|
52
|
+
"eslint": "^8.35.0",
|
|
53
|
+
"mocha": "^10.2.0",
|
|
54
54
|
"nyc": "^15.1.0"
|
|
55
55
|
},
|
|
56
56
|
"nyc": {
|
package/src/Operation.js
CHANGED
|
@@ -228,7 +228,7 @@ class Operation {
|
|
|
228
228
|
|
|
229
229
|
if (this.after) {
|
|
230
230
|
const _ = await this.after(parameters, result.data || result)
|
|
231
|
-
result = _ ? ( result.data ? { data: _ } : _ ) : result
|
|
231
|
+
result = _ ? ( result.data ? { ...result, data: _ } : _ ) : result
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
return { result, headers: this._headers, multiValueHeaders: this._multiValueHeaders }
|