wikilint 2.5.4 → 2.5.5

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/dist/lib/node.js +1 -3
  2. package/package.json +1 -1
package/dist/lib/node.js CHANGED
@@ -40,9 +40,7 @@ class AstNode {
40
40
  if (key === 'padding') {
41
41
  return 0;
42
42
  }
43
- return key in this
44
- ? String(this[key])
45
- : undefined;
43
+ return this[key];
46
44
  }
47
45
  /** @private */
48
46
  setAttribute(key, value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikilint",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "A Node.js linter for MediaWiki markup",
5
5
  "keywords": [
6
6
  "mediawiki",