@cypress/github-action 6.0.0 → 6.0.1

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 +94 -49
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6964,7 +6964,7 @@ const Constants = {
6964
6964
  /**
6965
6965
  * The core-http version
6966
6966
  */
6967
- coreHttpVersion: "3.0.0",
6967
+ coreHttpVersion: "3.0.2",
6968
6968
  /**
6969
6969
  * Specifies HTTP.
6970
6970
  */
@@ -7042,13 +7042,6 @@ const XML_CHARKEY = "_";
7042
7042
 
7043
7043
  // Copyright (c) Microsoft Corporation.
7044
7044
  const validUuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;
7045
- /**
7046
- * A constant that indicates whether the environment is node.js or browser based.
7047
- */
7048
- const isNode = typeof process !== "undefined" &&
7049
- !!process.version &&
7050
- !!process.versions &&
7051
- !!process.versions.node;
7052
7045
  /**
7053
7046
  * Encodes an URI.
7054
7047
  *
@@ -11729,7 +11722,7 @@ function createDefaultRequestPolicyFactories(authPolicyFactory, options) {
11729
11722
  factories.push(throttlingRetryPolicy());
11730
11723
  }
11731
11724
  factories.push(deserializationPolicy(options.deserializationContentTypes));
11732
- if (isNode) {
11725
+ if (coreUtil.isNode) {
11733
11726
  factories.push(proxyPolicy(options.proxySettings));
11734
11727
  }
11735
11728
  factories.push(logPolicy({ logger: logger.info }));
@@ -11761,7 +11754,7 @@ function createPipelineFromOptions(pipelineOptions, authPolicyFactory) {
11761
11754
  const keepAliveOptions = Object.assign(Object.assign({}, DefaultKeepAliveOptions), pipelineOptions.keepAliveOptions);
11762
11755
  const retryOptions = Object.assign(Object.assign({}, DefaultRetryOptions), pipelineOptions.retryOptions);
11763
11756
  const redirectOptions = Object.assign(Object.assign({}, DefaultRedirectOptions), pipelineOptions.redirectOptions);
11764
- if (isNode) {
11757
+ if (coreUtil.isNode) {
11765
11758
  requestPolicyFactories.push(proxyPolicy(pipelineOptions.proxyOptions));
11766
11759
  }
11767
11760
  const deserializationOptions = Object.assign(Object.assign({}, DefaultDeserializationOptions), pipelineOptions.deserializationOptions);
@@ -11774,7 +11767,7 @@ function createPipelineFromOptions(pipelineOptions, authPolicyFactory) {
11774
11767
  requestPolicyFactories.push(authPolicyFactory);
11775
11768
  }
11776
11769
  requestPolicyFactories.push(logPolicy(loggingOptions));
11777
- if (isNode && pipelineOptions.decompressResponse === false) {
11770
+ if (coreUtil.isNode && pipelineOptions.decompressResponse === false) {
11778
11771
  requestPolicyFactories.push(disableResponseDecompressionPolicy());
11779
11772
  }
11780
11773
  return {
@@ -11905,10 +11898,7 @@ function flattenResponse(_response, responseSpec) {
11905
11898
  }
11906
11899
  function getCredentialScopes(options, baseUri) {
11907
11900
  if (options === null || options === void 0 ? void 0 : options.credentialScopes) {
11908
- const scopes = options.credentialScopes;
11909
- return Array.isArray(scopes)
11910
- ? scopes.map((scope) => new URL(scope).toString())
11911
- : new URL(scopes).toString();
11901
+ return options.credentialScopes;
11912
11902
  }
11913
11903
  if (baseUri) {
11914
11904
  return `${baseUri}/.default`;
@@ -12141,6 +12131,10 @@ Object.defineProperty(exports, "delay", ({
12141
12131
  enumerable: true,
12142
12132
  get: function () { return coreUtil.delay; }
12143
12133
  }));
12134
+ Object.defineProperty(exports, "isNode", ({
12135
+ enumerable: true,
12136
+ get: function () { return coreUtil.isNode; }
12137
+ }));
12144
12138
  Object.defineProperty(exports, "isTokenCredential", ({
12145
12139
  enumerable: true,
12146
12140
  get: function () { return coreAuth.isTokenCredential; }
@@ -12180,7 +12174,6 @@ exports.generateUuid = generateUuid;
12180
12174
  exports.getDefaultProxySettings = getDefaultProxySettings;
12181
12175
  exports.getDefaultUserAgentValue = getDefaultUserAgentValue;
12182
12176
  exports.isDuration = isDuration;
12183
- exports.isNode = isNode;
12184
12177
  exports.isValidUuid = isValidUuid;
12185
12178
  exports.keepAlivePolicy = keepAlivePolicy;
12186
12179
  exports.logPolicy = logPolicy;
@@ -53184,6 +53177,7 @@ const statusCodeCacheableByDefault = new Set([
53184
53177
  206,
53185
53178
  300,
53186
53179
  301,
53180
+ 308,
53187
53181
  404,
53188
53182
  405,
53189
53183
  410,
@@ -53256,10 +53250,10 @@ function parseCacheControl(header) {
53256
53250
 
53257
53251
  // TODO: When there is more than one value present for a given directive (e.g., two Expires header fields, multiple Cache-Control: max-age directives),
53258
53252
  // the directive's value is considered invalid. Caches are encouraged to consider responses that have invalid freshness information to be stale
53259
- const parts = header.trim().split(/\s*,\s*/); // TODO: lame parsing
53253
+ const parts = header.trim().split(/,/);
53260
53254
  for (const part of parts) {
53261
- const [k, v] = part.split(/\s*=\s*/, 2);
53262
- cc[k] = v === undefined ? true : v.replace(/^"|"$/g, ''); // TODO: lame unquoting
53255
+ const [k, v] = part.split(/=/, 2);
53256
+ cc[k.trim()] = v === undefined ? true : v.trim().replace(/^"|"$/g, '');
53263
53257
  }
