playcademy 0.17.2 → 0.17.4

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/dist/cli.js CHANGED
@@ -2999,7 +2999,7 @@ import { join as join13 } from "path";
2999
2999
  // package.json with { type: 'json' }
3000
3000
  var package_default2 = {
3001
3001
  name: "playcademy",
3002
- version: "0.17.1",
3002
+ version: "0.17.3",
3003
3003
  type: "module",
3004
3004
  exports: {
3005
3005
  ".": {
package/dist/index.js CHANGED
@@ -4034,7 +4034,7 @@ import { join as join13 } from "path";
4034
4034
  // package.json with { type: 'json' }
4035
4035
  var package_default2 = {
4036
4036
  name: "playcademy",
4037
- version: "0.17.1",
4037
+ version: "0.17.3",
4038
4038
  type: "module",
4039
4039
  exports: {
4040
4040
  ".": {
@@ -11708,7 +11708,7 @@ var getStatusCommand = new Command13("status").description("Check your developer
11708
11708
  });
11709
11709
 
11710
11710
  // package.json
11711
- var version2 = "0.17.1";
11711
+ var version2 = "0.17.3";
11712
11712
 
11713
11713
  // src/commands/dev/server.ts
11714
11714
  function setupCleanupHandlers(workspace, getServer) {
@@ -13105,7 +13105,7 @@ function displayKVInspectResult(key, result, value, options, environment) {
13105
13105
  // src/lib/kv/dump.ts
13106
13106
  var DEFAULT_BATCH_SIZE = 10;
13107
13107
  function escapeCsvField(value) {
13108
- if (!/[,"\n]/.test(value)) {
13108
+ if (!/[,"\n\r]/.test(value)) {
13109
13109
  return value;
13110
13110
  }
13111
13111
  return `"${value.replaceAll('"', '""')}"`;
@@ -13160,7 +13160,7 @@ async function dumpKVEntries(keys, getValue, options = {}) {
13160
13160
  if (options.output) {
13161
13161
  await writeFile4(options.output, output, "utf8");
13162
13162
  logger.success(
13163
- `Wrote ${entries.length} ${pluralize(entries.length, "entry")} to ${options.output}`
13163
+ `Wrote ${entries.length} ${pluralize(entries.length, "entry", "entries")} to ${options.output}`
13164
13164
  );
13165
13165
  logger.newLine();
13166
13166
  return;
@@ -13170,6 +13170,7 @@ async function dumpKVEntries(keys, getValue, options = {}) {
13170
13170
 
13171
13171
  // src/commands/kv/dump.ts
13172
13172
  async function runKVDumpRemote(options) {
13173
+ const environment = ensureEnvironment(options.env);
13173
13174
  const client = await requireAuthenticatedClient();
13174
13175
  const workspace = getWorkspace();
13175
13176
  const deployedGame = await getDeployedGame(workspace);
@@ -13184,7 +13185,7 @@ async function runKVDumpRemote(options) {
13184
13185
  const keys = await client.dev.games.kv.list(game.slug, options.prefix);
13185
13186
  await dumpKVEntries(keys, (key) => client.dev.games.kv.get(game.slug, key), options);
13186
13187
  if (options.output) {
13187
- logger.data("Environment", ensureEnvironment(options.env), 1);
13188
+ logger.data("Environment", environment, 1);
13188
13189
  logger.newLine();
13189
13190
  }
13190
13191
  }
package/dist/utils.js CHANGED
@@ -2654,7 +2654,7 @@ import { join as join13 } from "path";
2654
2654
  // package.json with { type: 'json' }
2655
2655
  var package_default2 = {
2656
2656
  name: "playcademy",
2657
- version: "0.17.1",
2657
+ version: "0.17.3",
2658
2658
  type: "module",
2659
2659
  exports: {
2660
2660
  ".": {
package/dist/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // package.json with { type: 'json' }
2
2
  var package_default = {
3
3
  name: "playcademy",
4
- version: "0.17.1",
4
+ version: "0.17.3",
5
5
  type: "module",
6
6
  exports: {
7
7
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playcademy",
3
- "version": "0.17.2",
3
+ "version": "0.17.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {