@feathersjs/adapter-tests 5.0.0-pre.1 → 5.0.0-pre.15
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 +158 -4
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/methods.js +131 -140
- package/lib/methods.js.map +1 -1
- package/lib/syntax.js +125 -87
- package/lib/syntax.js.map +1 -1
- package/package.json +12 -10
- package/src/methods.ts +18 -18
- package/src/syntax.ts +54 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,18 +3,172 @@
|
|
|
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.
|
|
6
|
+
# [5.0.0-pre.15](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.14...v5.0.0-pre.15) (2021-11-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **typescript:** Overall typing improvements ([#2478](https://github.com/feathersjs/feathers/issues/2478)) ([b8eb804](https://github.com/feathersjs/feathers/commit/b8eb804158556d9651a8607e3c3fda15e0bfd110))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [5.0.0-pre.14](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.13...v5.0.0-pre.14) (2021-10-13)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [5.0.0-pre.13](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.12...v5.0.0-pre.13) (2021-10-13)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [5.0.0-pre.12](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.11...v5.0.0-pre.12) (2021-10-12)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [5.0.0-pre.11](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.10...v5.0.0-pre.11) (2021-10-06)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# [5.0.0-pre.10](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.9...v5.0.0-pre.10) (2021-09-19)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# [5.0.0-pre.9](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.8...v5.0.0-pre.9) (2021-08-09)
|
|
58
|
+
|
|
59
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# [5.0.0-pre.8](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.7...v5.0.0-pre.8) (2021-08-09)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# [5.0.0-pre.7](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.6...v5.0.0-pre.7) (2021-08-09)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# [5.0.0-pre.6](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.5...v5.0.0-pre.6) (2021-08-08)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# [5.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.4...v5.0.0-pre.5) (2021-06-23)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* Update database adapter common repository urls ([#2380](https://github.com/feathersjs/feathers/issues/2380)) ([3f4db68](https://github.com/feathersjs/feathers/commit/3f4db68d6700c7d9023ecd17d0d39893f75a19fd))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Features
|
|
98
|
+
|
|
99
|
+
* **adapter-commons:** Add support for params.adapter option and move memory adapter to @feathersjs/memory ([#2367](https://github.com/feathersjs/feathers/issues/2367)) ([a43e7da](https://github.com/feathersjs/feathers/commit/a43e7da22b6b981a96d1321736ea9a0cb924fb4f))
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
# [5.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.3...v5.0.0-pre.4) (2021-05-13)
|
|
106
|
+
|
|
107
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
# [5.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.2...v5.0.0-pre.3) (2021-04-21)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Bug Fixes
|
|
117
|
+
|
|
118
|
+
* **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# [5.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.1...v5.0.0-pre.2) (2021-04-06)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
# [5.0.0-beta.1](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-04-03)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
* **adapter-tests:** Add test that verified paginated total ([#2273](https://github.com/feathersjs/feathers/issues/2273)) ([879bd6b](https://github.com/feathersjs/feathers/commit/879bd6b24f42e04eeeeba110ddddda3e1e1dea34))
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
# [5.0.0-beta.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.1...v5.0.0-beta.0) (2021-03-28)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Features
|
|
147
|
+
|
|
148
|
+
* **core:** Remove Uberproto ([#2178](https://github.com/feathersjs/feathers/issues/2178)) ([ddf8821](https://github.com/feathersjs/feathers/commit/ddf8821f53317e6a378657f7d66acb03a037ee47))
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### BREAKING CHANGES
|
|
152
|
+
|
|
153
|
+
* **core:** Services no longer extend Uberproto objects and
|
|
154
|
+
`service.mixin()` is no longer available.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
# [5.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.5.11...v5.0.0-pre.1) (2020-12-17)
|
|
7
161
|
|
|
8
162
|
|
|
9
163
|
### Features
|
|
10
164
|
|
|
11
|
-
* **memory:** Move feathers-memory into @feathersjs/
|
|
165
|
+
* **memory:** Move feathers-memory into @feathersjs/memory ([#2153](https://github.com/feathersjs/feathers/issues/2153)) ([dd61fe3](https://github.com/feathersjs/feathers/commit/dd61fe371fb0502f78b8ccbe1f45a030e31ecff6))
|
|
12
166
|
|
|
13
167
|
|
|
14
168
|
|
|
15
169
|
|
|
16
170
|
|
|
17
|
-
## [4.5.11](https://github.com/feathersjs/
|
|
171
|
+
## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
|
|
18
172
|
|
|
19
173
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
20
174
|
|
|
@@ -22,7 +176,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
22
176
|
|
|
23
177
|
|
|
24
178
|
|
|
25
|
-
## [4.5.4](https://github.com/feathersjs/
|
|
179
|
+
## [4.5.4](https://github.com/feathersjs/feathers/compare/v4.5.3...v4.5.4) (2020-09-27)
|
|
26
180
|
|
|
27
181
|
**Note:** Version bump only for package @feathersjs/adapter-tests
|
|
28
182
|
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -16,6 +16,6 @@ This is a repository that contains the test suite for the common database adapte
|
|
|
16
16
|
|
|
17
17
|
## License
|
|
18
18
|
|
|
19
|
-
Copyright (c)
|
|
19
|
+
Copyright (c) 2021 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
|
|
20
20
|
|
|
21
21
|
Licensed under the [MIT license](LICENSE).
|
package/lib/index.js
CHANGED
|
@@ -35,9 +35,9 @@ const adapterTests = (testNames) => {
|
|
|
35
35
|
console.log(JSON.stringify(skippedTests, null, ' '));
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
basic_1.default(test, app, errors, serviceName, idProp);
|
|
39
|
-
methods_1.default(test, app, errors, serviceName, idProp);
|
|
40
|
-
syntax_1.default(test, app, errors, serviceName, idProp);
|
|
38
|
+
(0, basic_1.default)(test, app, errors, serviceName, idProp);
|
|
39
|
+
(0, methods_1.default)(test, app, errors, serviceName, idProp);
|
|
40
|
+
(0, syntax_1.default)(test, app, errors, serviceName, idProp);
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
};
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,oDAAiC;AACjC,wDAAoC;AACpC,sDAAmC;AAEnC,MAAM,YAAY,GAAG,CAAC,SAAmB,EAAE,EAAE;IAC3C,OAAO,CAAC,GAAQ,EAAE,MAAW,EAAE,WAAgB,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE;QAChE,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QAED,MAAM,YAAY,GAAa,EAAE,CAAC;QAClC,MAAM,QAAQ,GAAa,EAAE,CAAC;QAE9B,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,MAAW,EAAE,EAAE;YACzC,MAAM,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvC,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YAEhC,IAAI,IAAI,EAAE;gBACR,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACzB;YAED,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAEpB,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACpB,CAAC,CAAC;QAEF,QAAQ,CAAC,sBAAsB,WAAW,mBAAmB,MAAM,eAAe,EAAE,GAAG,EAAE;YACvF,KAAK,CAAC,GAAG,EAAE;gBACT,OAAO,CAAC,GAAG,CAA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