@visulima/api-platform 2.0.32 → 2.0.34

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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## @visulima/api-platform [2.0.34](https://github.com/visulima/visulima/compare/@visulima/api-platform@2.0.33...@visulima/api-platform@2.0.34) (2024-03-16)
2
+
3
+
4
+
5
+ ### Dependencies
6
+
7
+ * **@visulima/connect:** upgraded to 3.0.3
8
+ * **@visulima/jsdoc-open-api:** upgraded to 2.0.26
9
+ * **@visulima/crud:** upgraded to 2.0.17
10
+ * **@visulima/fs:** upgraded to 1.7.1
11
+
12
+ ## @visulima/api-platform [2.0.33](https://github.com/visulima/visulima/compare/@visulima/api-platform@2.0.32...@visulima/api-platform@2.0.33) (2024-03-16)
13
+
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * **@visulima/jsdoc-open-api:** upgraded to 2.0.25
19
+ * **@visulima/fs:** upgraded to 1.7.0
20
+
1
21
  ## @visulima/api-platform [2.0.32](https://github.com/visulima/visulima/compare/@visulima/api-platform@2.0.31...@visulima/api-platform@2.0.32) (2024-03-14)
2
22
 
3
23
 
@@ -15,4 +15,4 @@ var ie=(e,r)=>{if(r.length===0)throw new Error("must include at least one key to
15
15
 
16
16
  export { Er as a };
17
17
  //# sourceMappingURL=out.js.map
18
- //# sourceMappingURL=chunk-A36ZWYQB.mjs.map
18
+ //# sourceMappingURL=chunk-762U2SPP.mjs.map
@@ -23,4 +23,4 @@ var ne=(e,r)=>{if(r.length===0)throw new Error("must include at least one key to
23
23
 
24
24
  exports.a = Nr;
25
25
  //# sourceMappingURL=out.js.map
26
- //# sourceMappingURL=chunk-OFZHNX7Q.js.map
26
+ //# sourceMappingURL=chunk-7VSMA5MB.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkOFZHNX7Q_js = require('../../../chunk-OFZHNX7Q.js');
3
+ var chunk7VSMA5MB_js = require('../../../chunk-7VSMA5MB.js');
4
4
  require('../../../chunk-3XT5P2HO.js');
5
5
  var process = require('process');
6
6
 
7
- var i=(o,t="list",r="List all available API routes; Supported frameworks are next, express, koa, hapi and fastify")=>{o.command(t).description(r).option("--framework <framework>","Framework to use, choose from next, express, koa, hapi and fastify").option("-p, --path [path]","...").option("--group [type]","Groups routes. Supported: path, tag").option("--include-path [path]","Includes only routes which contain a given path element. (comma-separated values)",[]).option("--exclude-path [path]","Excludes routes which contain a given path element. (comma-separated values)",[]).option("-v, --verbose","Verbose output.",!1).action(async e=>{try{await chunkOFZHNX7Q_js.a(e.framework,e.path,{excludePaths:e.excludePaths??[],group:e.group,includePaths:e.includePath??[],verbose:e.verbose});}catch(s){console.log(),console.error(s),process.exit(1);}});},m=i;
7
+ var i=(o,t="list",r="List all available API routes; Supported frameworks are next, express, koa, hapi and fastify")=>{o.command(t).description(r).option("--framework <framework>","Framework to use, choose from next, express, koa, hapi and fastify").option("-p, --path [path]","...").option("--group [type]","Groups routes. Supported: path, tag").option("--include-path [path]","Includes only routes which contain a given path element. (comma-separated values)",[]).option("--exclude-path [path]","Excludes routes which contain a given path element. (comma-separated values)",[]).option("-v, --verbose","Verbose output.",!1).action(async e=>{try{await chunk7VSMA5MB_js.a(e.framework,e.path,{excludePaths:e.excludePaths??[],group:e.group,includePaths:e.includePath??[],verbose:e.verbose});}catch(s){console.log(),console.error(s),process.exit(1);}});},m=i;
8
8
 
9
9
  exports.listCommand = m;
10
10
  //# sourceMappingURL=out.js.map
@@ -1,4 +1,4 @@
1
- import { a } from '../../../chunk-A36ZWYQB.mjs';
1
+ import { a } from '../../../chunk-762U2SPP.mjs';
2
2
  import '../../../chunk-HTAA47WA.mjs';
3
3
  import { exit } from 'node:process';
4
4
 
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkOFZHNX7Q_js = require('../../chunk-OFZHNX7Q.js');
3
+ var chunk7VSMA5MB_js = require('../../chunk-7VSMA5MB.js');
4
4
  require('../../chunk-3XT5P2HO.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, 'listCommand', {
9
9
  enumerable: true,
10
- get: function () { return chunkOFZHNX7Q_js.a; }
10
+ get: function () { return chunk7VSMA5MB_js.a; }
11
11
  });
12
12
  //# sourceMappingURL=out.js.map
13
13
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { a as listCommand } from '../../chunk-A36ZWYQB.mjs';
1
+ export { a as listCommand } from '../../chunk-762U2SPP.mjs';
2
2
  import '../../chunk-HTAA47WA.mjs';
3
3
  //# sourceMappingURL=out.js.map
4
4
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/api-platform",
3
- "version": "2.0.32",
3
+ "version": "2.0.34",
4
4
  "description": "Visulima API platform is a set of tools to build and consume web APIs",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -141,8 +141,8 @@
141
141
  "test:watch": "vitest"
142
142
  },
143
143
  "dependencies": {
144
- "@visulima/connect": "3.0.2",
145
- "@visulima/jsdoc-open-api": "2.0.24",
144
+ "@visulima/connect": "3.0.3",
145
+ "@visulima/jsdoc-open-api": "2.0.26",
146
146
  "accepts": "^1.3.8",
147
147
  "debug": "^4.3.4",
148
148
  "http-errors": "^2.0.0",
@@ -160,7 +160,7 @@
160
160
  "@anolilab/semantic-release-preset": "^8.0.3",
161
161
  "@arthurgeron/eslint-plugin-react-usememo": "^2.3.1",
162
162
  "@babel/core": "^7.24.0",
163
- "@hapi/hapi": "^21.3.3",
163
+ "@hapi/hapi": "^21.3.6",
164
164
  "@koa/router": "^12.0.1",
165
165
  "@secretlint/secretlint-rule-preset-recommend": "^8.1.2",
166
166
  "@testing-library/react": "^14.2.1",
@@ -177,14 +177,14 @@
177
177
  "@types/lodash.merge": "^4.6.9",
178
178
  "@types/node": "18.18.14",
179
179
  "@types/qs": "^6.9.12",
180
- "@types/react": "^18.2.64",
181
- "@types/react-dom": "^18.2.21",
180
+ "@types/react": "^18.2.66",
181
+ "@types/react-dom": "^18.2.22",
182
182
  "@types/swagger-ui-react": "^4.18.3",
183
183
  "@types/webpack": "^5.28.5",
184
- "@visulima/crud": "2.0.16",
185
- "@visulima/fs": "1.6.0",
186
- "@vitest/coverage-v8": "^1.3.1",
187
- "@vitest/ui": "^1.3.1",
184
+ "@visulima/crud": "2.0.17",
185
+ "@visulima/fs": "1.7.1",
186
+ "@vitest/coverage-v8": "^1.4.0",
187
+ "@vitest/ui": "^1.4.0",
188
188
  "chalk": "5.3.0",
189
189
  "commander": "^12.0.0",
190
190
  "core-js": "^3.36.0",
@@ -196,17 +196,17 @@
196
196
  "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
197
197
  "eslint-plugin-jsx-a11y": "^6.8.0",
198
198
  "eslint-plugin-mdx": "^3.1.5",
199
- "eslint-plugin-react": "7.34.0",
199
+ "eslint-plugin-react": "7.34.1",
200
200
  "eslint-plugin-react-hooks": "4.6.0",
201
201
  "eslint-plugin-ssr-friendly": "^1.3.0",
202
202
  "eslint-plugin-testing-library": "^6.2.0",
203
203
  "eslint-plugin-validate-jsx-nesting": "^0.1.1",
204
- "eslint-plugin-vitest": "^0.3.25",
205
- "eslint-plugin-vitest-globals": "^1.4.0",
204
+ "eslint-plugin-vitest": "^0.3.26",
205
+ "eslint-plugin-vitest-globals": "^1.5.0",
206
206
  "eslint-plugin-zod": "^1.4.0",
207
207
  "express": "^4.18.3",
208
208
  "fastify": "^4.26.2",
209
- "koa": "^2.15.0",
209
+ "koa": "^2.15.1",
210
210
  "mobx": "^6.12.0",
211
211
  "next": "^13.5.6",
212
212
  "next-test-api-route-handler": "^4.0.5",
@@ -219,7 +219,7 @@
219
219
  "redoc": "^2.1.3",
220
220
  "rimraf": "^5.0.5",
221
221
  "secretlint": "8.1.2",
222
- "semantic-release": "^23.0.2",
222
+ "semantic-release": "^23.0.4",
223
223
  "sort-package-json": "^2.8.0",
224
224
  "styled-components": "^6.1.8",
225
225
  "swagger-ui-dist": "^4.19.1",
@@ -227,7 +227,7 @@
227
227
  "tsup": "^8.0.2",
228
228
  "type-fest": "^4.12.0",
229
229
  "typescript": "^5.4.2",
230
- "vitest": "^1.3.1",
230
+ "vitest": "^1.4.0",
231
231
  "webpack": "^5.90.3",
232
232
  "zod": "^3.22.4"
233
233
  },
@@ -237,16 +237,16 @@
237
237
  "zod": "^3.22.4"
238
238
  },
239
239
  "optionalDependencies": {
240
- "@hapi/hapi": "^21.3.3",
240
+ "@hapi/hapi": "^21.3.6",
241
241
  "@koa/router": "^12.0.1",
242
- "@visulima/crud": "2.0.16",
242
+ "@visulima/crud": "2.0.17",
243
243
  "@visulima/readdir": "2.0.12",
244
244
  "chalk": "5.3.0",
245
245
  "commander": "^12.0.0",
246
246
  "cors": "^2.8.5",
247
247
  "express": "^4.18.3",
248
248
  "fastify": "^4.26.2",
249
- "koa": "^2.15.0",
249
+ "koa": "^2.15.1",
250
250
  "next": "^13.5.6",
251
251
  "rate-limiter-flexible": "^5.0.0",
252
252
  "redoc": "^2.1.3",