posthtml-component 1.0.0-beta.7 → 1.0.0-beta.8

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/locals.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthtml-component",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.0-beta.8",
4
4
  "description": "PostHTML Components Blade-like with slots, attributes as props and custom tag",
5
5
  "license": "MIT",
6
6
  "repository": "thewebartisan7/posthtml-components",
package/src/locals.js CHANGED
@@ -62,7 +62,7 @@ module.exports = (currentNode, nextNode, filledSlots, options) => {
62
62
  }
63
63
 
64
64
  // Merge with global
65
- attributes = mergeWith(options.expressions.locals, attributes, options.mergeCustomizer);
65
+ attributes = mergeWith({}, options.expressions.locals, attributes, options.mergeCustomizer);
66
66
 
67
67
  // There is no way to know here what are locals
68
68
  // and what attributes passed to component