@symbo.ls/link 2.11.394 → 2.11.409

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/index.js +1 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -13,8 +13,7 @@ export const Link = {
13
13
  draggable: false
14
14
  },
15
15
  attr: {
16
- href: (el, s) => {
17
- const { context: ctx } = el
16
+ href: (el, s, ctx) => {
18
17
  const { isString, exec, replaceLiteralsWithObjectFields } = ctx.utils
19
18
  const href = exec(el.props.href, el) || exec(el.props, el).href
20
19
  if (isString(href) && href.includes('{{')) {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/link",
3
- "version": "2.11.394",
3
+ "version": "2.11.409",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "96fc31e44dd43084955c647e91b5d0e70d56aee8",
6
+ "gitHead": "7d883c7112e7a823f8f8da70c8a04c1afbeac04a",
7
7
  "dependencies": {
8
8
  "@domql/router": "latest",
9
9
  "@symbo.ls/atoms": "latest"