semantic-release-lerna 2.18.2 → 2.18.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.
Files changed (2) hide show
  1. package/dist/index.js +13 -20
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26122,9 +26122,9 @@ var parseClass = (glob, position) => {
26122
26122
  // node_modules/minimatch/dist/esm/unescape.js
26123
26123
  var unescape2 = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
26124
26124
  if (magicalBraces) {
26125
- return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
26125
+ return windowsPathsNoEscape ? s.replace(/\[([^/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\])\]/g, "$1$2").replace(/\\([^/])/g, "$1");
26126
26126
  }
26127
- return windowsPathsNoEscape ? s.replace(/\[([^\/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
26127
+ return windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
26128
26128
  };
26129
26129
 
26130
26130
  // node_modules/minimatch/dist/esm/ast.js
@@ -26244,13 +26244,7 @@ var AST = class {
26244
26244
  }
26245
26245
  // reconstructs the pattern
26246
26246
  toString() {
26247
- if (this.#toString !== void 0)
26248
- return this.#toString;
26249
- if (!this.type) {
26250
- return this.#toString = this.#parts.map((p) => String(p)).join("");
26251
- } else {
26252
- return this.#toString = this.type + "(" + this.#parts.map((p) => String(p)).join("|") + ")";
26253
- }
26247
+ return this.#toString !== void 0 ? this.#toString : !this.type ? this.#toString = this.#parts.map((p) => String(p)).join("") : this.#toString = this.type + "(" + this.#parts.map((p) => String(p)).join("|") + ")";
26254
26248
  }
26255
26249
  #fillNegs() {
26256
26250
  if (this !== this.#root)
@@ -26793,7 +26787,7 @@ var minimatch = (p, pattern, options = {}) => {
26793
26787
  }
26794
26788
  return new Minimatch(pattern, options).match(p);
26795
26789
  };
26796
- var starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
26790
+ var starDotExtRE = /^\*+([^+@!?*[(]*)$/;
26797
26791
  var starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2);
26798
26792
  var starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2);
26799
26793
  var starDotExtTestNocase = (ext2) => {
@@ -26812,7 +26806,7 @@ var dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith(".");
26812
26806
  var starRE = /^\*+$/;
26813
26807
  var starTest = (f) => f.length !== 0 && !f.startsWith(".");
26814
26808
  var starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..";
26815
- var qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
26809
+ var qmarksRE = /^\?+([^+@!?*[(]*)?$/;
26816
26810
  var qmarksTestNocase = ([$0, ext2 = ""]) => {
26817
26811
  const noext = qmarksTestNoExt([$0]);
26818
26812
  if (!ext2)
@@ -27031,10 +27025,10 @@ var Minimatch = class {
27031
27025
  // of patterns that we have to process.
27032
27026
  preprocess(globParts) {
27033
27027
  if (this.options.noglobstar) {
27034
- for (let i2 = 0; i2 < globParts.length; i2++) {
27035
- for (let j = 0; j < globParts[i2].length; j++) {
27036
- if (globParts[i2][j] === "**") {
27037
- globParts[i2][j] = "*";
27028
+ for (const partset of globParts) {
27029
+ for (let j = 0; j < partset.length; j++) {
27030
+ if (partset[j] === "**") {
27031
+ partset[j] = "*";
27038
27032
  }
27039
27033
  }
27040
27034
  }
@@ -27112,7 +27106,7 @@ var Minimatch = class {
27112
27106
  let dd = 0;
27113
27107
  while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
27114
27108
  const p = parts[dd - 1];
27115
- if (p && p !== "." && p !== ".." && p !== "**") {
27109
+ if (p && p !== "." && p !== ".." && p !== "**" && !(this.isWindows && /^[a-z]:$/i.test(p))) {
27116
27110
  didSomething = true;
27117
27111
  parts.splice(dd - 1, 2);
27118
27112
  dd -= 2;
@@ -27528,7 +27522,7 @@ var Minimatch = class {
27528
27522
  re = "^(?!" + re + ").+$";
27529
27523
  try {
27530
27524
  this.regexp = new RegExp(re, [...flags].join(""));
27531
- } catch (ex) {
27525
+ } catch {
27532
27526
  this.regexp = false;
27533
27527
  }
27534
27528
  return this.regexp;
@@ -27536,7 +27530,7 @@ var Minimatch = class {
27536
27530
  slashSplit(p) {
27537
27531
  if (this.preserveMultipleSlashes) {
27538
27532
  return p.split("/");
27539
- } else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
27533
+ } else if (this.isWindows && /^\/\/[^/]+/.test(p)) {
27540
27534
  return ["", ...p.split(/\/+/)];
27541
27535
  } else {
27542
27536
  return p.split(/\/+/);
@@ -27567,8 +27561,7 @@ var Minimatch = class {
27567
27561
  filename = ff[i2];
27568
27562
  }
27569
27563
  }
27570
- for (let i2 = 0; i2 < set2.length; i2++) {
27571
- const pattern = set2[i2];
27564
+ for (const pattern of set2) {
27572
27565
  let file = ff;
27573
27566
  if (options.matchBase && pattern.length === 1) {
27574
27567
  file = [filename];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semantic-release-lerna",
3
- "version": "2.18.2",
3
+ "version": "2.18.3",
4
4
  "description": "semantic-release plugin to publish lerna monorepo packages to npm",
5
5
  "keywords": [
6
6
  "npm",