mastra 0.1.57-unstable.35 → 0.1.57-unstable.37
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/.npmrc +2 -0
- package/package.json +4 -17
- package/node_modules/express/History.md +0 -3647
- package/node_modules/express/LICENSE +0 -24
- package/node_modules/express/Readme.md +0 -260
- package/node_modules/express/index.js +0 -11
- package/node_modules/express/lib/application.js +0 -661
- package/node_modules/express/lib/express.js +0 -116
- package/node_modules/express/lib/middleware/init.js +0 -43
- package/node_modules/express/lib/middleware/query.js +0 -47
- package/node_modules/express/lib/request.js +0 -525
- package/node_modules/express/lib/response.js +0 -1179
- package/node_modules/express/lib/router/index.js +0 -673
- package/node_modules/express/lib/router/layer.js +0 -181
- package/node_modules/express/lib/router/route.js +0 -230
- package/node_modules/express/lib/utils.js +0 -303
- package/node_modules/express/lib/view.js +0 -182
- package/node_modules/express/package.json +0 -98
- package/node_modules/express-jsdoc-swagger/.all-contributorsrc +0 -168
- package/node_modules/express-jsdoc-swagger/.eslintignore +0 -6
- package/node_modules/express-jsdoc-swagger/.eslintrc.json +0 -37
- package/node_modules/express-jsdoc-swagger/CODE_OF_CONDUCT.md +0 -76
- package/node_modules/express-jsdoc-swagger/CONTRIBUTING.md +0 -55
- package/node_modules/express-jsdoc-swagger/LICENSE.md +0 -21
- package/node_modules/express-jsdoc-swagger/README.md +0 -376
- package/node_modules/express-jsdoc-swagger/commitlint.config.js +0 -24
- package/node_modules/express-jsdoc-swagger/config/default.js +0 -18
- package/node_modules/express-jsdoc-swagger/config/swaggerEvents.js +0 -5
- package/node_modules/express-jsdoc-swagger/consumers/getOnlyComments.js +0 -21
- package/node_modules/express-jsdoc-swagger/consumers/globFilesMatches.js +0 -50
- package/node_modules/express-jsdoc-swagger/consumers/jsdocInfo.js +0 -20
- package/node_modules/express-jsdoc-swagger/consumers/readFiles.js +0 -9
- package/node_modules/express-jsdoc-swagger/consumers/utils/getComments.js +0 -13
- package/node_modules/express-jsdoc-swagger/consumers/utils/readFile.js +0 -15
- package/node_modules/express-jsdoc-swagger/index.d.ts +0 -65
- package/node_modules/express-jsdoc-swagger/index.js +0 -60
- package/node_modules/express-jsdoc-swagger/package.json +0 -59
- package/node_modules/express-jsdoc-swagger/processSwagger.js +0 -45
- package/node_modules/express-jsdoc-swagger/swaggerEvents.js +0 -35
- package/node_modules/express-jsdoc-swagger/transforms/basic/contact.js +0 -18
- package/node_modules/express-jsdoc-swagger/transforms/basic/index.js +0 -10
- package/node_modules/express-jsdoc-swagger/transforms/basic/info.js +0 -26
- package/node_modules/express-jsdoc-swagger/transforms/basic/license.js +0 -14
- package/node_modules/express-jsdoc-swagger/transforms/basic/servers.js +0 -20
- package/node_modules/express-jsdoc-swagger/transforms/components/index.js +0 -130
- package/node_modules/express-jsdoc-swagger/transforms/index.js +0 -13
- package/node_modules/express-jsdoc-swagger/transforms/paths/content.js +0 -18
- package/node_modules/express-jsdoc-swagger/transforms/paths/examples.js +0 -98
- package/node_modules/express-jsdoc-swagger/transforms/paths/formParams.js +0 -40
- package/node_modules/express-jsdoc-swagger/transforms/paths/index.js +0 -127
- package/node_modules/express-jsdoc-swagger/transforms/paths/parameters.js +0 -80
- package/node_modules/express-jsdoc-swagger/transforms/paths/requestBody.js +0 -65
- package/node_modules/express-jsdoc-swagger/transforms/paths/responses.js +0 -55
- package/node_modules/express-jsdoc-swagger/transforms/paths/schema.js +0 -33
- package/node_modules/express-jsdoc-swagger/transforms/paths/security.js +0 -31
- package/node_modules/express-jsdoc-swagger/transforms/paths/validStatusCodes.js +0 -64
- package/node_modules/express-jsdoc-swagger/transforms/security/index.js +0 -18
- package/node_modules/express-jsdoc-swagger/transforms/tags/index.js +0 -41
- package/node_modules/express-jsdoc-swagger/transforms/utils/arrays.js +0 -12
- package/node_modules/express-jsdoc-swagger/transforms/utils/combineSchema.js +0 -67
- package/node_modules/express-jsdoc-swagger/transforms/utils/enumValues.js +0 -6
- package/node_modules/express-jsdoc-swagger/transforms/utils/errorMessage.js +0 -8
- package/node_modules/express-jsdoc-swagger/transforms/utils/formatDescription.js +0 -35
- package/node_modules/express-jsdoc-swagger/transforms/utils/formatExamples.js +0 -25
- package/node_modules/express-jsdoc-swagger/transforms/utils/generator.js +0 -6
- package/node_modules/express-jsdoc-swagger/transforms/utils/httpMethods.js +0 -18
- package/node_modules/express-jsdoc-swagger/transforms/utils/mapDescription.js +0 -5
- package/node_modules/express-jsdoc-swagger/transforms/utils/refSchema.js +0 -48
- package/node_modules/express-jsdoc-swagger/transforms/utils/setProperty.js +0 -25
- package/node_modules/express-jsdoc-swagger/transforms/utils/tags.js +0 -16
- package/node_modules/express-jsdoc-swagger/transforms/utils/validateTypes.js +0 -11
- package/node_modules/serverless-http/LICENSE.txt +0 -33
- package/node_modules/serverless-http/README.md +0 -117
- package/node_modules/serverless-http/lib/finish.js +0 -42
- package/node_modules/serverless-http/lib/framework/get-framework.js +0 -79
- package/node_modules/serverless-http/lib/provider/aws/clean-up-event.js +0 -98
- package/node_modules/serverless-http/lib/provider/aws/create-request.js +0 -110
- package/node_modules/serverless-http/lib/provider/aws/format-response.js +0 -45
- package/node_modules/serverless-http/lib/provider/aws/index.js +0 -15
- package/node_modules/serverless-http/lib/provider/aws/is-binary.js +0 -42
- package/node_modules/serverless-http/lib/provider/aws/sanitize-headers.js +0 -21
- package/node_modules/serverless-http/lib/provider/azure/clean-up-request.js +0 -41
- package/node_modules/serverless-http/lib/provider/azure/create-request.js +0 -45
- package/node_modules/serverless-http/lib/provider/azure/format-response.js +0 -18
- package/node_modules/serverless-http/lib/provider/azure/index.js +0 -13
- package/node_modules/serverless-http/lib/provider/azure/is-binary.js +0 -42
- package/node_modules/serverless-http/lib/provider/azure/sanitize-headers.js +0 -23
- package/node_modules/serverless-http/lib/provider/azure/set-cookie.json +0 -1
- package/node_modules/serverless-http/lib/provider/get-provider.js +0 -17
- package/node_modules/serverless-http/lib/request.js +0 -38
- package/node_modules/serverless-http/lib/response.js +0 -135
- package/node_modules/serverless-http/package.json +0 -93
- package/node_modules/serverless-http/serverless-http.d.ts +0 -41
- package/node_modules/serverless-http/serverless-http.js +0 -23
- package/node_modules/swagger-ui-express/LICENSE +0 -22
- package/node_modules/swagger-ui-express/README.md +0 -360
- package/node_modules/swagger-ui-express/index.js +0 -311
- package/node_modules/swagger-ui-express/package.json +0 -58
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* express
|
|
3
|
-
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|
4
|
-
* Copyright(c) 2013 Roman Shtylman
|
|
5
|
-
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
6
|
-
* MIT Licensed
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
'use strict';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Module dependencies.
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
var debug = require('debug')('express:view');
|
|
17
|
-
var path = require('path');
|
|
18
|
-
var fs = require('fs');
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Module variables.
|
|
22
|
-
* @private
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
var dirname = path.dirname;
|
|
26
|
-
var basename = path.basename;
|
|
27
|
-
var extname = path.extname;
|
|
28
|
-
var join = path.join;
|
|
29
|
-
var resolve = path.resolve;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Module exports.
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
module.exports = View;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Initialize a new `View` with the given `name`.
|
|
40
|
-
*
|
|
41
|
-
* Options:
|
|
42
|
-
*
|
|
43
|
-
* - `defaultEngine` the default template engine name
|
|
44
|
-
* - `engines` template engine require() cache
|
|
45
|
-
* - `root` root path for view lookup
|
|
46
|
-
*
|
|
47
|
-
* @param {string} name
|
|
48
|
-
* @param {object} options
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
|
|
52
|
-
function View(name, options) {
|
|
53
|
-
var opts = options || {};
|
|
54
|
-
|
|
55
|
-
this.defaultEngine = opts.defaultEngine;
|
|
56
|
-
this.ext = extname(name);
|
|
57
|
-
this.name = name;
|
|
58
|
-
this.root = opts.root;
|
|
59
|
-
|
|
60
|
-
if (!this.ext && !this.defaultEngine) {
|
|
61
|
-
throw new Error('No default engine was specified and no extension was provided.');
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
var fileName = name;
|
|
65
|
-
|
|
66
|
-
if (!this.ext) {
|
|
67
|
-
// get extension from default engine name
|
|
68
|
-
this.ext = this.defaultEngine[0] !== '.'
|
|
69
|
-
? '.' + this.defaultEngine
|
|
70
|
-
: this.defaultEngine;
|
|
71
|
-
|
|
72
|
-
fileName += this.ext;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if (!opts.engines[this.ext]) {
|
|
76
|
-
// load engine
|
|
77
|
-
var mod = this.ext.slice(1)
|
|
78
|
-
debug('require "%s"', mod)
|
|
79
|
-
|
|
80
|
-
// default engine export
|
|
81
|
-
var fn = require(mod).__express
|
|
82
|
-
|
|
83
|
-
if (typeof fn !== 'function') {
|
|
84
|
-
throw new Error('Module "' + mod + '" does not provide a view engine.')
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
opts.engines[this.ext] = fn
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// store loaded engine
|
|
91
|
-
this.engine = opts.engines[this.ext];
|
|
92
|
-
|
|
93
|
-
// lookup path
|
|
94
|
-
this.path = this.lookup(fileName);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Lookup view by the given `name`
|
|
99
|
-
*
|
|
100
|
-
* @param {string} name
|
|
101
|
-
* @private
|
|
102
|
-
*/
|
|
103
|
-
|
|
104
|
-
View.prototype.lookup = function lookup(name) {
|
|
105
|
-
var path;
|
|
106
|
-
var roots = [].concat(this.root);
|
|
107
|
-
|
|
108
|
-
debug('lookup "%s"', name);
|
|
109
|
-
|
|
110
|
-
for (var i = 0; i < roots.length && !path; i++) {
|
|
111
|
-
var root = roots[i];
|
|
112
|
-
|
|
113
|
-
// resolve the path
|
|
114
|
-
var loc = resolve(root, name);
|
|
115
|
-
var dir = dirname(loc);
|
|
116
|
-
var file = basename(loc);
|
|
117
|
-
|
|
118
|
-
// resolve the file
|
|
119
|
-
path = this.resolve(dir, file);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return path;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Render with the given options.
|
|
127
|
-
*
|
|
128
|
-
* @param {object} options
|
|
129
|
-
* @param {function} callback
|
|
130
|
-
* @private
|
|
131
|
-
*/
|
|
132
|
-
|
|
133
|
-
View.prototype.render = function render(options, callback) {
|
|
134
|
-
debug('render "%s"', this.path);
|
|
135
|
-
this.engine(this.path, options, callback);
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Resolve the file within the given directory.
|
|
140
|
-
*
|
|
141
|
-
* @param {string} dir
|
|
142
|
-
* @param {string} file
|
|
143
|
-
* @private
|
|
144
|
-
*/
|
|
145
|
-
|
|
146
|
-
View.prototype.resolve = function resolve(dir, file) {
|
|
147
|
-
var ext = this.ext;
|
|
148
|
-
|
|
149
|
-
// <path>.<ext>
|
|
150
|
-
var path = join(dir, file);
|
|
151
|
-
var stat = tryStat(path);
|
|
152
|
-
|
|
153
|
-
if (stat && stat.isFile()) {
|
|
154
|
-
return path;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// <path>/index.<ext>
|
|
158
|
-
path = join(dir, basename(file, ext), 'index' + ext);
|
|
159
|
-
stat = tryStat(path);
|
|
160
|
-
|
|
161
|
-
if (stat && stat.isFile()) {
|
|
162
|
-
return path;
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Return a stat, maybe.
|
|
168
|
-
*
|
|
169
|
-
* @param {string} path
|
|
170
|
-
* @return {fs.Stats}
|
|
171
|
-
* @private
|
|
172
|
-
*/
|
|
173
|
-
|
|
174
|
-
function tryStat(path) {
|
|
175
|
-
debug('stat "%s"', path);
|
|
176
|
-
|
|
177
|
-
try {
|
|
178
|
-
return fs.statSync(path);
|
|
179
|
-
} catch (e) {
|
|
180
|
-
return undefined;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "express",
|
|
3
|
-
"description": "Fast, unopinionated, minimalist web framework",
|
|
4
|
-
"version": "4.21.1",
|
|
5
|
-
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
|
6
|
-
"contributors": [
|
|
7
|
-
"Aaron Heckmann <aaron.heckmann+github@gmail.com>",
|
|
8
|
-
"Ciaran Jessup <ciaranj@gmail.com>",
|
|
9
|
-
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
10
|
-
"Guillermo Rauch <rauchg@gmail.com>",
|
|
11
|
-
"Jonathan Ong <me@jongleberry.com>",
|
|
12
|
-
"Roman Shtylman <shtylman+expressjs@gmail.com>",
|
|
13
|
-
"Young Jae Sim <hanul@hanul.me>"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"repository": "expressjs/express",
|
|
17
|
-
"homepage": "http://expressjs.com/",
|
|
18
|
-
"keywords": [
|
|
19
|
-
"express",
|
|
20
|
-
"framework",
|
|
21
|
-
"sinatra",
|
|
22
|
-
"web",
|
|
23
|
-
"http",
|
|
24
|
-
"rest",
|
|
25
|
-
"restful",
|
|
26
|
-
"router",
|
|
27
|
-
"app",
|
|
28
|
-
"api"
|
|
29
|
-
],
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"accepts": "~1.3.8",
|
|
32
|
-
"array-flatten": "1.1.1",
|
|
33
|
-
"body-parser": "1.20.3",
|
|
34
|
-
"content-disposition": "0.5.4",
|
|
35
|
-
"content-type": "~1.0.4",
|
|
36
|
-
"cookie": "0.7.1",
|
|
37
|
-
"cookie-signature": "1.0.6",
|
|
38
|
-
"debug": "2.6.9",
|
|
39
|
-
"depd": "2.0.0",
|
|
40
|
-
"encodeurl": "~2.0.0",
|
|
41
|
-
"escape-html": "~1.0.3",
|
|
42
|
-
"etag": "~1.8.1",
|
|
43
|
-
"finalhandler": "1.3.1",
|
|
44
|
-
"fresh": "0.5.2",
|
|
45
|
-
"http-errors": "2.0.0",
|
|
46
|
-
"merge-descriptors": "1.0.3",
|
|
47
|
-
"methods": "~1.1.2",
|
|
48
|
-
"on-finished": "2.4.1",
|
|
49
|
-
"parseurl": "~1.3.3",
|
|
50
|
-
"path-to-regexp": "0.1.10",
|
|
51
|
-
"proxy-addr": "~2.0.7",
|
|
52
|
-
"qs": "6.13.0",
|
|
53
|
-
"range-parser": "~1.2.1",
|
|
54
|
-
"safe-buffer": "5.2.1",
|
|
55
|
-
"send": "0.19.0",
|
|
56
|
-
"serve-static": "1.16.2",
|
|
57
|
-
"setprototypeof": "1.2.0",
|
|
58
|
-
"statuses": "2.0.1",
|
|
59
|
-
"type-is": "~1.6.18",
|
|
60
|
-
"utils-merge": "1.0.1",
|
|
61
|
-
"vary": "~1.1.2"
|
|
62
|
-
},
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"after": "0.8.2",
|
|
65
|
-
"connect-redis": "3.4.2",
|
|
66
|
-
"cookie-parser": "1.4.6",
|
|
67
|
-
"cookie-session": "2.0.0",
|
|
68
|
-
"ejs": "3.1.9",
|
|
69
|
-
"eslint": "8.47.0",
|
|
70
|
-
"express-session": "1.17.2",
|
|
71
|
-
"hbs": "4.2.0",
|
|
72
|
-
"marked": "0.7.0",
|
|
73
|
-
"method-override": "3.0.0",
|
|
74
|
-
"mocha": "10.2.0",
|
|
75
|
-
"morgan": "1.10.0",
|
|
76
|
-
"nyc": "15.1.0",
|
|
77
|
-
"pbkdf2-password": "1.2.1",
|
|
78
|
-
"supertest": "6.3.0",
|
|
79
|
-
"vhost": "~3.0.2"
|
|
80
|
-
},
|
|
81
|
-
"engines": {
|
|
82
|
-
"node": ">= 0.10.0"
|
|
83
|
-
},
|
|
84
|
-
"files": [
|
|
85
|
-
"LICENSE",
|
|
86
|
-
"History.md",
|
|
87
|
-
"Readme.md",
|
|
88
|
-
"index.js",
|
|
89
|
-
"lib/"
|
|
90
|
-
],
|
|
91
|
-
"scripts": {
|
|
92
|
-
"lint": "eslint .",
|
|
93
|
-
"test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/",
|
|
94
|
-
"test-ci": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test",
|
|
95
|
-
"test-cov": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test",
|
|
96
|
-
"test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": [
|
|
3
|
-
"README.md"
|
|
4
|
-
],
|
|
5
|
-
"imageSize": 100,
|
|
6
|
-
"commit": false,
|
|
7
|
-
"contributors": [
|
|
8
|
-
{
|
|
9
|
-
"login": "bri06",
|
|
10
|
-
"name": "Briam Martinez Escobar",
|
|
11
|
-
"avatar_url": "https://avatars0.githubusercontent.com/u/24435223?v=4",
|
|
12
|
-
"profile": "https://github.com/bri06",
|
|
13
|
-
"contributions": [
|
|
14
|
-
"code"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"login": "kevinccbsg",
|
|
19
|
-
"name": "Kevin Julián Martínez Escobar",
|
|
20
|
-
"avatar_url": "https://avatars2.githubusercontent.com/u/12685053?v=4",
|
|
21
|
-
"profile": "https://twitter.com/kjmesc",
|
|
22
|
-
"contributions": [
|
|
23
|
-
"code"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"login": "hoonga",
|
|
28
|
-
"name": "Heung-yeon Oh",
|
|
29
|
-
"avatar_url": "https://avatars3.githubusercontent.com/u/10708927?v=4",
|
|
30
|
-
"profile": "https://github.com/hoonga",
|
|
31
|
-
"contributions": [
|
|
32
|
-
"code"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"login": "LonelyPrincess",
|
|
37
|
-
"name": "Sara Hernández",
|
|
38
|
-
"avatar_url": "https://avatars1.githubusercontent.com/u/17673317?v=4",
|
|
39
|
-
"profile": "https://github.com/LonelyPrincess",
|
|
40
|
-
"contributions": [
|
|
41
|
-
"code"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"login": "servatj",
|
|
46
|
-
"name": "Josep Servat",
|
|
47
|
-
"avatar_url": "https://avatars0.githubusercontent.com/u/3521485?v=4",
|
|
48
|
-
"profile": "http://servatj.me",
|
|
49
|
-
"contributions": [
|
|
50
|
-
"code"
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"login": "thuydx55",
|
|
55
|
-
"name": "Nick Dong",
|
|
56
|
-
"avatar_url": "https://avatars2.githubusercontent.com/u/1469984?v=4",
|
|
57
|
-
"profile": "https://github.com/thuydx55",
|
|
58
|
-
"contributions": [
|
|
59
|
-
"code"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"login": "Stosiu",
|
|
64
|
-
"name": "Aleksander Stós",
|
|
65
|
-
"avatar_url": "https://avatars1.githubusercontent.com/u/10252063?v=4",
|
|
66
|
-
"profile": "https://github.com/Stosiu",
|
|
67
|
-
"contributions": [
|
|
68
|
-
"code"
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"login": "kdankert",
|
|
73
|
-
"name": "Kjell Dankert",
|
|
74
|
-
"avatar_url": "https://avatars0.githubusercontent.com/u/46489624?v=4",
|
|
75
|
-
"profile": "https://github.com/kdankert",
|
|
76
|
-
"contributions": [
|
|
77
|
-
"code"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"login": "juliendu11",
|
|
82
|
-
"name": "juliendu11",
|
|
83
|
-
"avatar_url": "https://avatars0.githubusercontent.com/u/18739442?v=4",
|
|
84
|
-
"profile": "https://github.com/juliendu11",
|
|
85
|
-
"contributions": [
|
|
86
|
-
"code"
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"login": "meabed",
|
|
91
|
-
"name": "Mohamed Meabed",
|
|
92
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/45731?v=4",
|
|
93
|
-
"profile": "https://me.io",
|
|
94
|
-
"contributions": [
|
|
95
|
-
"code"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"login": "ofarukaydin",
|
|
100
|
-
"name": "Faruk Aydın",
|
|
101
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/32788963?v=4",
|
|
102
|
-
"profile": "https://github.com/ofarukaydin",
|
|
103
|
-
"contributions": [
|
|
104
|
-
"code"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"login": "dahlmo",
|
|
109
|
-
"name": "Dahlmo",
|
|
110
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/23076026?v=4",
|
|
111
|
-
"profile": "https://github.com/dahlmo",
|
|
112
|
-
"contributions": [
|
|
113
|
-
"code"
|
|
114
|
-
]
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"login": "gandazgul",
|
|
118
|
-
"name": "Carlos Ravelo",
|
|
119
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/108850?v=4",
|
|
120
|
-
"profile": "https://github.com/gandazgul",
|
|
121
|
-
"contributions": [
|
|
122
|
-
"code"
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"login": "paulish",
|
|
127
|
-
"name": "Paul Ishenin",
|
|
128
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/1762032?v=4",
|
|
129
|
-
"profile": "https://github.com/paulish",
|
|
130
|
-
"contributions": [
|
|
131
|
-
"code"
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"login": "sbingner",
|
|
136
|
-
"name": "Sam Bingner",
|
|
137
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/354533?v=4",
|
|
138
|
-
"profile": "https://github.com/sbingner",
|
|
139
|
-
"contributions": [
|
|
140
|
-
"code"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"login": "alexstaroselsky",
|
|
145
|
-
"name": "Alexander Staroselsky",
|
|
146
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/34102969?v=4",
|
|
147
|
-
"profile": "https://stackoverflow.com/users/5059657/alexander-staroselsky",
|
|
148
|
-
"contributions": [
|
|
149
|
-
"code"
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"login": "joelabrahamsson",
|
|
154
|
-
"name": "Joel Abrahamsson",
|
|
155
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/218986?v=4",
|
|
156
|
-
"profile": "http://joelabrahamsson.com",
|
|
157
|
-
"contributions": [
|
|
158
|
-
"code"
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"contributorsPerLine": 7,
|
|
163
|
-
"projectName": "express-jsdoc-swagger",
|
|
164
|
-
"projectOwner": "BRIKEV",
|
|
165
|
-
"repoType": "github",
|
|
166
|
-
"repoHost": "https://github.com",
|
|
167
|
-
"skipCi": true
|
|
168
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"commonjs": true,
|
|
4
|
-
"es6": true,
|
|
5
|
-
"node": true,
|
|
6
|
-
"jest/globals": true
|
|
7
|
-
},
|
|
8
|
-
"extends": [
|
|
9
|
-
"airbnb-base"
|
|
10
|
-
],
|
|
11
|
-
"plugins": ["jest"],
|
|
12
|
-
"globals": {
|
|
13
|
-
"Atomics": "readonly",
|
|
14
|
-
"SharedArrayBuffer": "readonly"
|
|
15
|
-
},
|
|
16
|
-
"parserOptions": {
|
|
17
|
-
"ecmaVersion": 11
|
|
18
|
-
},
|
|
19
|
-
"rules": {
|
|
20
|
-
"arrow-parens": [
|
|
21
|
-
"error",
|
|
22
|
-
"as-needed",
|
|
23
|
-
{
|
|
24
|
-
"requireForBlockBody": false
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"jest/no-disabled-tests": "warn",
|
|
28
|
-
"jest/no-focused-tests": "error",
|
|
29
|
-
"jest/no-identical-title": "error",
|
|
30
|
-
"jest/prefer-to-have-length": "warn",
|
|
31
|
-
"jest/valid-expect": "error",
|
|
32
|
-
"max-len": ["error", {
|
|
33
|
-
"ignoreComments": true,
|
|
34
|
-
"code": 130
|
|
35
|
-
}]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
-
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
|
9
|
-
level of experience, education, socio-economic status, nationality, personal
|
|
10
|
-
appearance, race, religion, or sexual identity and orientation.
|
|
11
|
-
|
|
12
|
-
## Our Standards
|
|
13
|
-
|
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
|
15
|
-
include:
|
|
16
|
-
|
|
17
|
-
* Using welcoming and inclusive language
|
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
|
19
|
-
* Gracefully accepting constructive criticism
|
|
20
|
-
* Focusing on what is best for the community
|
|
21
|
-
* Showing empathy towards other community members
|
|
22
|
-
|
|
23
|
-
Examples of unacceptable behavior by participants include:
|
|
24
|
-
|
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
-
advances
|
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
-
* Public or private harassment
|
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
|
30
|
-
address, without explicit permission
|
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
-
professional setting
|
|
33
|
-
|
|
34
|
-
## Our Responsibilities
|
|
35
|
-
|
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
-
response to any instances of unacceptable behavior.
|
|
39
|
-
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
-
threatening, offensive, or harmful.
|
|
45
|
-
|
|
46
|
-
## Scope
|
|
47
|
-
|
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
-
when an individual is representing the project or its community. Examples of
|
|
50
|
-
representing a project or community include using an official project e-mail
|
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
|
53
|
-
further defined and clarified by project maintainers.
|
|
54
|
-
|
|
55
|
-
## Enforcement
|
|
56
|
-
|
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
-
reported by contacting the project team at hello.brikev@gmail.com. All
|
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
|
63
|
-
|
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
-
members of the project's leadership.
|
|
67
|
-
|
|
68
|
-
## Attribution
|
|
69
|
-
|
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
|
72
|
-
|
|
73
|
-
[homepage]: https://www.contributor-covenant.org
|
|
74
|
-
|
|
75
|
-
For answers to common questions about this code of conduct, see
|
|
76
|
-
https://www.contributor-covenant.org/faq
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Contributing to express-jsdoc-swagger
|
|
2
|
-
|
|
3
|
-
Thanks for your interest in express-jsdoc-swagger. Our goal is to provide an easy Swagger OpenAPI 3.x generator using simple JSDoc comments.
|
|
4
|
-
|
|
5
|
-
## Contributions
|
|
6
|
-
|
|
7
|
-
express-jsdoc-swagger welcomes contributions from everyone.
|
|
8
|
-
|
|
9
|
-
Contributions to express-jsdoc-swagger should be made in the form of GitHub pull requests. Each pull request will
|
|
10
|
-
be reviewed by a core contributor ([@bri06](https://github.com/bri06) or [@kevinccbsg](https://github.com/kevinccbsg)) and either landed in the
|
|
11
|
-
main tree or given feedback for changes that would be required.
|
|
12
|
-
|
|
13
|
-
## Getting Started
|
|
14
|
-
|
|
15
|
-
express-jsdoc-swagger's [open issues are here](https://github.com/BRIKEV/express-jsdoc-swagger/issues).
|
|
16
|
-
|
|
17
|
-
express-jsdoc-swagger's [docs are here](https://brikev.github.io/express-jsdoc-swagger-docs/#/).
|
|
18
|
-
|
|
19
|
-
You can clone this repository and run this command to start using developing this package.
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
npm install
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
If you want to test it you can add a new test in [this folder](https://github.com/BRIKEV/express-jsdoc-swagger/tree/master/test) or you can create a new example [here](https://github.com/BRIKEV/express-jsdoc-swagger/tree/master/examples).
|
|
26
|
-
|
|
27
|
-
To execute package's tests you have run this command:
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
npm test
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Please also ensure linting is correct while you're developing by running this command:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
npm run lint
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Pull Request Checklist
|
|
40
|
-
|
|
41
|
-
- [Check validations](https://github.com/BRIKEV/express-jsdoc-swagger/actions?query=workflow%3ABuild) should pass. This one includes linting and testing.
|
|
42
|
-
|
|
43
|
-
- Commits should be as small as possible, while ensuring that each commit is
|
|
44
|
-
correct independently (i.e., each commit should compile and pass tests).
|
|
45
|
-
|
|
46
|
-
- If your patch is not getting reviewed or you need a specific person to review
|
|
47
|
-
it, you can @-reply a reviewer asking for a review in the pull request or a
|
|
48
|
-
comment.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
## Conduct
|
|
52
|
-
|
|
53
|
-
We follow the [express-jsdoc-swagger Code of Conduct](https://github.com/BRIKEV/express-jsdoc-swagger/blob/master/CODE_OF_CONDUCT.md).
|
|
54
|
-
|
|
55
|
-
All code in this repository is under [MIT License](https://github.com/BRIKEV/express-jsdoc-swagger/blob/master/LICENSE.md).
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 BRIKEV
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|