From 417f9e6792ee5b90fedd94600b59db74d1e73b59 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 27 Mar 2022 22:32:15 +0100 Subject: [PATCH] HTML Reporter: Update fuzzysort.js to 1.2.1 Reviewed package diff via . The main reason for updating is to bring in my upstream fix (ref https://github.com/farzher/fuzzysort/pull/72/, and ref https://github.com/farzher/fuzzysort/pull/93) to not depend on ES6 Map being globally defined. This unblocks the next commit, which is removing the hack for loading es6-map.js in an unusual way. That unusual way actually caused both our own use in test.js and fuzzysort.js to *not* see the native Map anymore in supporting environents, which I'll fix as well. Also, since this is a dependency that we bundle as part of the distribution, pin its version exactly, as we do with `kleur`. --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 20080eebc..4c7e9e2dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "qunit", - "version": "2.17.2-pre", + "version": "2.18.0-pre", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2848,9 +2848,9 @@ "dev": true }, "fuzzysort": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-1.1.4.tgz", - "integrity": "sha512-JzK/lHjVZ6joAg3OnCjylwYXYVjRiwTY6Yb25LvfpJHK8bjisfnZJ5bY8aVWwTwCXgxPNgLAtmHL+Hs5q1ddLQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-1.2.1.tgz", + "integrity": "sha512-egTSF3U6H6T9tXtAhEm5P5guSSDjd96/NUWrbmoGlIu3ATMdXra13gwQdEFRY6ehsFe8xec7UnQz+k34CGWCIg==", "dev": true }, "gensync": { diff --git a/package.json b/package.json index 41dd69c15..4da561530 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-qunit": "^6.2.0", "fixturify": "^2.1.1", - "fuzzysort": "^1.1.4", + "fuzzysort": "1.2.1", "grunt": "^1.4.1", "grunt-contrib-connect": "^3.0.0", "grunt-contrib-copy": "^1.0.0",