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.
- package/dist/index.js +6 -0
- 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
|
};
|