step-node-agent 3.29.1 → 3.29.3-customJava25
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/har-validator/node_modules/ajv/README.md +14 -6
- package/node_modules/har-validator/node_modules/ajv/dist/ajv.bundle.js +23 -11
- package/node_modules/har-validator/node_modules/ajv/dist/ajv.min.js +2 -2
- package/node_modules/har-validator/node_modules/ajv/dist/ajv.min.js.map +1 -1
- package/node_modules/har-validator/node_modules/ajv/lib/ajv.d.ts +5 -0
- package/node_modules/har-validator/node_modules/ajv/lib/compile/index.js +8 -6
- package/node_modules/har-validator/node_modules/ajv/lib/dot/pattern.jst +15 -4
- package/node_modules/har-validator/node_modules/ajv/lib/dotjs/pattern.js +14 -4
- package/node_modules/har-validator/node_modules/ajv/package.json +2 -1
- package/node_modules/har-validator/node_modules/ajv/scripts/info +0 -0
- package/node_modules/har-validator/node_modules/ajv/scripts/prepare-tests +0 -0
- package/node_modules/har-validator/node_modules/ajv/scripts/publish-built-version +0 -0
- package/node_modules/har-validator/node_modules/ajv/scripts/travis-gh-pages +0 -0
- package/node_modules/minimatch/README.md +37 -0
- package/node_modules/minimatch/minimatch.js +160 -102
- package/node_modules/minimatch/package.json +2 -2
- package/node_modules/qs/.editorconfig +1 -1
- package/node_modules/qs/.github/SECURITY.md +11 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/node_modules/qs/CHANGELOG.md +22 -0
- package/node_modules/qs/README.md +11 -4
- package/node_modules/qs/dist/qs.js +24 -24
- package/node_modules/qs/eslint.config.mjs +56 -0
- package/node_modules/qs/lib/parse.js +90 -47
- package/node_modules/qs/lib/utils.js +83 -11
- package/node_modules/qs/package.json +9 -8
- package/node_modules/qs/test/parse.js +245 -9
- package/node_modules/qs/test/stringify.js +7 -3
- package/node_modules/qs/test/utils.js +135 -0
- package/node_modules/request/node_modules/qs/CHANGELOG.md +12 -0
- package/node_modules/request/node_modules/qs/README.md +9 -3
- package/node_modules/request/node_modules/qs/dist/qs.js +10 -10
- package/node_modules/request/node_modules/qs/lib/parse.js +4 -4
- package/node_modules/request/node_modules/qs/lib/utils.js +6 -6
- package/node_modules/request/node_modules/qs/package.json +13 -4
- package/node_modules/request/node_modules/qs/test/parse.js +9 -0
- package/node_modules/request/node_modules/qs/test/stringify.js +6 -0
- package/node_modules/send/HISTORY.md +7 -0
- package/node_modules/send/package.json +5 -5
- package/node_modules/serve-static/HISTORY.md +6 -0
- package/node_modules/serve-static/package.json +2 -2
- package/node_modules/underscore/amd/_setup.js +1 -1
- package/node_modules/underscore/amd/pipe.js +13 -0
- package/node_modules/underscore/cjs/_setup.js +1 -1
- package/node_modules/underscore/cjs/pipe.js +12 -0
- package/node_modules/underscore/modules/_flatten.js +20 -18
- package/node_modules/underscore/modules/_setup.js +1 -1
- package/node_modules/underscore/modules/index.js +2 -2
- package/node_modules/underscore/modules/isEqual.js +108 -93
- package/node_modules/underscore/modules/package.json +1 -1
- package/node_modules/underscore/package.json +1 -1
- package/node_modules/underscore/underscore-esm-min.js +3 -3
- package/node_modules/underscore/underscore-esm-min.js.map +1 -1
- package/node_modules/underscore/underscore-esm.js +132 -115
- package/node_modules/underscore/underscore-esm.js.map +1 -1
- package/node_modules/underscore/underscore-min.js +3 -3
- package/node_modules/underscore/underscore-min.js.map +1 -1
- package/node_modules/underscore/underscore-node-f.cjs +132 -115
- package/node_modules/underscore/underscore-node-f.cjs.map +1 -1
- package/node_modules/underscore/underscore-node.cjs +2 -2
- package/node_modules/underscore/underscore-node.mjs +2 -2
- package/node_modules/underscore/underscore-umd-min.js +3 -3
- package/node_modules/underscore/underscore-umd-min.js.map +1 -1
- package/node_modules/underscore/underscore-umd.js +132 -115
- package/node_modules/underscore/underscore-umd.js.map +1 -1
- package/node_modules/underscore/underscore.js +132 -115
- package/package.json +1 -1
- package/node_modules/qs/.eslintrc +0 -39
- package/node_modules/request/node_modules/qs/bower.json +0 -21
- package/node_modules/request/node_modules/qs/component.json +0 -15
- package/node_modules/send/node_modules/http-errors/HISTORY.md +0 -180
- package/node_modules/send/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/send/node_modules/http-errors/README.md +0 -169
- package/node_modules/send/node_modules/http-errors/index.js +0 -289
- package/node_modules/send/node_modules/http-errors/package.json +0 -50
- package/node_modules/send/node_modules/statuses/HISTORY.md +0 -82
- package/node_modules/send/node_modules/statuses/LICENSE +0 -23
- package/node_modules/send/node_modules/statuses/README.md +0 -136
- package/node_modules/send/node_modules/statuses/codes.json +0 -65
- package/node_modules/send/node_modules/statuses/index.js +0 -146
- package/node_modules/send/node_modules/statuses/package.json +0 -49
- package/node_modules/serve-static/node_modules/http-errors/HISTORY.md +0 -180
- package/node_modules/serve-static/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/serve-static/node_modules/http-errors/README.md +0 -169
- package/node_modules/serve-static/node_modules/http-errors/index.js +0 -289
- package/node_modules/serve-static/node_modules/http-errors/package.json +0 -50
- package/node_modules/serve-static/node_modules/ms/index.js +0 -162
- package/node_modules/serve-static/node_modules/ms/license.md +0 -21
- package/node_modules/serve-static/node_modules/ms/package.json +0 -38
- package/node_modules/serve-static/node_modules/ms/readme.md +0 -59
- package/node_modules/serve-static/node_modules/send/HISTORY.md +0 -526
- package/node_modules/serve-static/node_modules/send/LICENSE +0 -23
- package/node_modules/serve-static/node_modules/send/README.md +0 -327
- package/node_modules/serve-static/node_modules/send/SECURITY.md +0 -24
- package/node_modules/serve-static/node_modules/send/index.js +0 -1142
- package/node_modules/serve-static/node_modules/send/node_modules/encodeurl/HISTORY.md +0 -14
- package/node_modules/serve-static/node_modules/send/node_modules/encodeurl/LICENSE +0 -22
- package/node_modules/serve-static/node_modules/send/node_modules/encodeurl/README.md +0 -128
- package/node_modules/serve-static/node_modules/send/node_modules/encodeurl/index.js +0 -60
- package/node_modules/serve-static/node_modules/send/node_modules/encodeurl/package.json +0 -40
- package/node_modules/serve-static/node_modules/send/package.json +0 -62
- package/node_modules/serve-static/node_modules/statuses/HISTORY.md +0 -82
- package/node_modules/serve-static/node_modules/statuses/LICENSE +0 -23
- package/node_modules/serve-static/node_modules/statuses/README.md +0 -136
- package/node_modules/serve-static/node_modules/statuses/codes.json +0 -65
- package/node_modules/serve-static/node_modules/statuses/index.js +0 -146
- package/node_modules/serve-static/node_modules/statuses/package.json +0 -49
- package/node_modules/underscore/amd/_set.js +0 -21
- package/node_modules/underscore/amd/set.js +0 -15
- package/node_modules/underscore/cjs/_set.js +0 -21
- package/node_modules/underscore/cjs/set.js +0 -15
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* statuses
|
|
3
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
4
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
5
|
-
* MIT Licensed
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict'
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Module dependencies.
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
var codes = require('./codes.json')
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Module exports.
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
module.exports = status
|
|
23
|
-
|
|
24
|
-
// status code to message map
|
|
25
|
-
status.message = codes
|
|
26
|
-
|
|
27
|
-
// status message (lower-case) to code map
|
|
28
|
-
status.code = createMessageToStatusCodeMap(codes)
|
|
29
|
-
|
|
30
|
-
// array of status codes
|
|
31
|
-
status.codes = createStatusCodeList(codes)
|
|
32
|
-
|
|
33
|
-
// status codes for redirects
|
|
34
|
-
status.redirect = {
|
|
35
|
-
300: true,
|
|
36
|
-
301: true,
|
|
37
|
-
302: true,
|
|
38
|
-
303: true,
|
|
39
|
-
305: true,
|
|
40
|
-
307: true,
|
|
41
|
-
308: true
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// status codes for empty bodies
|
|
45
|
-
status.empty = {
|
|
46
|
-
204: true,
|
|
47
|
-
205: true,
|
|
48
|
-
304: true
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// status codes for when you should retry the request
|
|
52
|
-
status.retry = {
|
|
53
|
-
502: true,
|
|
54
|
-
503: true,
|
|
55
|
-
504: true
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Create a map of message to status code.
|
|
60
|
-
* @private
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
function createMessageToStatusCodeMap (codes) {
|
|
64
|
-
var map = {}
|
|
65
|
-
|
|
66
|
-
Object.keys(codes).forEach(function forEachCode (code) {
|
|
67
|
-
var message = codes[code]
|
|
68
|
-
var status = Number(code)
|
|
69
|
-
|
|
70
|
-
// populate map
|
|
71
|
-
map[message.toLowerCase()] = status
|
|
72
|
-
})
|
|
73
|
-
|
|
74
|
-
return map
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Create a list of all status codes.
|
|
79
|
-
* @private
|
|
80
|
-
*/
|
|
81
|
-
|
|
82
|
-
function createStatusCodeList (codes) {
|
|
83
|
-
return Object.keys(codes).map(function mapCode (code) {
|
|
84
|
-
return Number(code)
|
|
85
|
-
})
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Get the status code for given message.
|
|
90
|
-
* @private
|
|
91
|
-
*/
|
|
92
|
-
|
|
93
|
-
function getStatusCode (message) {
|
|
94
|
-
var msg = message.toLowerCase()
|
|
95
|
-
|
|
96
|
-
if (!Object.prototype.hasOwnProperty.call(status.code, msg)) {
|
|
97
|
-
throw new Error('invalid status message: "' + message + '"')
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return status.code[msg]
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Get the status message for given code.
|
|
105
|
-
* @private
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
function getStatusMessage (code) {
|
|
109
|
-
if (!Object.prototype.hasOwnProperty.call(status.message, code)) {
|
|
110
|
-
throw new Error('invalid status code: ' + code)
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
return status.message[code]
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Get the status code.
|
|
118
|
-
*
|
|
119
|
-
* Given a number, this will throw if it is not a known status
|
|
120
|
-
* code, otherwise the code will be returned. Given a string,
|
|
121
|
-
* the string will be parsed for a number and return the code
|
|
122
|
-
* if valid, otherwise will lookup the code assuming this is
|
|
123
|
-
* the status message.
|
|
124
|
-
*
|
|
125
|
-
* @param {string|number} code
|
|
126
|
-
* @returns {number}
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
|
|
130
|
-
function status (code) {
|
|
131
|
-
if (typeof code === 'number') {
|
|
132
|
-
return getStatusMessage(code)
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
if (typeof code !== 'string') {
|
|
136
|
-
throw new TypeError('code must be a number or string')
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// '403'
|
|
140
|
-
var n = parseInt(code, 10)
|
|
141
|
-
if (!isNaN(n)) {
|
|
142
|
-
return getStatusMessage(n)
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
return getStatusCode(code)
|
|
146
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "statuses",
|
|
3
|
-
"description": "HTTP status utility",
|
|
4
|
-
"version": "2.0.1",
|
|
5
|
-
"contributors": [
|
|
6
|
-
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
7
|
-
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"
|
|
8
|
-
],
|
|
9
|
-
"repository": "jshttp/statuses",
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"keywords": [
|
|
12
|
-
"http",
|
|
13
|
-
"status",
|
|
14
|
-
"code"
|
|
15
|
-
],
|
|
16
|
-
"files": [
|
|
17
|
-
"HISTORY.md",
|
|
18
|
-
"index.js",
|
|
19
|
-
"codes.json",
|
|
20
|
-
"LICENSE"
|
|
21
|
-
],
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"csv-parse": "4.14.2",
|
|
24
|
-
"eslint": "7.17.0",
|
|
25
|
-
"eslint-config-standard": "14.1.1",
|
|
26
|
-
"eslint-plugin-import": "2.22.1",
|
|
27
|
-
"eslint-plugin-markdown": "1.0.2",
|
|
28
|
-
"eslint-plugin-node": "11.1.0",
|
|
29
|
-
"eslint-plugin-promise": "4.2.1",
|
|
30
|
-
"eslint-plugin-standard": "4.1.0",
|
|
31
|
-
"mocha": "8.2.1",
|
|
32
|
-
"nyc": "15.1.0",
|
|
33
|
-
"raw-body": "2.4.1",
|
|
34
|
-
"stream-to-array": "2.3.0"
|
|
35
|
-
},
|
|
36
|
-
"engines": {
|
|
37
|
-
"node": ">= 0.8"
|
|
38
|
-
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "node scripts/build.js",
|
|
41
|
-
"fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js",
|
|
42
|
-
"lint": "eslint --plugin markdown --ext js,md .",
|
|
43
|
-
"test": "mocha --reporter spec --check-leaks --bail test/",
|
|
44
|
-
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
45
|
-
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
|
46
|
-
"update": "npm run fetch && npm run build",
|
|
47
|
-
"version": "node scripts/version-history.js && git add HISTORY.md"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
define(['./isNumber', './isArray', './isObject'], function (isNumber, isArray, isObject) {
|
|
2
|
-
|
|
3
|
-
function set (obj, path, value) {
|
|
4
|
-
var key = String(path[0]);
|
|
5
|
-
|
|
6
|
-
if (path.length === 1) {
|
|
7
|
-
obj[key] = value;
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
if (!isArray(obj[key]) || !isObject(obj[key])) {
|
|
12
|
-
var nextKey = path[1];
|
|
13
|
-
obj[key] = isNumber(nextKey) ? [] : {};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return set(obj[key], path.slice(1), value);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
return set;
|
|
20
|
-
|
|
21
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
define(['./isArray', './isObject', './_set'], function (isArray, isObject, _set) {
|
|
2
|
-
|
|
3
|
-
// set the value in given path
|
|
4
|
-
function set (obj, path, value) {
|
|
5
|
-
if (!isObject(obj) || !isArray(path)) return obj;
|
|
6
|
-
if (path.length === 0) return obj;
|
|
7
|
-
|
|
8
|
-
_set(obj, path, value);
|
|
9
|
-
|
|
10
|
-
return obj;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return set;
|
|
14
|
-
|
|
15
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var isNumber = require('./isNumber.js');
|
|
2
|
-
var isArray = require('./isArray.js');
|
|
3
|
-
var isObject = require('./isObject.js');
|
|
4
|
-
|
|
5
|
-
function set (obj, path, value) {
|
|
6
|
-
var key = String(path[0]);
|
|
7
|
-
|
|
8
|
-
if (path.length === 1) {
|
|
9
|
-
obj[key] = value;
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (!isArray(obj[key]) || !isObject(obj[key])) {
|
|
14
|
-
var nextKey = path[1];
|
|
15
|
-
obj[key] = isNumber(nextKey) ? [] : {};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
return set(obj[key], path.slice(1), value);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
module.exports = set;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
var isArray = require('./isArray.js');
|
|
2
|
-
var isObject = require('./isObject.js');
|
|
3
|
-
var _set = require('./_set.js');
|
|
4
|
-
|
|
5
|
-
// set the value in given path
|
|
6
|
-
function set (obj, path, value) {
|
|
7
|
-
if (!isObject(obj) || !isArray(path)) return obj;
|
|
8
|
-
if (path.length === 0) return obj;
|
|
9
|
-
|
|
10
|
-
_set(obj, path, value);
|
|
11
|
-
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
module.exports = set;
|