@jsenv/test 3.3.27 → 3.3.29

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.
@@ -519,7 +519,7 @@ const isWindowsPathnameSpecifier = (specifier) => {
519
519
  };
520
520
  const hasScheme = (specifier) => /^[a-zA-Z]+:/.test(specifier);
521
521
 
522
- const createFilter = (patterns, url) => {
522
+ const createFilter = (patterns, url, map = (v) => v) => {
523
523
  const associations = resolveAssociations(
524
524
  {
525
525
  yes: patterns,
@@ -528,7 +528,7 @@ const createFilter = (patterns, url) => {
528
528
  );
529
529
  return (url) => {
530
530
  const meta = applyAssociations({ url, associations });
531
- return Boolean(meta.yes);
531
+ return Boolean(map(meta.yes));
532
532
  };
533
533
  };
534
534
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.3.27",
3
+ "version": "3.3.29",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,14 +38,14 @@
38
38
  "dependencies": {
39
39
  "@c88/v8-coverage": "0.1.1",
40
40
  "@jsenv/abort": "4.3.0",
41
- "@jsenv/ast": "6.2.14",
42
- "@jsenv/exception": "1.0.1",
43
- "@jsenv/filesystem": "4.9.9",
44
- "@jsenv/github-check-run": "0.1.30",
41
+ "@jsenv/ast": "6.2.15",
42
+ "@jsenv/exception": "1.0.2",
43
+ "@jsenv/filesystem": "4.9.10",
44
+ "@jsenv/github-check-run": "0.1.31",
45
45
  "@jsenv/humanize": "1.2.8",
46
- "@jsenv/plugin-supervisor": "1.5.15",
47
- "@jsenv/sourcemap": "1.2.22",
48
- "@jsenv/url-meta": "8.5.0",
46
+ "@jsenv/plugin-supervisor": "1.5.16",
47
+ "@jsenv/sourcemap": "1.2.23",
48
+ "@jsenv/url-meta": "8.5.1",
49
49
  "@jsenv/urls": "2.5.2",
50
50
  "@jsenv/utils": "2.1.2",
51
51
  "he": "1.2.0",