mocha 3.5.2 → 3.5.3

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 3.5.3 / 2017-09-11
2
+
3
+ ## :bug: Fixes
4
+
5
+ - [#3003]: Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems])
6
+
7
+ [#3003]: https://github.com/mochajs/mocha/pull/3003
8
+
1
9
  # 3.5.2 / 2017-09-10
2
10
 
3
11
  ## :bug: Fixes
package/lib/utils.js CHANGED
@@ -36,7 +36,7 @@ exports.inherits = require('util').inherits;
36
36
  * @return {string}
37
37
  */
38
38
  exports.escape = function (html) {
39
- return he.encode(String(html), { useNamedReferences: true });
39
+ return he.encode(String(html), { useNamedReferences: false });
40
40
  };
41
41
 
42
42
  /**
package/mocha.js CHANGED
@@ -6031,7 +6031,7 @@ exports.inherits = require('util').inherits;
6031
6031
  * @return {string}
6032
6032
  */
6033
6033
  exports.escape = function (html) {
6034
- return he.encode(String(html), { useNamedReferences: true });
6034
+ return he.encode(String(html), { useNamedReferences: false });
6035
6035
  };
6036
6036
 
6037
6037
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "description": "simple, flexible, fun test framework",
5
5
  "keywords": [
6
6
  "mocha",