@feathersjs/koa 5.0.0-pre.23 → 5.0.0-pre.24
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 +12 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +3 -4
- package/lib/index.js.map +1 -1
- package/package.json +10 -10
- package/src/index.ts +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **cli:** Add support for JavaScript to the new CLI ([#2668](https://github.com/feathersjs/feathers/issues/2668)) ([ebac587](https://github.com/feathersjs/feathers/commit/ebac587f7d00dc7607c3f546352d79f79b89a5d4))
|
|
12
|
+
* **cli:** Initial Feathers v5 CLI and Pinion generator ([#2578](https://github.com/feathersjs/feathers/issues/2578)) ([7f59ae7](https://github.com/feathersjs/feathers/commit/7f59ae7f1471895ba8a82aa4702f1a23f71b7682))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [5.0.0-pre.23](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.22...v5.0.0-pre.23) (2022-06-06)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @feathersjs/koa
|
package/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Koa from 'koa';
|
|
2
2
|
import { Application as FeathersApplication } from '@feathersjs/feathers';
|
|
3
|
+
import bodyParser from 'koa-bodyparser';
|
|
3
4
|
import { Application } from './declarations';
|
|
4
|
-
export {
|
|
5
|
-
export { default as bodyParser } from 'koa-bodyparser';
|
|
5
|
+
export { Koa, bodyParser };
|
|
6
6
|
export * from './authentication';
|
|
7
7
|
export * from './declarations';
|
|
8
8
|
export * from './handlers';
|
package/lib/index.js
CHANGED
|
@@ -19,13 +19,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.koa = exports.bodyParser = exports.Koa = void 0;
|
|
21
21
|
const koa_1 = __importDefault(require("koa"));
|
|
22
|
+
exports.Koa = koa_1.default;
|
|
22
23
|
const koa_qs_1 = __importDefault(require("koa-qs"));
|
|
23
24
|
const transport_commons_1 = require("@feathersjs/transport-commons");
|
|
24
25
|
const commons_1 = require("@feathersjs/commons");
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
var koa_bodyparser_1 = require("koa-bodyparser");
|
|
28
|
-
Object.defineProperty(exports, "bodyParser", { enumerable: true, get: function () { return __importDefault(koa_bodyparser_1).default; } });
|
|
26
|
+
const koa_bodyparser_1 = __importDefault(require("koa-bodyparser"));
|
|
27
|
+
exports.bodyParser = koa_bodyparser_1.default;
|
|
29
28
|
__exportStar(require("./authentication"), exports);
|
|
30
29
|
__exportStar(require("./declarations"), exports);
|
|
31
30
|
__exportStar(require("./handlers"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,8CAAqB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,8CAAqB;AAQZ,cARF,aAAG,CAQE;AAPZ,oDAA0B;AAE1B,qEAAuD;AACvD,iDAAiD;AACjD,oEAAuC;AAGzB,qBAHP,wBAAU,CAGO;AACxB,mDAAgC;AAChC,iDAA8B;AAC9B,6CAA0B;AAC1B,yCAAsB;AAEtB,MAAM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AG,EAAE,GAAG,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;QACpD,OAAO,IAAI,EAAE,CAAA;IACf,CAAC,CAAC,CAAA;IAEF,OAAO,GAAG,CAAA;AACZ,CAAC;AAzED,kBAyEC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathersjs/koa",
|
|
3
3
|
"description": "Feathers KoaJS framework bindings and REST provider",
|
|
4
|
-
"version": "5.0.0-pre.
|
|
4
|
+
"version": "5.0.0-pre.24",
|
|
5
5
|
"homepage": "https://feathersjs.com",
|
|
6
6
|
"main": "lib/",
|
|
7
7
|
"types": "lib/",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@feathersjs/authentication": "^5.0.0-pre.
|
|
52
|
-
"@feathersjs/commons": "^5.0.0-pre.
|
|
53
|
-
"@feathersjs/errors": "^5.0.0-pre.
|
|
54
|
-
"@feathersjs/transport-commons": "^5.0.0-pre.
|
|
51
|
+
"@feathersjs/authentication": "^5.0.0-pre.24",
|
|
52
|
+
"@feathersjs/commons": "^5.0.0-pre.24",
|
|
53
|
+
"@feathersjs/errors": "^5.0.0-pre.24",
|
|
54
|
+
"@feathersjs/transport-commons": "^5.0.0-pre.24",
|
|
55
55
|
"@types/koa": "^2.13.4",
|
|
56
56
|
"@types/koa-bodyparser": "^4.3.7",
|
|
57
57
|
"@types/koa-qs": "^2.0.0",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"koa-qs": "^3.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@feathersjs/authentication-local": "^5.0.0-pre.
|
|
65
|
-
"@feathersjs/feathers": "^5.0.0-pre.
|
|
66
|
-
"@feathersjs/memory": "^5.0.0-pre.
|
|
67
|
-
"@feathersjs/tests": "^5.0.0-pre.
|
|
64
|
+
"@feathersjs/authentication-local": "^5.0.0-pre.24",
|
|
65
|
+
"@feathersjs/feathers": "^5.0.0-pre.24",
|
|
66
|
+
"@feathersjs/memory": "^5.0.0-pre.24",
|
|
67
|
+
"@feathersjs/tests": "^5.0.0-pre.24",
|
|
68
68
|
"@types/koa-compose": "^3.2.5",
|
|
69
69
|
"@types/mocha": "^9.1.1",
|
|
70
70
|
"@types/node": "^17.0.40",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"ts-node": "^10.8.1",
|
|
75
75
|
"typescript": "^4.7.3"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "72779fa2938f43d7b345b6861ff0035481a07de3"
|
|
78
78
|
}
|
package/src/index.ts
CHANGED
|
@@ -3,12 +3,10 @@ import koaQs from 'koa-qs'
|
|
|
3
3
|
import { Application as FeathersApplication } from '@feathersjs/feathers'
|
|
4
4
|
import { routing } from '@feathersjs/transport-commons'
|
|
5
5
|
import { createDebug } from '@feathersjs/commons'
|
|
6
|
-
|
|
6
|
+
import bodyParser from 'koa-bodyparser'
|
|
7
7
|
import { Application } from './declarations'
|
|
8
8
|
|
|
9
|
-
export {
|
|
10
|
-
export { default as bodyParser } from 'koa-bodyparser'
|
|
11
|
-
|
|
9
|
+
export { Koa, bodyParser }
|
|
12
10
|
export * from './authentication'
|
|
13
11
|
export * from './declarations'
|
|
14
12
|
export * from './handlers'
|