@contentstack/cli-cm-branches 1.0.21 → 1.0.22

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/README.md CHANGED
@@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches
37
37
  $ csdx COMMAND
38
38
  running command...
39
39
  $ csdx (--version)
40
- @contentstack/cli-cm-branches/1.0.21 linux-x64 node-v18.19.0
40
+ @contentstack/cli-cm-branches/1.0.22 linux-x64 node-v18.19.0
41
41
  $ csdx --help [COMMAND]
42
42
  USAGE
43
43
  $ csdx COMMAND
@@ -185,7 +185,7 @@ function entryCreateScript(contentType) {
185
185
  text = JSON.stringify(_entry);
186
186
  }
187
187
  markdownRegEx = new RegExp(
188
- '(https://(assets|(eu-|azure-na-|azure-eu-)?images).contentstack.(io|com)/v3/assets/(.*?)/(.*?)/(.*?)/(.*?)(?="))',
188
+ '(https://(assets|(eu-|azure-na-|azure-eu-|gcp-na-)?images).contentstack.(io|com)/v3/assets/(.*?)/(.*?)/(.*?)/(.*?)(?="))',
189
189
  'g',
190
190
  );
191
191
  while ((markdownMatch = markdownRegEx.exec(text)) !== null) {
@@ -207,7 +207,7 @@ function entryCreateUpdateScript(contentType) {
207
207
  text = JSON.stringify(_entry);
208
208
  }
209
209
  markdownRegEx = new RegExp(
210
- '(https://(assets|(eu-|azure-na-|azure-eu-)?images).contentstack.(io|com)/v3/assets/(.*?)/(.*?)/(.*?)/(.*?)(?="))',
210
+ '(https://(assets|(eu-|azure-na-|azure-eu-|gcp-na-)?images).contentstack.(io|com)/v3/assets/(.*?)/(.*?)/(.*?)/(.*?)(?="))',
211
211
  'g',
212
212
  );
213
213
  while ((markdownMatch = markdownRegEx.exec(text)) !== null) {
@@ -207,7 +207,7 @@ function entryUpdateScript(contentType) {
207
207
  text = JSON.stringify(_entry);
208
208
  }
209
209
  markdownRegEx = new RegExp(
210
- '(https://(assets|(eu-|azure-na-|azure-eu-)?images).contentstack.(io|com)/v3/assets/(.*?)/(.*?)/(.*?)/(.*?)(?="))',
210
+ '(https://(assets|(eu-|azure-na-|azure-eu-|gcp-na-)?images).contentstack.(io|com)/v3/assets/(.*?)/(.*?)/(.*?)/(.*?)(?="))',
211
211
  'g',
212
212
  );
213
213
  while ((markdownMatch = markdownRegEx.exec(text)) !== null) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.21",
2
+ "version": "1.0.22",
3
3
  "commands": {
4
4
  "cm:branches:create": {
5
5
  "id": "cm:branches:create",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-branches",
3
3
  "description": "Contentstack CLI plugin to do branches operations",
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
8
  "@contentstack/cli-command": "~1.2.16",
9
- "@contentstack/cli-utilities": "~1.5.10",
9
+ "@contentstack/cli-utilities": "~1.5.11",
10
10
  "@oclif/core": "^2.9.3",
11
11
  "async": "^3.2.4",
12
12
  "big-json": "^3.2.0",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@contentstack/cli-auth": "~1.3.17",
29
- "@contentstack/cli-config": "~1.4.15",
29
+ "@contentstack/cli-config": "~1.6.0",
30
30
  "@contentstack/cli-dev-dependencies": "~1.2.4",
31
31
  "@oclif/plugin-help": "^5.1.19",
32
32
  "@oclif/test": "^1.2.6",
@@ -95,4 +95,4 @@
95
95
  }
96
96
  },
97
97
  "repository": "https://github.com/contentstack/cli"
98
- }
98
+ }