@firestartr/cli 0.1.33 → 1.27.0

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.
@@ -9552,7 +9552,7 @@ __export(dist_src_exports, {
9552
9552
  });
9553
9553
  module.exports = __toCommonJS(dist_src_exports);
9554
9554
  var import_universal_user_agent = __nccwpck_require__(5212);
9555
- var import_before_after_hook = __nccwpck_require__(7740);
9555
+ var import_before_after_hook = __nccwpck_require__(3635);
9556
9556
  var import_request = __nccwpck_require__(385);
9557
9557
  var import_graphql = __nccwpck_require__(6266);
9558
9558
  var import_auth_token = __nccwpck_require__(827);
@@ -10871,12 +10871,12 @@ var request = withDefaults(import_endpoint.endpoint, {
10871
10871
 
10872
10872
  /***/ }),
10873
10873
 
10874
- /***/ 7740:
10874
+ /***/ 3635:
10875
10875
  /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
10876
10876
 
10877
- var register = __nccwpck_require__(4618);
10878
- var addHook = __nccwpck_require__(7516);
10879
- var removeHook = __nccwpck_require__(6402);
10877
+ var register = __nccwpck_require__(8195);
10878
+ var addHook = __nccwpck_require__(8491);
10879
+ var removeHook = __nccwpck_require__(48);
10880
10880
 
10881
10881
  // bind with array of arguments: https://stackoverflow.com/a/21792913
10882
10882
  var bind = Function.bind;
@@ -10939,7 +10939,7 @@ module.exports.Collection = Hook.Collection;
10939
10939
 
10940
10940
  /***/ }),
10941
10941
 
10942
- /***/ 7516:
10942
+ /***/ 8491:
10943
10943
  /***/ ((module) => {
10944
10944
 
10945
10945
  module.exports = addHook;
@@ -10992,7 +10992,7 @@ function addHook(state, kind, name, hook) {
10992
10992
 
10993
10993
  /***/ }),
10994
10994
 
10995
- /***/ 4618:
10995
+ /***/ 8195:
10996
10996
  /***/ ((module) => {
10997
10997
 
10998
10998
  module.exports = register;
@@ -11026,7 +11026,7 @@ function register(state, name, method, options) {
11026
11026
 
11027
11027
  /***/ }),
11028
11028
 
11029
- /***/ 6402:
11029
+ /***/ 48:
11030
11030
  /***/ ((module) => {
11031
11031
 
11032
11032
  module.exports = removeHook;
@@ -48786,7 +48786,7 @@ const testSet = (set, version, options) => {
48786
48786
 
48787
48787
  const debug = __nccwpck_require__(3619)
48788
48788
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(9073)
48789
- const { safeRe: re, t } = __nccwpck_require__(4063)
48789
+ const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(4063)
48790
48790
 
48791
48791
  const parseOptions = __nccwpck_require__(6772)
48792
48792
  const { compareIdentifiers } = __nccwpck_require__(8587)
@@ -48796,7 +48796,7 @@ class SemVer {
48796
48796
 
48797
48797
  if (version instanceof SemVer) {
48798
48798
  if (version.loose === !!options.loose &&
48799
- version.includePrerelease === !!options.includePrerelease) {
48799
+ version.includePrerelease === !!options.includePrerelease) {
48800
48800
  return version
48801
48801
  } else {
48802
48802
  version = version.version
@@ -48962,6 +48962,20 @@ class SemVer {
48962
48962
  // preminor will bump the version up to the next minor release, and immediately
48963
48963
  // down to pre-release. premajor and prepatch work the same way.
48964
48964
  inc (release, identifier, identifierBase) {
48965
+ if (release.startsWith('pre')) {
48966
+ if (!identifier && identifierBase === false) {
48967
+ throw new Error('invalid increment argument: identifier is empty')
48968
+ }
48969
+ // Avoid an invalid semver results
48970
+ if (identifier) {
48971
+ const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
48972
+ const match = `-${identifier}`.match(r)
48973
+ if (!match || match[1] !== identifier) {
48974
+ throw new Error(`invalid identifier: ${identifier}`)
48975
+ }
48976
+ }
48977
+ }
48978
+
48965
48979
  switch (release) {
48966
48980
  case 'premajor':
48967
48981
  this.prerelease.length = 0
@@ -48992,6 +49006,12 @@ class SemVer {
48992
49006
  }
48993
49007
  this.inc('pre', identifier, identifierBase)
48994
49008
  break
49009
+ case 'release':
49010
+ if (this.prerelease.length === 0) {
49011
+ throw new Error(`version ${this.raw} is not a prerelease`)
49012
+ }
49013
+ this.prerelease.length = 0
49014
+ break
48995
49015
 
48996
49016
  case 'major':
48997
49017
  // If this is a pre-major version, bump up to the same major version.
@@ -49035,10 +49055,6 @@ class SemVer {
49035
49055
  case 'pre': {
49036
49056
  const base = Number(identifierBase) ? 1 : 0
49037
49057
 
49038
- if (!identifier && identifierBase === false) {
49039
- throw new Error('invalid increment argument: identifier is empty')
49040
- }
49041
-
49042
49058
  if (this.prerelease.length === 0) {
49043
49059
  this.prerelease = [base]
49044
49060
  } else {
@@ -49297,20 +49313,13 @@ const diff = (version1, version2) => {
49297
49313
  return 'major'
49298
49314
  }
49299
49315
 
49300
- // Otherwise it can be determined by checking the high version
49301
-
49302
- if (highVersion.patch) {
49303
- // anything higher than a patch bump would result in the wrong version
49316
+ // If the main part has no difference
49317
+ if (lowVersion.compareMain(highVersion) === 0) {
49318
+ if (lowVersion.minor && !lowVersion.patch) {
49319
+ return 'minor'
49320
+ }
49304
49321
  return 'patch'
49305
49322
  }
49306
-
49307
- if (highVersion.minor) {
49308
- // anything higher than a minor bump would result in the wrong version
49309
- return 'minor'
49310
- }
49311
-
49312
- // bumping major/minor/patch all have same result
49313
- return 'major'
49314
49323
  }
49315
49324
 
49316
49325
  // add the `pre` prefix if we are going to a prerelease version
@@ -49817,6 +49826,7 @@ exports = module.exports = {}
49817
49826
  const re = exports.re = []
49818
49827
  const safeRe = exports.safeRe = []
49819
49828
  const src = exports.src = []
49829
+ const safeSrc = exports.safeSrc = []
49820
49830
  const t = exports.t = {}
49821
49831
  let R = 0
49822
49832
 
@@ -49849,6 +49859,7 @@ const createToken = (name, value, isGlobal) => {
49849
49859
  debug(name, index, value)
49850
49860
  t[name] = index
49851
49861
  src[index] = value
49862
+ safeSrc[index] = safe
49852
49863
  re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
49853
49864
  safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
49854
49865
  }
@@ -54605,8 +54616,7 @@ exports.ComponentPaths = [
54605
54616
  'spec/platformOwner',
54606
54617
  'spec/provisioner',
54607
54618
  'spec/provisioner/org',
54608
- 'spec/provisioner/orgVisibility',
54609
- 'spec/provisioner/orgContributions',
54619
+ 'spec/provisioner/orgPermissions',
54610
54620
  'spec/provisioner/technology',
54611
54621
  'spec/provisioner/technology/stack',
54612
54622
  'spec/provisioner/technology/version',