@indra.ai/deva.feecting 0.0.23 → 0.0.25

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 -5
  2. package/package.json +2 -2
package/_parse.js CHANGED
@@ -94,11 +94,7 @@ class Parser {
94
94
  // .replace(/(\s)\_([#|@|$|!].+?)(\b)/gi, `$1$2$3`)
95
95
 
96
96
  // image processing regex
97
- .replace(/(\n\s*)image:\s?(.+)/g, `$1<div class="image"><img src="$2" /></div>`)
98
- .replace(/\n\s*(avatar|thumbnail):\s?(.+)/g, `<div class="$1"><img src="$2" /></div>`)
99
-
100
- .replace(/\n\s*img:\s?(.+)/g, `<div class="image"><img src="/asset/$1" /></div>`)
101
-
97
+ .replace(/(\n\s*)img:\s?(.+)/g, `$1<div class="image"><img src="$2" /></div>`)
102
98
  .replace(/(\n\s*)(button)\[(.+)\]:\s(.+)/g, '$1<button class="btn $2" title="$3" data-button="$4">$3</button>')
103
99
 
104
100
  // cmd/tty tag parser
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.23",
4
+ "version": "0.0.25",
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.16",
31
+ "@indra.ai/deva": "^1.4.22",
32
32
  "needle": "^3.2.0"
33
33
  }
34
34
  }