53264
53258
 
53265
53259
  return cc;
@@ -63861,8 +63855,11 @@ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
63861
63855
  // Max safe segment length for coercion.
63862
63856
  var MAX_SAFE_COMPONENT_LENGTH = 16
63863
63857
 
63858
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6
63859
+
63864
63860
  // The actual regexps go on exports.re
63865
63861
  var re = exports.re = []
63862
+ var safeRe = exports.safeRe = []
63866
63863
  var src = exports.src = []
63867
63864
  var t = exports.tokens = {}
63868
63865
  var R = 0
@@ -63871,6 +63868,31 @@ function tok (n) {
63871
63868
  t[n] = R++
63872
63869
  }
63873
63870
 
63871
+ var LETTERDASHNUMBER = '[a-zA-Z0-9-]'
63872
+
63873
+ // Replace some greedy regex tokens to prevent regex dos issues. These regex are
63874
+ // used internally via the safeRe object since all inputs in this library get
63875
+ // normalized first to trim and collapse all extra whitespace. The original
63876
+ // regexes are exported for userland consumption and lower level usage. A
63877
+ // future breaking change could export the safer regex only with a note that
63878
+ // all input should have extra whitespace removed.
63879
+ var safeRegexReplacements = [
63880
+ ['\\s', 1],
63881
+ ['\\d', MAX_LENGTH],
63882
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
63883
+ ]
63884
+
63885
+ function makeSafeRe (value) {
63886
+ for (var i = 0; i < safeRegexReplacements.length; i++) {
63887
+ var token = safeRegexReplacements[i][0]
63888
+ var max = safeRegexReplacements[i][1]
63889
+ value = value
63890
+ .split(token + '*').join(token + '{0,' + max + '}')
63891
+ .split(token + '+').join(token + '{1,' + max + '}')
63892
+ }
63893
+ return value
63894
+ }
63895
+
63874
63896
  // The following Regular Expressions can be used for tokenizing,
63875
63897
  // validating, and parsing SemVer version strings.
63876
63898
 
