Skip to content

Commit 63a8456

Browse files
authored
Merge branch 'alpha' into upgrade-lru
2 parents ea7bf51 + 3030c76 commit 63a8456

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

changelogs/CHANGELOG_alpha.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [6.1.0-alpha.13](https://github.com/parse-community/parse-server/compare/6.1.0-alpha.12...6.1.0-alpha.13) (2023-05-25)
2+
3+
4+
### Bug Fixes
5+
6+
* Rate limit feature is incompatible with Node 14 ([#8578](https://github.com/parse-community/parse-server/issues/8578)) ([f911f2c](https://github.com/parse-community/parse-server/commit/f911f2cd3a8c45cd326272dcd681532764a3761e))
7+
18
# [6.1.0-alpha.12](https://github.com/parse-community/parse-server/compare/6.1.0-alpha.11...6.1.0-alpha.12) (2023-05-19)
29

310

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-server",
3-
"version": "6.1.0-alpha.12",
3+
"version": "6.1.0-alpha.13",
44
"description": "An express module providing a Parse-compatible API server",
55
"main": "lib/index.js",
66
"repository": {

src/middlewares.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export const addRateLimit = (route, config, cloud) => {
512512
},
513513
});
514514
}
515-
let transformPath = route.requestPath.replaceAll('/*', '/(.*)');
515+
let transformPath = route.requestPath.split('/*').join('/(.*)');
516516
if (transformPath === '*') {
517517
transformPath = '(.*)';
518518
}

0 commit comments

Comments
 (0)