@bedrockio/templates 0.3.1 → 0.3.2
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/CHANGELOG.md +4 -0
- package/dist/cjs/helpers.js +1 -1
- package/dist/esm/helpers.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/helpers.js
CHANGED
|
@@ -128,7 +128,7 @@ function resolveHelper(arg, options) {
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
// Arguments
|
|
131
|
-
const ARGUMENT_NAMES_REG = /\w+\((.+)\) {/;
|
|
131
|
+
const ARGUMENT_NAMES_REG = /\w+\s?\((.+)\) {/;
|
|
132
132
|
function resolveArgumentNames(arg) {
|
|
133
133
|
if (typeof arg === 'function') {
|
|
134
134
|
const handler = arg;
|
package/dist/esm/helpers.js
CHANGED
|
@@ -121,7 +121,7 @@ function resolveHelper(arg, options) {
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
// Arguments
|
|
124
|
-
const ARGUMENT_NAMES_REG = /\w+\((.+)\) {/;
|
|
124
|
+
const ARGUMENT_NAMES_REG = /\w+\s?\((.+)\) {/;
|
|
125
125
|
function resolveArgumentNames(arg) {
|
|
126
126
|
if (typeof arg === 'function') {
|
|
127
127
|
const handler = arg;
|