@indra.ai/deva.feecting 0.0.26 → 0.0.28

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/_parse.js +1 -1
  2. package/package.json +2 -2
package/_parse.js CHANGED
@@ -95,7 +95,7 @@ class Parser {
95
95
 
96
96
  // image processing regex
97
97
  .replace(/(\n\s*)img:\s?(.+)/g, `$1<div class="image"><img src="$2" /></div>`)
98
- .replace(/(\n\s*)(button)\[(.+)\]:\s(.+)/g, '$1<button class="btn $2" title="$3" data-button="$4">$3</button>')
98
+ .replace(/(\n\s*)(button)\[(.+)\]:\s?(.+)/g, '$1<button class="btn $2" title="$3" data-button="$4">$3</button>')
99
99
 
100
100
  // cmd/tty tag parser
101
101
  .replace(/(\n\s*)(cmd|tty):\s?(.+)\r?/g, `$1<div class="item $2"><span class="label">$2</span><span class="value"><button class="btn $2" alt="$2" data-$2="$3"></button>$3</span></div>`)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 5461868899003,
3
3
  "name": "@indra.ai/deva.feecting",
4
- "version": "0.0.26",
4
+ "version": "0.0.28",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "description": "The Feecting Deva manages all the parsing of feecting language in deva.world.",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://deva.space/devas/feecting",
30
30
  "dependencies": {
31
- "@indra.ai/deva": "^1.4.22",
31
+ "@indra.ai/deva": "^1.4.24",
32
32
  "needle": "^3.2.0"
33
33
  },
34
34
  "data": {