carlin 1.31.12 → 1.31.13

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 +6 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -232,6 +232,7 @@ var addDefaultsParametersAndTagsToParams = async (params) => {
232
232
  const packageName = await getPackageName();
233
233
  const packageVersion = await getPackageVersion();
234
234
  const projectName = await getProjectName();
235
+ const tagValuePattern = /[^a-zA-Z0-9_.:/=+\-@]/g;
235
236
  return {
236
237
  ...params,
237
238
  Parameters: [
@@ -248,6 +249,11 @@ var addDefaultsParametersAndTagsToParams = async (params) => {
248
249
  { Key: "Version", Value: packageVersion }
249
250
  ].filter(({ Value }) => {
250
251
  return !!Value;
252
+ }).map(({ Key, Value }) => {
253
+ return {
254
+ Key,
255
+ Value: Value.replace(tagValuePattern, "")
256
+ };
251
257
  })
252
258
  };
253
259
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carlin",
3
- "version": "1.31.12",
3
+ "version": "1.31.13",
4
4
  "description": "",
5
5
  "license": "GPL-3.0",
6
6
  "author": "Pedro Arantes <arantespp@gmail.com> (https://twitter.com/arantespp)",