@lightdash/cli 0.1552.2 → 0.1552.3

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.
@@ -28,7 +28,7 @@ const renderProfilesYml = (raw, context) => {
28
28
  });
29
29
  // Fix multiline privatekey strings
30
30
  // Prevents error: Error: error:1E08010C:DECODER routines::unsupported
31
- const privateKeyRegex = /-----BEGIN PRIVATE KEY-----[\s\S]*?-----END PRIVATE KEY-----/g;
31
+ const privateKeyRegex = /(-----BEGIN(?:\s+ENCRYPTED)?\s+PRIVATE KEY-----[\s\S]*?-----END(?:\s+ENCRYPTED)?\s+PRIVATE KEY-----)/g;
32
32
  return rendered.replace(privateKeyRegex, (match) => match.replace(/\n/g, '\\n'));
33
33
  };
34
34
  exports.renderProfilesYml = renderProfilesYml;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/cli",
3
- "version": "0.1552.2",
3
+ "version": "0.1552.3",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "lightdash": "dist/index.js"
@@ -30,8 +30,8 @@
30
30
  "parse-node-version": "^2.0.0",
31
31
  "unique-names-generator": "^4.7.1",
32
32
  "uuid": "^11.0.3",
33
- "@lightdash/common": "0.1552.2",
34
- "@lightdash/warehouses": "0.1552.2"
33
+ "@lightdash/common": "0.1552.3",
34
+ "@lightdash/warehouses": "0.1552.3"
35
35
  },
36
36
  "description": "Lightdash CLI tool",
37
37
  "devDependencies": {