Update Mocha to 8.3.0

This also adds Python-2.0 to the list of accepted licenses.

Lastly, it fixes a bug where the package.json files were incorrectly
reordered. For the `exports` of a particular package, the order that
the entrypoints are defined in is crucial. Therefore, we should not
alter the order of entrypoints and instead maintain the originally
defined ordering. We can use an `OrderedDict` to ensure that Python
always loads the JSON files in the same order.

DISABLE_THIRD_PARTY_CHECK=NPM update
R=jacktfranklin@chromium.org

Bug: none
Change-Id: I5a309782de6015edea6ba3b502aa0db1f008d973
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2692909
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
This commit is contained in:
Tim van der Lippe
2021-02-17 12:08:49 +00:00
committed by Commit Bot
parent 4b84d5b454
commit 6d109a9d45
1101 changed files with 40384 additions and 40916 deletions
+22 -22
View File
@@ -1,19 +1,16 @@
{
"author": "Eric Ferraiuolo <edf@ericf.me>",
"bugs": {
"url": "https://github.com/yahoo/serialize-javascript/issues"
},
"dependencies": {
"randombytes": "^2.1.0"
},
"name": "serialize-javascript",
"version": "4.0.0",
"description": "Serialize JavaScript to a superset of JSON that includes regular expressions and functions.",
"devDependencies": {
"benchmark": "^2.1.4",
"chai": "^4.1.0",
"mocha": "^7.0.0",
"nyc": "^15.0.0"
"main": "index.js",
"scripts": {
"benchmark": "node -v && node test/benchmark/serialize.js",
"test": "nyc --reporter=lcov mocha test/unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yahoo/serialize-javascript.git"
},
"homepage": "https://github.com/yahoo/serialize-javascript",
"keywords": [
"serialize",
"serialization",
@@ -21,16 +18,19 @@
"js",
"json"
],
"author": "Eric Ferraiuolo <edf@ericf.me>",
"license": "BSD-3-Clause",
"main": "index.js",
"name": "serialize-javascript",
"repository": {
"type": "git",
"url": "git+https://github.com/yahoo/serialize-javascript.git"
"bugs": {
"url": "https://github.com/yahoo/serialize-javascript/issues"
},
"scripts": {
"benchmark": "node -v && node test/benchmark/serialize.js",
"test": "nyc --reporter=lcov mocha test/unit"
"homepage": "https://github.com/yahoo/serialize-javascript",
"devDependencies": {
"benchmark": "^2.1.4",
"chai": "^4.1.0",
"mocha": "^7.0.0",
"nyc": "^15.0.0"
},
"version": "4.0.0"
"dependencies": {
"randombytes": "^2.1.0"
}
}