step-node-agent 3.21.0 → 3.21.2
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/node_modules/body-parser/HISTORY.md +8 -0
- package/node_modules/body-parser/README.md +11 -10
- package/node_modules/body-parser/lib/types/json.js +15 -4
- package/node_modules/body-parser/package.json +8 -8
- package/node_modules/express/node_modules/body-parser/HISTORY.md +657 -0
- package/node_modules/express/node_modules/body-parser/LICENSE +23 -0
- package/node_modules/express/node_modules/body-parser/README.md +464 -0
- package/node_modules/express/node_modules/body-parser/SECURITY.md +25 -0
- package/node_modules/express/node_modules/body-parser/index.js +156 -0
- package/node_modules/express/node_modules/body-parser/lib/read.js +205 -0
- package/node_modules/express/node_modules/body-parser/lib/types/json.js +236 -0
- package/node_modules/express/node_modules/body-parser/lib/types/raw.js +101 -0
- package/node_modules/express/node_modules/body-parser/lib/types/text.js +121 -0
- package/node_modules/express/node_modules/body-parser/lib/types/urlencoded.js +284 -0
- package/node_modules/express/node_modules/body-parser/package.json +56 -0
- package/node_modules/express/node_modules/raw-body/HISTORY.md +303 -0
- package/node_modules/express/node_modules/raw-body/LICENSE +22 -0
- package/node_modules/express/node_modules/raw-body/README.md +223 -0
- package/node_modules/express/node_modules/raw-body/SECURITY.md +24 -0
- package/node_modules/express/node_modules/raw-body/index.d.ts +87 -0
- package/node_modules/express/node_modules/raw-body/index.js +329 -0
- package/node_modules/express/node_modules/raw-body/package.json +49 -0
- package/node_modules/graceful-fs/package.json +6 -3
- package/node_modules/graceful-fs/polyfills.js +1 -1
- package/node_modules/raw-body/HISTORY.md +5 -0
- package/node_modules/raw-body/README.md +1 -1
- package/node_modules/raw-body/index.js +7 -0
- package/node_modules/raw-body/package.json +7 -7
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graceful-fs",
|
|
3
3
|
"description": "A drop-in replacement for fs, making various improvements.",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.11",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/isaacs/node-graceful-fs"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"import-fresh": "^2.0.0",
|
|
39
39
|
"mkdirp": "^0.5.0",
|
|
40
40
|
"rimraf": "^2.2.8",
|
|
41
|
-
"tap": "^
|
|
41
|
+
"tap": "^16.3.4"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"fs.js",
|
|
@@ -46,5 +46,8 @@
|
|
|
46
46
|
"legacy-streams.js",
|
|
47
47
|
"polyfills.js",
|
|
48
48
|
"clone.js"
|
|
49
|
-
]
|
|
49
|
+
],
|
|
50
|
+
"tap": {
|
|
51
|
+
"reporter": "classic"
|
|
52
|
+
}
|
|
50
53
|
}
|
|
@@ -101,7 +101,7 @@ function patch (fs) {
|
|
|
101
101
|
var backoff = 0;
|
|
102
102
|
fs$rename(from, to, function CB (er) {
|
|
103
103
|
if (er
|
|
104
|
-
&& (er.code === "EACCES" || er.code === "EPERM")
|
|
104
|
+
&& (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
|
|
105
105
|
&& Date.now() - start < 60000) {
|
|
106
106
|
setTimeout(function() {
|
|
107
107
|
fs.stat(to, function (stater, st) {
|
|
@@ -219,5 +219,5 @@ server.listen(3000);
|
|
|
219
219
|
[coveralls-url]: https://coveralls.io/r/stream-utils/raw-body?branch=master
|
|
220
220
|
[downloads-image]: https://img.shields.io/npm/dm/raw-body.svg
|
|
221
221
|
[downloads-url]: https://npmjs.org/package/raw-body
|
|
222
|
-
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/stream-utils/raw-body/ci
|
|
222
|
+
[github-actions-ci-image]: https://img.shields.io/github/actions/workflow/status/stream-utils/raw-body/ci.yml?branch=master&label=ci
|
|
223
223
|
[github-actions-ci-url]: https://github.com/jshttp/stream-utils/raw-body?query=workflow%3Aci
|
|
@@ -69,6 +69,13 @@ function getRawBody (stream, options, callback) {
|
|
|
69
69
|
var done = callback
|
|
70
70
|
var opts = options || {}
|
|
71
71
|
|
|
72
|
+
// light validation
|
|
73
|
+
if (stream === undefined) {
|
|
74
|
+
throw new TypeError('argument stream is required')
|
|
75
|
+
} else if (typeof stream !== 'object' || stream === null || typeof stream.on !== 'function') {
|
|
76
|
+
throw new TypeError('argument stream must be a stream')
|
|
77
|
+
}
|
|
78
|
+
|
|
72
79
|
if (options === true || typeof options === 'string') {
|
|
73
80
|
// short cut for encoding
|
|
74
81
|
opts = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "raw-body",
|
|
3
3
|
"description": "Get and validate the raw body of a readable stream.",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.2",
|
|
5
5
|
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"bluebird": "3.7.2",
|
|
20
|
-
"eslint": "
|
|
21
|
-
"eslint-config-standard": "
|
|
22
|
-
"eslint-plugin-import": "2.
|
|
23
|
-
"eslint-plugin-markdown": "
|
|
20
|
+
"eslint": "8.34.0",
|
|
21
|
+
"eslint-config-standard": "15.0.1",
|
|
22
|
+
"eslint-plugin-import": "2.27.5",
|
|
23
|
+
"eslint-plugin-markdown": "3.0.0",
|
|
24
24
|
"eslint-plugin-node": "11.1.0",
|
|
25
|
-
"eslint-plugin-promise": "
|
|
25
|
+
"eslint-plugin-promise": "6.1.1",
|
|
26
26
|
"eslint-plugin-standard": "4.1.0",
|
|
27
|
-
"mocha": "
|
|
27
|
+
"mocha": "10.2.0",
|
|
28
28
|
"nyc": "15.1.0",
|
|
29
29
|
"readable-stream": "2.3.7",
|
|
30
30
|
"safe-buffer": "5.2.1"
|