Skip to content

Commit 06df832

Browse files
committed
release v0.6.5
1 parent 9a662a1 commit 06df832

3 files changed

Lines changed: 5260 additions & 7731 deletions

File tree

dist/index.js

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -9217,56 +9217,6 @@ class Deprecation extends Error {
92179217
exports.Deprecation = Deprecation;
92189218

92199219

9220-
/***/ }),
9221-
9222-
/***/ 8188:
9223-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
9224-
9225-
"use strict";
9226-
9227-
9228-
var isGlob = __nccwpck_require__(1925);
9229-
var pathPosixDirname = (__nccwpck_require__(6928).posix).dirname;
9230-
var isWin32 = (__nccwpck_require__(857).platform)() === 'win32';
9231-
9232-
var slash = '/';
9233-
var backslash = /\\/g;
9234-
var enclosure = /[\{\[].*[\}\]]$/;
9235-
var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
9236-
var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
9237-
9238-
/**
9239-
* @param {string} str
9240-
* @param {Object} opts
9241-
* @param {boolean} [opts.flipBackslashes=true]
9242-
* @returns {string}
9243-
*/
9244-
module.exports = function globParent(str, opts) {
9245-
var options = Object.assign({ flipBackslashes: true }, opts);
9246-
9247-
// flip windows path separators
9248-
if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
9249-
str = str.replace(backslash, slash);
9250-
}
9251-
9252-
// special case for strings ending in enclosure containing path separator
9253-
if (enclosure.test(str)) {
9254-
str += slash;
9255-
}
9256-
9257-
// preserves full path in case of trailing path separator
9258-
str += 'a';
9259-
9260-
// remove path parts that are globby
9261-
do {
9262-
str = pathPosixDirname(str);
9263-
} while (isGlob(str) || globby.test(str));
9264-
9265-
// remove escape chars and return result
9266-
return str.replace(escaped, '$1');
9267-
};
9268-
9269-
92709220
/***/ }),
92719221

92729222
/***/ 5648:
@@ -10419,7 +10369,7 @@ exports.convertPosixPathToPattern = convertPosixPathToPattern;
1041910369
Object.defineProperty(exports, "__esModule", ({ value: true }));
1042010370
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
1042110371
const path = __nccwpck_require__(6928);
10422-
const globParent = __nccwpck_require__(8188);
10372+
const globParent = __nccwpck_require__(8505);
1042310373
const micromatch = __nccwpck_require__(8785);
1042410374
const GLOBSTAR = '**';
1042510375
const ESCAPE_SYMBOL = '\\';
@@ -10923,6 +10873,56 @@ const fill = (start, end, step, options = {}) => {
1092310873
module.exports = fill;
1092410874

1092510875

10876+
/***/ }),
10877+
10878+
/***/ 8505:
10879+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
10880+
10881+
"use strict";
10882+
10883+
10884+
var isGlob = __nccwpck_require__(1925);
10885+
var pathPosixDirname = (__nccwpck_require__(6928).posix).dirname;
10886+
var isWin32 = (__nccwpck_require__(857).platform)() === 'win32';
10887+
10888+
var slash = '/';
10889+
var backslash = /\\/g;
10890+
var enclosure = /[\{\[].*[\}\]]$/;
10891+
var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
10892+
var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
10893+
10894+
/**
10895+
* @param {string} str
10896+
* @param {Object} opts
10897+
* @param {boolean} [opts.flipBackslashes=true]
10898+
* @returns {string}
10899+
*/
10900+
module.exports = function globParent(str, opts) {
10901+
var options = Object.assign({ flipBackslashes: true }, opts);
10902+
10903+
// flip windows path separators
10904+
if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
10905+
str = str.replace(backslash, slash);
10906+
}
10907+
10908+
// special case for strings ending in enclosure containing path separator
10909+
if (enclosure.test(str)) {
10910+
str += slash;
10911+
}
10912+
10913+
// preserves full path in case of trailing path separator
10914+
str += 'a';
10915+
10916+
// remove path parts that are globby
10917+
do {
10918+
str = pathPosixDirname(str);
10919+
} while (isGlob(str) || globby.test(str));
10920+
10921+
// remove escape chars and return result
10922+
return str.replace(escaped, '$1');
10923+
};
10924+
10925+
1092610926
/***/ }),
1092710927

1092810928
/***/ 5540:
@@ -43130,12 +43130,12 @@ const filterUnsuccessful = filterByStatus(unsuccessfulStatuses);
4313043130
const filterIncludedInSuccessRate = filterByStatus(includedInSuccessRate);
4313143131
const emptyStatistic = () => ({ total: 0 });
4313243132
const incrementStatistic = (statistic, status, count = 1) => {
43133-
statistic[status] = (statistic[status] ?? 0) + count;
43133+
statistic[status] = (statistic?.[status] ?? 0) + count;
4313443134
statistic.total += count;
4313543135
};
4313643136
const mergeStatistic = (statistic, additional) => {
4313743137
statusesList.forEach((status) => {
43138-
if (additional[status]) {
43138+
if (additional?.[status]) {
4313943139
incrementStatistic(statistic, status, additional[status]);
4314043140
}
4314143141
});

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)