pgpm 4.0.0 → 4.0.1

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/commands/env.js CHANGED
@@ -53,8 +53,7 @@ function configToEnvVars(config) {
53
53
  function printExports(config) {
54
54
  const envVars = configToEnvVars(config);
55
55
  for (const [key, value] of Object.entries(envVars)) {
56
- const escapedValue = value.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
57
- console.log(`export ${key}="${escapedValue}"`);
56
+ console.log(`export ${key}=${value}`);
58
57
  }
59
58
  }
60
59
  function executeCommand(config, command, args) {
@@ -51,8 +51,7 @@ function configToEnvVars(config) {
51
51
  function printExports(config) {
52
52
  const envVars = configToEnvVars(config);
53
53
  for (const [key, value] of Object.entries(envVars)) {
54
- const escapedValue = value.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
55
- console.log(`export ${key}="${escapedValue}"`);
54
+ console.log(`export ${key}=${value}`);
56
55
  }
57
56
  }
58
57
  function executeCommand(config, command, args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgpm",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PostgreSQL Package Manager - Database migration and package management CLI",
6
6
  "main": "index.js",
@@ -74,5 +74,5 @@
74
74
  "pg",
75
75
  "pgsql"
76
76
  ],
77
- "gitHead": "b2daeefe49cdefb3d01ea63cf778fb9b847ab5fe"
77
+ "gitHead": "44410afc7857f14414b69c7e3cfa893a270bf08f"
78
78
  }