@e-mc/document 0.4.0 → 0.4.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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/parse/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/document",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Document constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,11 +20,11 @@
20
20
  "license": "BSD 3-Clause",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.4.0",
24
- "@e-mc/db": "0.4.0",
25
- "@e-mc/types": "0.4.0",
23
+ "@e-mc/core": "0.4.2",
24
+ "@e-mc/db": "0.4.2",
25
+ "@e-mc/types": "0.4.2",
26
26
  "chalk": "4.1.2",
27
- "htmlparser2": "^8.0.1",
27
+ "htmlparser2": "^8.0.2",
28
28
  "js-yaml": "^4.1.0",
29
29
  "picomatch": "^2.3.1"
30
30
  }
package/parse/index.js CHANGED
@@ -1386,7 +1386,7 @@ class XmlElement {
1386
1386
  if (value !== tagName) {
1387
1387
  this._prevTagName || (this._prevTagName = tagName);
1388
1388
  this._tagName = value;
1389
- if (this.TAG_VOID.includes(value)) {
1389
+ if (this._tagVoid = this.TAG_VOID.includes(value)) {
1390
1390
  this.innerXml = '';
1391
1391
  }
1392
1392
  this._modified = true;