@leverege/build-tools 2.83.5 → 2.83.6

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/package.json +1 -1
  2. package/src/Utils.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.83.5",
3
+ "version": "2.83.6",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/Utils.mjs CHANGED
@@ -134,10 +134,10 @@ export const getDateTimestamp = () => {
134
134
  return `${fullDTS.slice( 0, 8 )}-${fullDTS.slice( 8, 12 )}`
135
135
  }
136
136
 
137
- export const getCleanTag = (str) => {
137
+ export const getCleanTag = ( str ) => {
138
138
  // Sanitize string to only include characters allowed in GCP Artifact Registry image tags
139
139
  // Allowed characters: abcdefghijklmnopqrstuvwxyz0123456789_-./
140
- return str.replace(/[^a-zA-Z0-9_\-\.\/]/g, '')
140
+ return str.replace( /[^a-zA-Z0-9_\-./]/g, '' )
141
141
  }
142
142
 
143
143
  export const getGcpAccount = async () => {