@@ -63880,14 +63902,14 @@ function tok (n) {
63880
63902
  tok('NUMERICIDENTIFIER')
63881
63903
  src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*'
63882
63904
  tok('NUMERICIDENTIFIERLOOSE')
63883
- src[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+'
63905
+ src[t.NUMERICIDENTIFIERLOOSE] = '\\d+'
63884
63906
 
63885
63907
  // ## Non-numeric Identifier
63886
63908
  // Zero or more digits, followed by a letter or hyphen, and then zero or
63887
63909
  // more letters, digits, or hyphens.
63888
63910
 
63889
63911
  tok('NONNUMERICIDENTIFIER')
63890
- src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*'
63912
+ src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'
63891
63913
 
63892
63914
  // ## Main Version
63893
63915
  // Three dot-separated numeric identifiers.
@@ -63929,7 +63951,7 @@ src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +
63929
63951
  // Any combination of digits, letters, or hyphens.
63930
63952
 
63931
63953
  tok('BUILDIDENTIFIER')
63932
- src[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+'
63954
+ src[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'
63933
63955
 
63934
63956
  // ## Build Metadata
63935
63957
  // Plus sign, followed by one or more period-separated build metadata
@@ -64009,6 +64031,7 @@ src[t.COERCE] = '(^|[^\\d])' +
64009
64031
  '(?:$|[^\\d])'
64010
64032
  tok('COERCERTL')
64011
64033
  re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')
64034
+ safeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')
64012
64035
 
64013
64036
  // Tilde ranges.
64014
64037
  // Meaning is "reasonably at or greater than"
@@ -64018,6 +64041,7 @@ src[t.LONETILDE] = '(?:~>?)'
64018
64041
  tok('TILDETRIM')
64019
64042
  src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+'
64020
64043
  re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')
64044
+ safeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')
64021
64045
  var tildeTrimReplace = '$1~'
64022
64046
 
64023
64047
  tok('TILDE')
@@ -64033,6 +64057,7 @@ src[t.LONECARET] = '(?:\\^)'
64033
64057
  tok('CARETTRIM')
64034
64058
  src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+'
64035
64059
  re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')
64060
+ safeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')
64036
64061
  var caretTrimReplace = '$1^'
64037
64062
 
64038
64063
  tok('CARET')
@@ -64054,6 +64079,7 @@ src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] +
64054
64079
 
64055
64080
  // this one has to use the /g flag
64056
64081
  re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')
64082
+ safeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')
64057
64083
  var comparatorTrimReplace = '$1$2$3'
64058
64084
 
64059
64085
  // Something like `1.2.3 - 1.2.4`
@@ -64082,6 +64108,14 @@ for (var i = 0; i < R; i++) {
64082
64108
  debug(i, src[i])
64083
64109
  if (!re[i]) {
64084
64110
  re[i] = new RegExp(src[i])
64111
+
64112
+ // Replace all greedy whitespace to prevent regex dos issues. These regex are
64113
+ // used internally via the safeRe object since all inputs in this library get
64114
+ // normalized first to trim and collapse all extra whitespace. The original
64115
+ // regexes are exported for userland consumption and lower level usage. A
64116
+ // future breaking change could export the safer regex only with a note that
64117
+ // all input should have extra whitespace removed.
64118
+ safeRe[i] = new RegExp(makeSafeRe(src[i]))
64085
64119
  }
64086
64120
  }
64087
64121
 
@@ -64106,7 +64140,7 @@ function parse (version, options) {
64106
64140
  return null
64107
64141
  }
64108
64142
 
64109
- var r = options.loose ? re[t.LOOSE] : re[t.FULL]
64143
+ var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]
64110
64144
  if (!r.test(version)) {
64111
64145
  return null
64112
64146
  }
@@ -64161,7 +64195,7 @@ function SemVer (version, options) {
64161
64195
  this.options = options
64162
64196
  this.loose = !!options.loose
64163
64197
 
64164
- var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])
64198
+ var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL])
64165
64199
 
