@postman-cse/onboarding-repo-sync 2.1.15 → 2.1.17

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.
package/dist/action.cjs CHANGED
@@ -132476,6 +132476,17 @@ function addMappingEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd,
132476
132476
  style
132477
132477
  });
132478
132478
  }
132479
+ function insertFlowPairMappingEvent(state, snapshot) {
132480
+ state.events.splice(snapshot.eventsLength, 0, {
132481
+ type: 3,
132482
+ start: snapshot.position,
132483
+ anchorStart: NO_RANGE$1,
132484
+ anchorEnd: NO_RANGE$1,
132485
+ tagStart: NO_RANGE$1,
132486
+ tagEnd: NO_RANGE$1,
132487
+ style: 2
132488
+ });
132489
+ }
132479
132490
  function addScalarEvent(state, valueStart, valueEnd, anchorStart, anchorEnd, tagStart, tagEnd, style, chomping = 1, indent = -1, fast = false) {
132480
132491
  state.events.push({
132481
132492
  type: 4,
@@ -132919,12 +132930,8 @@ function readFlowCollection(state, nodeIndent, props) {
132919
132930
  state.position++;
132920
132931
  skipFlowSeparationSpace(state, nodeIndent);
132921
132932
  if (!isMapping) {
132922
- restoreState(state, entryStart);
132923
- addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
132924
- if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
132925
- skipFlowSeparationSpace(state, nodeIndent);
132926
- state.position++;
132927
- skipFlowSeparationSpace(state, nodeIndent);
132933
+ insertFlowPairMappingEvent(state, entryStart);
132934
+ if (!keyWasRead) addEmptyScalarEvent(state);
132928
132935
  } else if (!keyWasRead) addEmptyScalarEvent(state);
132929
132936
  if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
132930
132937
  skipFlowSeparationSpace(state, nodeIndent);
@@ -132934,9 +132941,8 @@ function readFlowCollection(state, nodeIndent, props) {
132934
132941
  addEmptyScalarEvent(state);
132935
132942
  } else if (isMapping) addEmptyScalarEvent(state);
132936
132943
  else if (isPair) {
132937
- restoreState(state, entryStart);
132938
- addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
132939
- parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
132944
+ insertFlowPairMappingEvent(state, entryStart);
132945
+ if (!keyWasRead) addEmptyScalarEvent(state);
132940
132946
  addEmptyScalarEvent(state);
132941
132947
  addPopEvent(state);
132942
132948
  }
@@ -133573,7 +133579,7 @@ function isNsCharOrWhitespace(c) {
133573
133579
  function isPlainSafe(c, prev, inblock) {
133574
133580
  const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
133575
133581
  const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
133576
- return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar;
133582
+ return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar && (inblock || c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET);
133577
133583
  }
133578
133584
  function isPlainSafeFirst(c) {
133579
133585
  return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
@@ -140816,5 +140822,5 @@ postman-collection/index.js:
140816
140822
  *)
140817
140823
 
140818
140824
  js-yaml/dist/js-yaml.mjs:
140819
- (*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT *)
140825
+ (*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT *)
140820
140826
  */
package/dist/cli.cjs CHANGED
@@ -130581,6 +130581,17 @@ function addMappingEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd,
130581
130581
  style
130582
130582
  });
130583
130583
  }
130584
+ function insertFlowPairMappingEvent(state, snapshot) {
130585
+ state.events.splice(snapshot.eventsLength, 0, {
130586
+ type: 3,
130587
+ start: snapshot.position,
130588
+ anchorStart: NO_RANGE$1,
130589
+ anchorEnd: NO_RANGE$1,
130590
+ tagStart: NO_RANGE$1,
130591
+ tagEnd: NO_RANGE$1,
130592
+ style: 2
130593
+ });
130594
+ }
130584
130595
  function addScalarEvent(state, valueStart, valueEnd, anchorStart, anchorEnd, tagStart, tagEnd, style, chomping = 1, indent = -1, fast = false) {
130585
130596
  state.events.push({
130586
130597
  type: 4,
@@ -131024,12 +131035,8 @@ function readFlowCollection(state, nodeIndent, props) {
131024
131035
  state.position++;
131025
131036
  skipFlowSeparationSpace(state, nodeIndent);
131026
131037
  if (!isMapping) {
131027
- restoreState(state, entryStart);
131028
- addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
131029
- if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
131030
- skipFlowSeparationSpace(state, nodeIndent);
131031
- state.position++;
131032
- skipFlowSeparationSpace(state, nodeIndent);
131038
+ insertFlowPairMappingEvent(state, entryStart);
131039
+ if (!keyWasRead) addEmptyScalarEvent(state);
131033
131040
  } else if (!keyWasRead) addEmptyScalarEvent(state);
131034
131041
  if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
131035
131042
  skipFlowSeparationSpace(state, nodeIndent);
@@ -131039,9 +131046,8 @@ function readFlowCollection(state, nodeIndent, props) {
131039
131046
  addEmptyScalarEvent(state);
131040
131047
  } else if (isMapping) addEmptyScalarEvent(state);
131041
131048
  else if (isPair) {
131042
- restoreState(state, entryStart);
131043
- addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
131044
- parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
131049
+ insertFlowPairMappingEvent(state, entryStart);
131050
+ if (!keyWasRead) addEmptyScalarEvent(state);
131045
131051
  addEmptyScalarEvent(state);
131046
131052
  addPopEvent(state);
131047
131053
  }
@@ -131678,7 +131684,7 @@ function isNsCharOrWhitespace(c) {
131678
131684
  function isPlainSafe(c, prev, inblock) {
131679
131685
  const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
131680
131686
  const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
131681
- return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar;
131687
+ return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar && (inblock || c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET);
131682
131688
  }
131683
131689
  function isPlainSafeFirst(c) {
131684
131690
  return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
@@ -139636,5 +139642,5 @@ postman-collection/index.js:
139636
139642
  *)
139637
139643
 
139638
139644
  js-yaml/dist/js-yaml.mjs:
139639
- (*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT *)
139645
+ (*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT *)
139640
139646
  */
package/dist/index.cjs CHANGED
@@ -132498,6 +132498,17 @@ function addMappingEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd,
132498
132498
  style
132499
132499
  });
132500
132500
  }
132501
+ function insertFlowPairMappingEvent(state, snapshot) {
132502
+ state.events.splice(snapshot.eventsLength, 0, {
132503
+ type: 3,
132504
+ start: snapshot.position,
132505
+ anchorStart: NO_RANGE$1,
132506
+ anchorEnd: NO_RANGE$1,
132507
+ tagStart: NO_RANGE$1,
132508
+ tagEnd: NO_RANGE$1,
132509
+ style: 2
132510
+ });
132511
+ }
132501
132512
  function addScalarEvent(state, valueStart, valueEnd, anchorStart, anchorEnd, tagStart, tagEnd, style, chomping = 1, indent = -1, fast = false) {
132502
132513
  state.events.push({
132503
132514
  type: 4,
@@ -132941,12 +132952,8 @@ function readFlowCollection(state, nodeIndent, props) {
132941
132952
  state.position++;
132942
132953
  skipFlowSeparationSpace(state, nodeIndent);
132943
132954
  if (!isMapping) {
132944
- restoreState(state, entryStart);
132945
- addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
132946
- if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
132947
- skipFlowSeparationSpace(state, nodeIndent);
132948
- state.position++;
132949
- skipFlowSeparationSpace(state, nodeIndent);
132955
+ insertFlowPairMappingEvent(state, entryStart);
132956
+ if (!keyWasRead) addEmptyScalarEvent(state);
132950
132957
  } else if (!keyWasRead) addEmptyScalarEvent(state);
132951
132958
  if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
132952
132959
  skipFlowSeparationSpace(state, nodeIndent);
@@ -132956,9 +132963,8 @@ function readFlowCollection(state, nodeIndent, props) {
132956
132963
  addEmptyScalarEvent(state);
132957
132964
  } else if (isMapping) addEmptyScalarEvent(state);
132958
132965
  else if (isPair) {
132959
- restoreState(state, entryStart);
132960
- addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
132961
- parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
132966
+ insertFlowPairMappingEvent(state, entryStart);
132967
+ if (!keyWasRead) addEmptyScalarEvent(state);
132962
132968
  addEmptyScalarEvent(state);
132963
132969
  addPopEvent(state);
132964
132970
  }
@@ -133595,7 +133601,7 @@ function isNsCharOrWhitespace(c) {
133595
133601
  function isPlainSafe(c, prev, inblock) {
133596
133602
  const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
133597
133603
  const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
133598
- return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar;
133604
+ return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar && (inblock || c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET);
133599
133605
  }
133600
133606
  function isPlainSafeFirst(c) {
133601
133607
  return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
@@ -140851,5 +140857,5 @@ postman-collection/index.js:
140851
140857
  *)
140852
140858
 
140853
140859
  js-yaml/dist/js-yaml.mjs:
140854
- (*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT *)
140860
+ (*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT *)
140855
140861
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-cse/onboarding-repo-sync",
3
- "version": "2.1.15",
3
+ "version": "2.1.17",
4
4
  "description": "Postman repo sync GitHub Action.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",