@budibase/string-templates 2.7.37-alpha.4 → 2.7.37-alpha.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.
package/manifest.json CHANGED
@@ -75,7 +75,7 @@
75
75
  ],
76
76
  "numArgs": 2,
77
77
  "example": "{{ multiply 10 5 }} -> 50",
78
- "description": "<p>Return the product of <code>a</code> times <code>b</code>.</p>\n"
78
+ "description": "<p>Multiply number <code>a</code> by number <code>b</code>.</p>\n"
79
79
  },
80
80
  "plus": {
81
81
  "args": [
@@ -128,15 +128,6 @@
128
128
  "numArgs": 1,
129
129
  "example": "{{ sum [1, 2, 3] }} -> 6",
130
130
  "description": "<p>Returns the sum of all numbers in the given array.</p>\n"
131
- },
132
- "times": {
133
- "args": [
134
- "a",
135
- "b"
136
- ],
137
- "numArgs": 2,
138
- "example": "{{ times 10 5 }} -> 50",
139
- "description": "<p>Multiply number <code>a</code> by number <code>b</code>.</p>\n"
140
131
  }
141
132
  },
142
133
  "array": {
@@ -497,19 +488,9 @@
497
488
  "str"
498
489
  ],
499
490
  "numArgs": 1,
500
- "example": "{{ escape 'https://myurl?Hello%20There' }} -> https://myurl?Hello+There",
491
+ "example": "{{ decodeURI 'https://myurl?Hello%20There' }} -> https://myurl?=Hello There",
501
492
  "description": "<p>Decode a Uniform Resource Identifier (URI) component.</p>\n"
502
493
  },
503
- "url_encode": {
504
- "args": [],
505
- "numArgs": 0,
506
- "description": "<p>Alias for <a href=\"#encodeuri\">encodeURI</a>.</p>\n"
507
- },
508
- "url_decode": {
509
- "args": [],
510
- "numArgs": 0,
511
- "description": "<p>Alias for <a href=\"#decodeuri\">decodeURI</a>.</p>\n"
512
- },
513
494
  "urlResolve": {
514
495
  "args": [
515
496
  "base",
@@ -625,7 +606,7 @@
625
606
  "length"
626
607
  ],
627
608
  "numArgs": 2,
628
- "example": "{{ellipsis 'foo bar baz' 7}} -> foo bar…",
609
+ "example": "{{ellipsis 'foo bar baz', 7}} -> foo bar…",
629
610
  "description": "<p>Truncates a string to the specified <code>length</code>, and appends it with an elipsis, <code>…</code>.</p>\n"
630
611
  },
631
612
  "hyphenate": {
@@ -1219,4 +1200,4 @@
1219
1200
  "description": "<p>Produce a humanized duration left/until given an amount of time and the type of time measurement.</p>\n"
1220
1201
  }
1221
1202
  }
1222
- }
1203
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/string-templates",
3
- "version": "2.7.37-alpha.4",
3
+ "version": "2.7.37-alpha.6",
4
4
  "description": "Handlebars wrapper for Budibase templating.",
5
5
  "main": "src/index.cjs",
6
6
  "module": "dist/bundle.mjs",
@@ -25,7 +25,7 @@
25
25
  "manifest": "node ./scripts/gen-collection-info.js"
26
26
  },
27
27
  "dependencies": {
28
- "@budibase/handlebars-helpers": "^0.11.8",
28
+ "@budibase/handlebars-helpers": "^0.11.9",
29
29
  "dayjs": "^1.10.4",
30
30
  "handlebars": "^4.7.6",
31
31
  "handlebars-utils": "^1.0.6",
@@ -47,5 +47,5 @@
47
47
  "rollup-plugin-terser": "^7.0.2",
48
48
  "typescript": "4.7.3"
49
49
  },
50
- "gitHead": "82a0bd086b5c76618e22c25d7e4bdd01f5cfd14a"
50
+ "gitHead": "de5a70c0d62620aa42c889ad4e9cc8651ab15cd8"
51
51
  }