64166
64200
  if (!m) {
64167
64201
  throw new TypeError('Invalid Version: ' + version)
@@ -64606,6 +64640,7 @@ function Comparator (comp, options) {
64606
64640
  return new Comparator(comp, options)
64607
64641
  }
64608
64642
 
64643
+ comp = comp.trim().split(/\s+/).join(' ')
64609
64644
  debug('comparator', comp, options)
64610
64645
  this.options = options
64611
64646
  this.loose = !!options.loose
@@ -64622,7 +64657,7 @@ function Comparator (comp, options) {
64622
64657
 
64623
64658
  var ANY = {}
64624
64659
  Comparator.prototype.parse = function (comp) {
64625
- var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
64660
+ var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]
64626
64661
  var m = comp.match(r)
64627
64662
 
64628
64663
  if (!m) {
@@ -64746,9 +64781,16 @@ function Range (range, options) {
64746
64781
  this.loose = !!options.loose
64747
64782
  this.includePrerelease = !!options.includePrerelease
64748
64783
 
64749
- // First, split based on boolean or ||
64784
+ // First reduce all whitespace as much as possible so we do not have to rely
64785
+ // on potentially slow regexes like \s*. This is then stored and used for
64786
+ // future error messages as well.
64750
64787
  this.raw = range
64751
- this.set = range.split(/\s*\|\|\s*/).map(function (range) {
64788
+ .trim()
64789
+ .split(/\s+/)
64790
+ .join(' ')
64791
+
64792
+ // First, split based on boolean or ||
64793
+ this.set = this.raw.split('||').map(function (range) {
64752
64794
  return this.parseRange(range.trim())
64753
64795
  }, this).filter(function (c) {
64754
64796
  // throw out any that are not relevant for whatever reason
@@ -64756,7 +64798,7 @@ function Range (range, options) {
64756
64798
  })
64757
64799
 
64758
64800
  if (!this.set.length) {
64759
- throw new TypeError('Invalid SemVer Range: ' + range)
64801
+ throw new TypeError('Invalid SemVer Range: ' + this.raw)
64760
64802
  }
64761
64803
 
64762
64804
  this.format()
@@ -64775,20 +64817,19 @@ Range.prototype.toString = function () {
64775
64817
 
64776
64818
  Range.prototype.parseRange = function (range) {
64777
64819
  var loose = this.options.loose
64778
- range = range.trim()
64779
64820
  // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
64780
- var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
64821
+ var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]
64781
64822
  range = range.replace(hr, hyphenReplace)
64782
64823
  debug('hyphen replace', range)
64783
64824
  // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
64784
- range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
64785
- debug('comparator trim', range, re[t.COMPARATORTRIM])
64825
+ range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)
64826
+ debug('comparator trim', range, safeRe[t.COMPARATORTRIM])
64786
64827
 
64787
64828
  // `~ 1.2.3` => `~1.2.3`
64788
- range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
64829
+ range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)
64789
64830
 
64790
64831
  // `^ 1.2.3` => `^1.2.3`
64791
- range = range.replace(re[t.CARETTRIM], caretTrimReplace)
64832
+ range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace)
64792
64833
 
64793
64834
  // normalize spaces
64794
64835
  range = range.split(/\s+/).join(' ')
@@ -64796,7 +64837,7 @@ Range.prototype.parseRange = function (range) {
64796
64837
  // At this point, the range is completely trimmed and
64797
64838
  // ready to be split into comparators.
64798
64839
 
64799
- var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
64840
+ var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]
64800
64841
  var set = range.split(' ').map(function (comp) {
64801
64842
  return parseComparator(comp, this.options)
64802
64843
  }, this).join(' ').split(/\s+/)
@@ -64896,7 +64937,7 @@ function replaceTildes (comp, options) {
64896
64937
  }
64897
64938
 
64898
64939
  function replaceTilde (comp, options) {
64899
- var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]
64940
+ var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]
64900
64941
  return comp.replace(r, function (_, M, m, p, pr) {
64901
64942
  debug('tilde', comp, _, M, m, p, pr)
64902
64943
  var ret
@@ -64937,7 +64978,7 @@ function replaceCarets (comp, options) {
64937
64978
 
64938
64979
  function replaceCaret (comp, options) {
64939
64980
  debug('caret', comp, options)
64940
- var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]
64981
+ var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]
64941
64982
  return comp.replace(r, function (_, M, m, p, pr) {
64942
64983
  debug('caret', comp, _, M, m, p, pr)
64943
64984
  var ret
@@ -64996,7 +65037,7 @@ function replaceXRanges (comp, options) {
64996
65037
 
64997
65038
  function replaceXRange (comp, options) {
64998
65039
  comp = comp.trim()
64999
- var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]
65040
+ var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]
65000
65041
  return comp.replace(r, function (ret, gtlt, M, m, p, pr) {
65001
65042
  debug('xRange', comp, ret, gtlt, M, m, p, pr)
65002
65043
  var xM = isX(M)
@@ -65071,7 +65112,7 @@ function replaceXRange (comp, options) {
65071
65112
  function replaceStars (comp, options) {
65072
65113
  debug('replaceStars', comp, options)
65073
65114
  // Looseness is ignored here. star is always as loose as it gets!
65074
- return comp.trim().replace(re[t.STAR], '')
65115
+ return comp.trim().replace(safeRe[t.STAR], '')
65075
65116
  }
65076
65117
 
65077
65118
  // This function is passed to string.replace(re[t.HYPHENRANGE])
@@ -65397,7 +65438,7 @@ function coerce (version, options) {
65397
65438
 
65398
65439
  var match = null
65399
65440
  if (!options.rtl) {
65400
- match = version.match(re[t.COERCE])
65441
+ match = version.match(safeRe[t.COERCE])
65401
65442
  } else {
65402
65443
  // Find the right-most coercible string that does not share
65403
65444
  // a terminus with a more left-ward coercible string.
@@ -65408,17 +65449,17 @@ function coerce (version, options) {
65408
65449
  // Stop when we get a match that ends at the string end, since no
65409
65450
  // coercible string can be more right-ward without the same terminus.
65410
65451
  var next
65411
- while ((next = re[t.COERCERTL].exec(version)) &&
65452
+ while ((next = safeRe[t.COERCERTL].exec(version)) &&
65412
65453
  (!match || match.index + match[0].length !== version.length)
65413
65454
  ) {
65414
65455
  if (!match ||
65415
65456
  next.index + next[0].length !== match.index + match[0].length) {
65416
65457
  match = next
65417
65458
  }
65418
- re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length
65459
+ safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length
65419
65460
  }
65420
65461
  // leave it in a clean state
65421
- re[t.COERCERTL].lastIndex = -1
65462
+ safeRe[t.COERCERTL].lastIndex = -1
65422
65463
  }
65423
65464
 
65424
65465
  if (match === null) {
@@ -69154,14 +69195,14 @@ function wrappy (fn, cb) {
69154
69195
  this.saxParser.onopentag = (function(_this) {
69155
69196
  return function(node) {
69156
69197
  var key, newValue, obj, processedKey, ref;
69157
- obj = {};
69198
+ obj = Object.create(null);
69158
69199
  obj[charkey] = "";
69159
69200
  if (!_this.options.ignoreAttrs) {
69160
69201
  ref = node.attributes;
69161
69202
  for (key in ref) {
69162
69203
  if (!hasProp.call(ref, key)) continue;
69163
69204
  if (!(attrkey in obj) && !_this.options.mergeAttrs) {
69164
- obj[attrkey] = {};
69205
+ obj[attrkey] = Object.create(null);
69165
69206
  }
69166
69207
  newValue = _this.options.attrValueProcessors ? processItem(_this.options.attrValueProcessors, node.attributes[key], key) : node.attributes[key];
69167
69208
  processedKey = _this.options.attrNameProcessors ? processItem(_this.options.attrNameProcessors, key) : key;
@@ -69211,7 +69252,11 @@ function wrappy (fn, cb) {
69211
69252
  }
69212
69253
  }
69213
69254
  if (isEmpty(obj)) {
69214
- obj = _this.options.emptyTag !== '' ? _this.options.emptyTag : emptyStr;
69255
+ if (typeof _this.options.emptyTag === 'function') {
69256
+ obj = _this.options.emptyTag();
69257
+ } else {
69258
+ obj = _this.options.emptyTag !== '' ? _this.options.emptyTag : emptyStr;
69259
+ }
69215
69260
  }
69216
69261
  if (_this.options.validator != null) {
69217
69262
  xpath = "/" + ((function() {
@@ -69235,7 +69280,7 @@ function wrappy (fn, cb) {
69235
69280
  }
69236
69281
  if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') {
69237
69282
  if (!_this.options.preserveChildrenOrder) {
69238
- node = {};
69283
+ node = Object.create(null);
69239
69284
  if (_this.options.attrkey in obj) {
69240
69285
  node[_this.options.attrkey] = obj[_this.options.attrkey];
69241
69286
  delete obj[_this.options.attrkey];
@@ -69250,7 +69295,7 @@ function wrappy (fn, cb) {
69250
69295
  obj = node;
69251
69296
  } else if (s) {
69252
69297
  s[_this.options.childkey] = s[_this.options.childkey] || [];
69253
- objClone = {};
69298
+ objClone = Object.create(null);
69254
69299
  for (key in obj) {
69255
69300
  if (!hasProp.call(obj, key)) continue;
69256
69301
  objClone[key] = obj[key];
@@ -69267,7 +69312,7 @@ function wrappy (fn, cb) {
69267
69312
  } else {
69268
69313
  if (_this.options.explicitRoot) {
69269
69314
  old = obj;
69270
- obj = {};
69315
+ obj = Object.create(null);
69271
69316
  obj[nodeName] = old;
69272
69317
  }
69273
69318
  _this.resultObject = obj;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress/github-action",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "GitHub Action for running Cypress end-to-end and component tests",
5
5
  "private": false,
6
6
  "main": "dist/index.js",