@keeex/projectconfig 4.2.0 → 4.2.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -39,7 +39,7 @@ const configSuffix = () => {
39
39
  /** Suffix to use for default file name */
40
40
  const suffix = configSuffix();
41
41
  /** If a suffix is present, return both the name without and with the suffix */
42
- const applySuffix = (basestr) => suffix ? [basestr, `${basestr}${suffix}`] : [basestr];
42
+ const applySuffix = (basestr) => suffix ? [`${basestr}${suffix}`, basestr] : [basestr];
43
43
  /** Basename for config file */
44
44
  const configBasename = applySuffix("config");
45
45
  /** Basename for secret file */
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@keeex/projectconfig","version":"4.2.0","description":"Load project configuration with separate secrets","main":"./lib/index.js","scripts":{},"type":"module","author":"KeeeX SAS","contributors":[{"email":"gabriel@keeex.net","name":"Gabriel Paul \"Cley Faye\" Risterucci"}],"license":"SEE LICENSE IN LICENSE","files":["lib"],"exports":{".":"./lib/index.js","./env.js":"./lib/env.js","./index.js":"./lib/index.js","./lib/env.js":"./lib/env.js","./lib/index.js":"./lib/index.js","./lib/types.js":"./lib/types.js","./types.js":"./lib/types.js"},"homepage":"https://keeex.me/oss"}
1
+ {"name":"@keeex/projectconfig","version":"4.2.1","description":"Load project configuration with separate secrets","main":"./lib/index.js","scripts":{},"type":"module","author":"KeeeX SAS","contributors":[{"email":"gabriel@keeex.net","name":"Gabriel Paul \"Cley Faye\" Risterucci"}],"license":"SEE LICENSE IN LICENSE","files":["lib"],"exports":{".":"./lib/index.js","./env.js":"./lib/env.js","./index.js":"./lib/index.js","./lib/env.js":"./lib/env.js","./lib/index.js":"./lib/index.js","./lib/types.js":"./lib/types.js","./types.js":"./lib/types.js"},"homepage":"https://keeex.me/oss"}