dokku-compose 0.5.1 → 0.5.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1131,7 +1131,7 @@ function validate(filePath) {
1131
1131
 
1132
1132
  // src/core/mask.ts
1133
1133
  function maskSensitiveArgs(cmd) {
1134
- return cmd.replace(/(\S*(?:TOKEN|SECRET|PASSWORD|KEY|AUTH|CREDENTIAL)\S*)=(\S+)/gi, (_, key, value) => {
1134
+ return cmd.replace(/([^\s=]*(?:TOKEN|SECRET|PASSWORD|KEY|AUTH|CREDENTIAL)[^\s=]*)=(\S+)/gi, (_, key, value) => {
1135
1135
  if (value.length <= 4) return `${key}=****`;
1136
1136
  return `${key}=****${value.slice(-4)}`;
1137
1137
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dokku-compose",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Docker Compose for Dokku — declare your entire server in a single YAML file.",
5
5
  "main": "dist/index.js",
6
6
  "exports": "./dist/index.js",