massimo-cli 1.2.0 → 1.3.0

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.
@@ -248,7 +248,7 @@ function generateFrontendImplementationFromOpenAPI ({
248
248
  writer.blankLine()
249
249
 
250
250
  /* eslint-disable-next-line no-template-curly-in-string */
251
- const searchString = queryParams.length > 0 ? '?${searchParams.toString()}' : ''
251
+ const searchString = queryParams.length > 0 ? "?${searchParams.toString().replace(/\\+/g, '%20')}" : ''
252
252
  if (!isGetMethod) {
253
253
  writer
254
254
  .write(`const response = await fetch(\`\${url}${stringLiteralPath}${searchString}\`, `)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "massimo-cli",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "A client for HTTP services.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -30,16 +30,16 @@
30
30
  "pino-pretty": "^13.0.0",
31
31
  "undici": "^7.0.0",
32
32
  "yaml": "^2.4.1",
33
- "massimo": "1.2.0"
33
+ "massimo": "1.3.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@platformatic/composer": "3.17.0",
36
+ "@platformatic/composer": "3.54.0",
37
37
  "@platformatic/db": "3.0.0-alpha.6",
38
- "@platformatic/foundation": "3.17.0",
39
- "@platformatic/runtime": "3.16.0",
38
+ "@platformatic/foundation": "3.54.0",
39
+ "@platformatic/runtime": "3.52.4",
40
40
  "@platformatic/service": "3.0.0-alpha.6",
41
- "@platformatic/sql-graphql": "3.0.0-alpha.6",
42
- "@platformatic/sql-mapper": "3.0.0-alpha.6",
41
+ "@platformatic/sql-graphql": "3.53.0",
42
+ "@platformatic/sql-mapper": "3.52.4",
43
43
  "@playwright/test": "^1.42.1",
44
44
  "@types/react": "^19.1.6",
45
45
  "@types/react-dom": "^19.1.5",