@based/cli
Advanced tools
Comparing version 5.2.3 to 5.2.4
@@ -31,5 +31,4 @@ "use strict"; | ||
} | ||
const buffer = await (0, fs_extra_1.readFile)(file); | ||
const result = await envAdminClient.stream('based:backups-upload', { | ||
contents: buffer, | ||
contents: file, | ||
payload: { | ||
@@ -36,0 +35,0 @@ db, |
@@ -100,3 +100,3 @@ "use strict"; | ||
await Promise.all(params.files.map(({ path, contents }) => { | ||
return (0, fs_extra_1.writeFile)((0, path_1.join)(constants_1.STATIC_FILES_DIR, path), contents); | ||
return (0, fs_extra_1.outputFile)((0, path_1.join)(constants_1.STATIC_FILES_DIR, path), contents); | ||
})); | ||
@@ -103,0 +103,0 @@ const wrapper = async (based, _payload, ctx) => { |
{ | ||
"name": "@based/cli", | ||
"version": "5.2.3", | ||
"version": "5.2.4", | ||
"description": "", | ||
@@ -28,3 +28,3 @@ "bin": "bin/cmd.js", | ||
"@based/client": "4.7.2", | ||
"@based/server": "6.5.1", | ||
"@based/server": "6.6.0", | ||
"@esbuild-plugins/node-globals-polyfill": "^0.2.3", | ||
@@ -31,0 +31,0 @@ "@esbuild-plugins/node-modules-polyfill": "^0.2.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
193469
2808
+ Added@based/server@6.6.0(transitive)
- Removed@based/server@6.5.1(transitive)
Updated@based/server@6.6.0