budibase/packages/backend-core
Hong Phuc Nguyen 6825b2e3fc Doing sanitizeKey when doing deleteFile(s) (#9209)
* Doing sanitizeKey when doing deleteFile(s)

Doing sanitizeKey when doing deleteFile(s). 
In case of backup file name in backups bucket backup-2023-01-03T185512.686Z.tar.gz but in global-db store backup filename is backup-2023-01-03T18:55:12.686Z.tar.gz
sanitizeKey on deleteFile(s) method will prevent all other case related to this bug

* use .promise() instead callback for workaround aws-sdk bug
2023-01-05 08:54:10 +00:00
..
__mocks__ File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
src Doing sanitizeKey when doing deleteFile(s) (#9209) 2023-01-05 08:54:10 +00:00
tests File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
.gitignore Merge develop 2022-09-28 08:56:45 +01:00
LICENSE
README.md
jest.config.ts Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-15 16:45:25 +00:00
package.json v2.2.10-alpha.12 2022-12-23 15:42:40 +00:00
plugins.ts Fix for budibase plugin skeleton, which utilises the old import style. 2022-12-12 12:31:32 +00:00
tsconfig.build.json Disabling js interop in Typescript build of backend-core and worker, fixing build issues. 2022-11-26 14:46:01 +00:00
tsconfig.json File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
yarn.lock Bump jsonwebtoken from 8.5.1 to 9.0.0 in /packages/backend-core 2022-12-22 16:37:01 +00:00

README.md

Budibase Core backend library

This library contains core functionality, like auth and security features which are shared between backend services.

Note about top level JS files

For the purposes of being able to do say require("@budibase/backend-core/permissions") we need to specify the exports at the top-level of the module.

For these files they should be limited to a single require of the file that should be exported and then a single module.exports = ... to export the file in commonJS.