n8n-editor-ui 1.62.2 → 1.63.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 (126) hide show
  1. package/dist/assets/@jsplumb/{browser-ui-BphmFVJY.js → browser-ui-D3WTv2iL.js} +41 -76
  2. package/dist/assets/@jsplumb/{common-s1StEx7B.js → common-Cn2WooAp.js} +3 -6
  3. package/dist/assets/@jsplumb/{connector-bezier-D659hq4c.js → connector-bezier-BsoOTqok.js} +16 -29
  4. package/dist/assets/@jsplumb/{core-B__RSZHf.js → core-DLCSr9D4.js} +33 -57
  5. package/dist/assets/@jsplumb/{util-BwtpiQ4c.js → util-DggqnqQo.js} +12 -24
  6. package/dist/assets/@lezer/{common-CnY9etib.js → common-Bs5t-XhT.js} +93 -97
  7. package/dist/assets/@n8n/api-types-Clq_Leox.js +1 -0
  8. package/dist/assets/@n8n/{codemirror-lang-CIGGB1t0.js → codemirror-lang-Bizw8G99.js} +168 -196
  9. package/dist/assets/@n8n/{codemirror-lang-sql-Bygy_eOg.js → codemirror-lang-sql-C9sfSTUi.js} +61 -65
  10. package/dist/assets/@sentry/{vue-UFuYeDxK.js → vue-By9cUXYj.js} +217 -261
  11. package/dist/assets/@vue-flow/{background-VFdKMN89.js → background-B1J8rodd.js} +2 -2
  12. package/dist/assets/@vue-flow/{controls-ByUYVWad.js → controls-B4bXJQnK.js} +2 -2
  13. package/dist/assets/@vue-flow/{core-DgOSPOHv.js → core-tETEFGtP.js} +3116 -3001
  14. package/dist/assets/@vue-flow/{minimap-CXuyA5pl.js → minimap-CGW7BbeH.js} +13 -7
  15. package/dist/assets/@vue-flow/{node-resizer-BiyXe9J3.js → node-resizer-C7hxX6Ea.js} +2 -2
  16. package/dist/assets/@vueuse/{core-DVjv2hwE.js → core-BTO0AmLR.js} +5 -8
  17. package/dist/assets/{AnnotationTagsDropdown.ee-DCIPUepk.js → AnnotationTagsDropdown.ee-CEthDL8s.js} +4 -5
  18. package/dist/assets/{AuthView-DUPyWTzP.js → AuthView-Dtllm2Hm.js} +4 -4
  19. package/dist/assets/{CanvasControls-Bp-Hti67.js → CanvasControls-3e7GyyWC.js} +27 -27
  20. package/dist/assets/{ChangePasswordView-D-ZXDCSs.js → ChangePasswordView-RbBzZKmy.js} +30 -32
  21. package/dist/assets/{CredentialsView-CfTFJvIh.js → CredentialsView-BEobbBhB.js} +217 -212
  22. package/dist/assets/{ErrorView-QGaMA0LX.js → ErrorView-Dig_858_.js} +27 -27
  23. package/dist/assets/{ExecutionsFilter-Bck1b8Ij.js → ExecutionsFilter-D4gTpteQ.js} +4 -4
  24. package/dist/assets/{ExecutionsView-CzoIB_Xb.js → ExecutionsView-BzDdfbTp.js} +30 -30
  25. package/dist/assets/{FixedCollectionParameter-lpg6xB-C.js → FixedCollectionParameter-B1iBnOzV.js} +27 -27
  26. package/dist/assets/{ForgotMyPasswordView-CuYZWaqe.js → ForgotMyPasswordView-DrecvRAt.js} +28 -28
  27. package/dist/assets/{MainHeader-CyQZuyFo.js → MainHeader-BGBc_yGt.js} +45 -52
  28. package/dist/assets/{MainHeader-PNFUlNPa.css → MainHeader-m131IPYi.css} +9 -9
  29. package/dist/assets/{MainSidebar-K1l1zimY.js → MainSidebar-CGoARd9G.js} +28 -28
  30. package/dist/assets/{NodeCreation-BwNEef4i.js → NodeCreation-CJ4p9t6U.js} +14 -21
  31. package/dist/assets/{NodeCreator-B8E-cqcN.js → NodeCreator-MlJNsM5w.js} +68 -94
  32. package/dist/assets/{NodeViewSwitcher-DZNvWE_C.css → NodeViewSwitcher-BMWd0Gm9.css} +166 -128
  33. package/dist/assets/{NodeViewSwitcher-BiAFccgP.js → NodeViewSwitcher-CPwqYIKa.js} +647 -632
  34. package/dist/assets/{ProjectCardBadge-Bm4smn6X.js → ProjectCardBadge-Dsi1FktR.js} +2 -2
  35. package/dist/assets/{ProjectSettings-C0vFQjA7.js → ProjectSettings-NxkU_5Cm.js} +29 -30
  36. package/dist/assets/{ProjectTabs-BaktqVTx.js → ProjectTabs-BNt9vnB4.js} +3 -3
  37. package/dist/assets/{PushConnectionTracker-CgYWwLIC.js → PushConnectionTracker-BfyBSTsq.js} +4 -4
  38. package/dist/assets/{ResourcesListLayout-BWVlXJTF.js → ResourcesListLayout-wxQPFPh8.js} +4 -4
  39. package/dist/assets/{RunDataAi-BGOKfyvO.js → RunDataAi-BPXMLfKc.js} +11 -18
  40. package/dist/assets/{RunDataJson-Dpt6MF9e.js → RunDataJson-nHxoBXwc.js} +30 -30
  41. package/dist/assets/{RunDataJsonActions-8St1Hrls.js → RunDataJsonActions-CXjxyS8I.js} +28 -28
  42. package/dist/assets/{RunDataSearch-DSiRjRgH.js → RunDataSearch-_dTfLnCz.js} +27 -27
  43. package/dist/assets/{RunDataTable-C_7N0jmc.js → RunDataTable-Cle-Xlc9.js} +27 -27
  44. package/dist/assets/{SamlOnboarding-DZSla_S4.js → SamlOnboarding-DJd6oxdL.js} +29 -30
  45. package/dist/assets/{SettingsApiView-DT8DOVp4.js → SettingsApiView-B6K4GJFb.js} +29 -31
  46. package/dist/assets/{SettingsCommunityNodesView-CLIsL549.js → SettingsCommunityNodesView-BqLPWoe4.js} +31 -33
  47. package/dist/assets/{SettingsExternalSecrets-tTHThU03.js → SettingsExternalSecrets-hxNeJoPh.js} +28 -29
  48. package/dist/assets/{SettingsFakeDoorView-B1w2z2tW.js → SettingsFakeDoorView-B-CvApAQ.js} +27 -27
  49. package/dist/assets/{SettingsLdapView-CXjatsy2.js → SettingsLdapView-Cx9juILz.js} +31 -33
  50. package/dist/assets/{SettingsLogStreamingView-hVeF8Js7.js → SettingsLogStreamingView-DHdBwQLl.js} +31 -35
  51. package/dist/assets/{SettingsPersonalView-dPFbOBaU.js → SettingsPersonalView-BB52C_8a.js} +27 -27
  52. package/dist/assets/{SettingsSourceControl-iPHLpUWW.js → SettingsSourceControl-jvUljmfM.js} +28 -29
  53. package/dist/assets/{SettingsSso-D4kKt04i.js → SettingsSso-CtDqCHek.js} +27 -27
  54. package/dist/assets/{SettingsUsageAndPlan-DDB0UVxU.css → SettingsUsageAndPlan-B72odhIc.css} +30 -16
  55. package/dist/assets/{SettingsUsageAndPlan-DL4cSlMX.js → SettingsUsageAndPlan-DtE-8JQB.js} +110 -152
  56. package/dist/assets/{SettingsUsersView-DSKPJqAb.js → SettingsUsersView-D0fkCNqq.js} +27 -27
  57. package/dist/assets/{SettingsView-BDu7L_0_.js → SettingsView-Bdy1VVV5.js} +28 -28
  58. package/dist/assets/{SetupView-EXoXB-ik.js → SetupView-DZD5V-sp.js} +28 -28
  59. package/dist/assets/{SetupWorkflowCredentialsButton-BQelHZob.js → SetupWorkflowCredentialsButton-BniWA70J.js} +27 -27
  60. package/dist/assets/{SetupWorkflowFromTemplateView-0BtcqGD7.js → SetupWorkflowFromTemplateView-zPdNiNwz.js} +29 -29
  61. package/dist/assets/{SigninView-BaOFfcdg.js → SigninView-vhBJQAUq.js} +29 -30
  62. package/dist/assets/SignoutView-BvsyOBJl.js +57 -0
  63. package/dist/assets/{SignupView-CDCHJ_UU.js → SignupView-BnaxyfVy.js} +28 -28
  64. package/dist/assets/{TemplateDetails-CmiQhqfe.js → TemplateDetails-CgWak1sI.js} +4 -4
  65. package/dist/assets/{TemplateList-Cjfx-kvz.js → TemplateList-Dk-hIcwM.js} +3 -3
  66. package/dist/assets/{TemplatesCollectionView-BJoAQahB.js → TemplatesCollectionView-BykSqyyh.js} +31 -31
  67. package/dist/assets/{TemplatesSearchView-CcDOMLoo.js → TemplatesSearchView-Db3YPUKN.js} +30 -30
  68. package/dist/assets/{TemplatesView-S843Sfeg.js → TemplatesView-DSqSs2Fe.js} +3 -3
  69. package/dist/assets/{TemplatesWorkflowView-CJODvWh-.js → TemplatesWorkflowView-AcNIRcdH.js} +31 -31
  70. package/dist/assets/{VariablesView-CvCl_CSB.js → VariablesView-BDucuF4S.js} +29 -30
  71. package/dist/assets/{WorkerView-2i9FVRFh.js → WorkerView-Bt7mkvne.js} +33 -35
  72. package/dist/assets/{WorkflowActivator-vZvN6hnQ.js → WorkflowActivator-BBCmkXVM.js} +4 -4
  73. package/dist/assets/{WorkflowExecutionsInfoAccordion-Dat-XhDW.js → WorkflowExecutionsInfoAccordion-C1u1QoTS.js} +3 -3
  74. package/dist/assets/{WorkflowExecutionsLandingPage-BwaqELU2.js → WorkflowExecutionsLandingPage-DO0GNREn.js} +28 -28
  75. package/dist/assets/{WorkflowExecutionsPreview-CZbsi063.js → WorkflowExecutionsPreview-DKazVAlp.js} +31 -31
  76. package/dist/assets/{WorkflowExecutionsView-Dy-qrHuK.js → WorkflowExecutionsView-xQs2Ihb3.js} +33 -35
  77. package/dist/assets/{WorkflowHistory-D03vy7TN.js → WorkflowHistory-CRZhK8Sh.js} +30 -31
  78. package/dist/assets/{WorkflowOnboardingView-CnXznpEj.js → WorkflowOnboardingView-BLRc_Z_9.js} +27 -27
  79. package/dist/assets/{WorkflowPreview-Ch0qYfjN.js → WorkflowPreview-CpeWIc9m.js} +3 -3
  80. package/dist/assets/WorkflowsView-CADkCbWU.js +791 -0
  81. package/dist/assets/{axios-B4zXCSve.js → axios-BW6T4tHC.js} +12 -24
  82. package/dist/assets/{bowser-C3wWO1p5.js → bowser-CDCHPFWD.js} +16 -32
  83. package/dist/assets/{chart.js-DiBOFLDH.js → chart.js-BYpPl_l4.js} +1 -4
  84. package/dist/assets/{cloud-CxxrWb7j.js → cloud-CyEezfUz.js} +27 -27
  85. package/dist/assets/{codemirror-lang-html-n8n-COz1fWJn.js → codemirror-lang-html-n8n-BElKE4vf.js} +50 -92
  86. package/dist/assets/{dateFormatter-D2RNj1zt.js → dateFormatter-B-oph3V5.js} +1 -1
  87. package/dist/assets/{dateformat-DjCPSdAV.js → dateformat-BevCJF2z.js} +1 -1
  88. package/dist/assets/email-providers-Brdpqw-Z.js +1 -0
  89. package/dist/assets/{fast-json-stable-stringify-DSBIc8sQ.js → fast-json-stable-stringify-D9R5x91P.js} +11 -21
  90. package/dist/assets/{file-saver-Do8bJuLv.js → file-saver-Dbfm4l4I.js} +6 -11
  91. package/dist/assets/{flatted-D70IerrI.js → flatted-BLlNkUR-.js} +1 -2
  92. package/dist/assets/highlight.js-Brdpqw-Z.js +1 -0
  93. package/dist/assets/{humanize-duration-BPzNjE6S.js → humanize-duration-DdvB4QXM.js} +1 -1
  94. package/dist/assets/{index-CSBhQMYI.css → index-B5Pl_Rdy.css} +96 -21
  95. package/dist/assets/{index-B4ZmQmcP.js → index-DTqspxIG.js} +4487 -5975
  96. package/dist/assets/{jsonpath-C_2TkXL_.js → jsonpath--XXuA3UN.js} +92 -183
  97. package/dist/assets/{lodash-es-kRWQHL5K.js → lodash-es-DCRmYdQ5.js} +2 -1
  98. package/dist/assets/{luxon-Bt_g4NOb.js → luxon-N8mghSWH.js} +68 -136
  99. package/dist/assets/{n8n-2AIRllP4.css → n8n-C6KBCWah.css} +69 -27
  100. package/dist/assets/{n8n-B_ltL-ji.js → n8n-o-6nV4eX.js} +2297 -3491
  101. package/dist/assets/{pinia-CH9HlKCh.js → pinia-BWzoPyXU.js} +1 -1
  102. package/dist/assets/{prettier-DuWRKCwA.js → prettier-eWLVZldr.js} +332 -576
  103. package/dist/assets/{pushConnection.store-CUfZkZRc.js → pushConnection.store-BGMVJHP3.js} +4 -5
  104. package/dist/assets/{qrcode.vue-BxNS_c3b.js → qrcode.vue-BavVPFUM.js} +9 -18
  105. package/dist/assets/{templateActions-HBG0P7yi.js → templateActions-DOJZ_yY5.js} +1 -1
  106. package/dist/assets/{useBeforeUnload-DuM6ishT.js → useBeforeUnload-Tcm8t4ZF.js} +2 -2
  107. package/dist/assets/{useExecutionDebugging-BWhMgffE.js → useExecutionDebugging-CiwtVWXD.js} +2 -2
  108. package/dist/assets/{usePushConnection-37N3tZJ2.js → usePushConnection-CbB_XBsw.js} +7 -19
  109. package/dist/assets/{useUserHelpers-DqBuD9oN.js → useUserHelpers-CKYk9GNq.js} +1 -1
  110. package/dist/assets/{useWorkflowActivate-aYIkmCnj.js → useWorkflowActivate-C8RDXHeZ.js} +2 -2
  111. package/dist/assets/{uuid-BoySKAeK.js → uuid-DRDfXVM2.js} +2 -4
  112. package/dist/assets/{v3-infinite-loading-lAZO0HDs.js → v3-infinite-loading-CHlSsXAy.js} +1 -1
  113. package/dist/assets/{vendor-DCeaNtb_.js → vendor-D8YCjNHu.js} +18 -17
  114. package/dist/assets/{vue-agile-CyiHXD5R.js → vue-agile-Busf3nxn.js} +3 -3
  115. package/dist/assets/{vue-chartjs-CAJPqBur.js → vue-chartjs-DBNEiLG-.js} +3 -4
  116. package/dist/assets/{vue-i18n-CVQE9o3c.js → vue-i18n-CeifA_Nk.js} +2 -3
  117. package/dist/assets/{vue-json-pretty-DkJjhayc.js → vue-json-pretty-DHS8nWi_.js} +21 -40
  118. package/dist/assets/xss-Brdpqw-Z.js +1 -0
  119. package/dist/index.html +29 -29
  120. package/package.json +1 -1
  121. package/dist/assets/@n8n/api-types-Di8JQpRT.js +0 -1
  122. package/dist/assets/SignoutView-CB5tWChF.js +0 -57
  123. package/dist/assets/WorkflowsView-bdDn4gu_.js +0 -846
  124. package/dist/assets/email-providers-CUV6UfrV.js +0 -1
  125. package/dist/assets/highlight.js-CUV6UfrV.js +0 -1
  126. package/dist/assets/xss-CUV6UfrV.js +0 -1
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./n8n-B_ltL-ji.js";
1
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./n8n-o-6nV4eX.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -31,10 +31,8 @@ var jsonpath = jsonpath$1.exports;
31
31
  if (!n[o2]) {
32
32
  if (!t[o2]) {
33
33
  var a = typeof commonjsRequire == "function" && commonjsRequire;
34
- if (!u && a)
35
- return a(o2, true);
36
- if (i)
37
- return i(o2, true);
34
+ if (!u && a) return a(o2, true);
35
+ if (i) return i(o2, true);
38
36
  var f = new Error("Cannot find module '" + o2 + "'");
39
37
  throw f.code = "MODULE_NOT_FOUND", f;
40
38
  }
@@ -47,8 +45,7 @@ var jsonpath = jsonpath$1.exports;
47
45
  return n[o2].exports;
48
46
  }
49
47
  var i = typeof commonjsRequire == "function" && commonjsRequire;
50
- for (var o = 0; o < r.length; o++)
51
- s(r[o]);
48
+ for (var o = 0; o < r.length; o++) s(r[o]);
52
49
  return s;
53
50
  }({ "./aesprim": [function(require2, module3, exports3) {
54
51
  (function(root, factory) {
@@ -3228,13 +3225,11 @@ var jsonpath = jsonpath$1.exports;
3228
3225
  this._stash = [];
3229
3226
  },
3230
3227
  set: function(props) {
3231
- for (var k in props)
3232
- this._node[k] = props[k];
3228
+ for (var k in props) this._node[k] = props[k];
3233
3229
  return this._node;
3234
3230
  },
3235
3231
  node: function(obj) {
3236
- if (arguments.length)
3237
- this._node = obj;
3232
+ if (arguments.length) this._node = obj;
3238
3233
  return this._node;
3239
3234
  },
3240
3235
  push: function() {
@@ -3735,8 +3730,7 @@ var jsonpath = jsonpath$1.exports;
3735
3730
  Handlers.prototype.resolve = function(component) {
3736
3731
  var key = [component.operation, component.scope, component.expression.type].join("-");
3737
3732
  var method = this._fns[key];
3738
- if (!method)
3739
- throw new Error("couldn't resolve key: " + key);
3733
+ if (!method) throw new Error("couldn't resolve key: " + key);
3740
3734
  return method.bind(this);
3741
3735
  };
3742
3736
  Handlers.prototype.register = function(key, handler) {
@@ -3804,8 +3798,7 @@ var jsonpath = jsonpath$1.exports;
3804
3798
  var results = [];
3805
3799
  var nodes = jp2.nodes(partial, "$..*").slice(1);
3806
3800
  nodes.forEach(function(node) {
3807
- if (results.length >= count)
3808
- return;
3801
+ if (results.length >= count) return;
3809
3802
  component.expression.value.forEach(function(component2) {
3810
3803
  var _component = { operation: "subscript", scope: "child", expression: component2.expression };
3811
3804
  var handler = self2.resolve(_component);
@@ -3986,8 +3979,7 @@ var jsonpath = jsonpath$1.exports;
3986
3979
  assert.ok(path, "we need a path");
3987
3980
  if (arguments.length >= 3) {
3988
3981
  var node = this.nodes(obj, path).shift();
3989
- if (!node)
3990
- return this._vivify(obj, path, value);
3982
+ if (!node) return this._vivify(obj, path, value);
3991
3983
  var key = node.path.slice(-1).shift();
3992
3984
  var parent = this.parent(obj, this.stringify(node.path));
3993
3985
  parent[key] = value;
@@ -4032,24 +4024,19 @@ var jsonpath = jsonpath$1.exports;
4032
4024
  JSONPath.prototype.nodes = function(obj, string, count) {
4033
4025
  assert.ok(obj instanceof Object, "obj needs to be an object");
4034
4026
  assert.ok(string, "we need a path");
4035
- if (count === 0)
4036
- return [];
4027
+ if (count === 0) return [];
4037
4028
  var path = this.parser.parse(string);
4038
4029
  var handlers = this.handlers;
4039
4030
  var partials = [{ path: ["$"], value: obj }];
4040
4031
  var matches = [];
4041
- if (path.length && path[0].expression.type == "root")
4042
- path.shift();
4043
- if (!path.length)
4044
- return partials;
4032
+ if (path.length && path[0].expression.type == "root") path.shift();
4033
+ if (!path.length) return partials;
4045
4034
  path.forEach(function(component, index) {
4046
- if (matches.length >= count)
4047
- return;
4035
+ if (matches.length >= count) return;
4048
4036
  var handler = handlers.resolve(component);
4049
4037
  var _partials = [];
4050
4038
  partials.forEach(function(p) {
4051
- if (matches.length >= count)
4052
- return;
4039
+ if (matches.length >= count) return;
4053
4040
  var results = handler(component, p, count);
4054
4041
  if (index == path.length - 1) {
4055
4042
  matches = matches.concat(results || []);
@@ -4072,8 +4059,7 @@ var jsonpath = jsonpath$1.exports;
4072
4059
  };
4073
4060
  path = this._normalize(path);
4074
4061
  path.forEach(function(component) {
4075
- if (component.expression.type == "root")
4076
- return;
4062
+ if (component.expression.type == "root") return;
4077
4063
  var key = [component.scope, component.operation].join("-");
4078
4064
  var template = templates[key];
4079
4065
  var value;
@@ -4082,8 +4068,7 @@ var jsonpath = jsonpath$1.exports;
4082
4068
  } else {
4083
4069
  value = component.expression.value;
4084
4070
  }
4085
- if (!template)
4086
- throw new Error("couldn't find template " + key);
4071
+ if (!template) throw new Error("couldn't find template " + key);
4087
4072
  string += template.replace(/{{value}}/, value);
4088
4073
  });
4089
4074
  return string;
@@ -4095,8 +4080,7 @@ var jsonpath = jsonpath$1.exports;
4095
4080
  } else if (Array.isArray(path) && typeof path[0] == "string") {
4096
4081
  var _path = [{ expression: { type: "root", value: "$" } }];
4097
4082
  path.forEach(function(component, index) {
4098
- if (component == "$" && index === 0)
4099
- return;
4083
+ if (component == "$" && index === 0) return;
4100
4084
  if (typeof component == "string" && component.match("^" + dict.identifier + "$")) {
4101
4085
  _path.push({
4102
4086
  operation: "member",
@@ -4144,15 +4128,11 @@ var jsonpath = jsonpath$1.exports;
4144
4128
  module3.exports = Parser;
4145
4129
  }, { "../generated/parser": 1, "./grammar": 3 }], 7: [function(require2, module3, exports3) {
4146
4130
  module3.exports = function(arr, start, end, step) {
4147
- if (typeof start == "string")
4148
- throw new Error("start cannot be a string");
4149
- if (typeof end == "string")
4150
- throw new Error("end cannot be a string");
4151
- if (typeof step == "string")
4152
- throw new Error("step cannot be a string");
4131
+ if (typeof start == "string") throw new Error("start cannot be a string");
4132
+ if (typeof end == "string") throw new Error("end cannot be a string");
4133
+ if (typeof step == "string") throw new Error("step cannot be a string");
4153
4134
  var len = arr.length;
4154
- if (step === 0)
4155
- throw new Error("step cannot be zero");
4135
+ if (step === 0) throw new Error("step cannot be zero");
4156
4136
  step = step ? integer(step) : 1;
4157
4137
  start = start < 0 ? len + start : start;
4158
4138
  end = end < 0 ? len + end : end;
@@ -4160,14 +4140,11 @@ var jsonpath = jsonpath$1.exports;
4160
4140
  end = integer(end === 0 ? 0 : !end ? step > 0 ? len : -1 : end);
4161
4141
  start = step > 0 ? Math.max(0, start) : Math.min(len, start);
4162
4142
  end = step > 0 ? Math.min(end, len) : Math.max(-1, end);
4163
- if (step > 0 && end <= start)
4164
- return [];
4165
- if (step < 0 && start <= end)
4166
- return [];
4143
+ if (step > 0 && end <= start) return [];
4144
+ if (step < 0 && start <= end) return [];
4167
4145
  var result = [];
4168
4146
  for (var i = start; i != end; i += step) {
4169
- if (step < 0 && i <= end || step > 0 && i >= end)
4170
- break;
4147
+ if (step < 0 && i <= end || step > 0 && i >= end) break;
4171
4148
  result.push(arr[i]);
4172
4149
  }
4173
4150
  return result;
@@ -4243,13 +4220,11 @@ var jsonpath = jsonpath$1.exports;
4243
4220
  }
4244
4221
  assert.fail = fail;
4245
4222
  function ok(value, message) {
4246
- if (!value)
4247
- fail(value, true, message, "==", assert.ok);
4223
+ if (!value) fail(value, true, message, "==", assert.ok);
4248
4224
  }
4249
4225
  assert.ok = ok;
4250
4226
  assert.equal = function equal(actual, expected, message) {
4251
- if (actual != expected)
4252
- fail(actual, expected, message, "==", assert.equal);
4227
+ if (actual != expected) fail(actual, expected, message, "==", assert.equal);
4253
4228
  };
4254
4229
  assert.notEqual = function notEqual(actual, expected, message) {
4255
4230
  if (actual == expected) {
@@ -4265,11 +4240,9 @@ var jsonpath = jsonpath$1.exports;
4265
4240
  if (actual === expected) {
4266
4241
  return true;
4267
4242
  } else if (util.isBuffer(actual) && util.isBuffer(expected)) {
4268
- if (actual.length != expected.length)
4269
- return false;
4243
+ if (actual.length != expected.length) return false;
4270
4244
  for (var i = 0; i < actual.length; i++) {
4271
- if (actual[i] !== expected[i])
4272
- return false;
4245
+ if (actual[i] !== expected[i]) return false;
4273
4246
  }
4274
4247
  return true;
4275
4248
  } else if (util.isDate(actual) && util.isDate(expected)) {
@@ -4288,8 +4261,7 @@ var jsonpath = jsonpath$1.exports;
4288
4261
  function objEquiv(a, b) {
4289
4262
  if (util.isNullOrUndefined(a) || util.isNullOrUndefined(b))
4290
4263
  return false;
4291
- if (a.prototype !== b.prototype)
4292
- return false;
4264
+ if (a.prototype !== b.prototype) return false;
4293
4265
  if (util.isPrimitive(a) || util.isPrimitive(b)) {
4294
4266
  return a === b;
4295
4267
  }
@@ -4312,8 +4284,7 @@ var jsonpath = jsonpath$1.exports;
4312
4284
  }
4313
4285
  for (i = ka.length - 1; i >= 0; i--) {
4314
4286
  key = ka[i];
4315
- if (!_deepEqual(a[key], b[key]))
4316
- return false;
4287
+ if (!_deepEqual(a[key], b[key])) return false;
4317
4288
  }
4318
4289
  return true;
4319
4290
  }
@@ -4381,8 +4352,7 @@ var jsonpath = jsonpath$1.exports;
4381
4352
  var objectKeys = Object.keys || function(obj) {
4382
4353
  var keys = [];
4383
4354
  for (var key in obj) {
4384
- if (hasOwn.call(obj, key))
4385
- keys.push(key);
4355
+ if (hasOwn.call(obj, key)) keys.push(key);
4386
4356
  }
4387
4357
  return keys;
4388
4358
  };
@@ -4428,10 +4398,8 @@ var jsonpath = jsonpath$1.exports;
4428
4398
  var args = arguments;
4429
4399
  var len = args.length;
4430
4400
  var str = String(f).replace(formatRegExp, function(x2) {
4431
- if (x2 === "%%")
4432
- return "%";
4433
- if (i >= len)
4434
- return x2;
4401
+ if (x2 === "%%") return "%";
4402
+ if (i >= len) return x2;
4435
4403
  switch (x2) {
4436
4404
  case "%s":
4437
4405
  return String(args[i++]);
@@ -4506,25 +4474,18 @@ var jsonpath = jsonpath$1.exports;
4506
4474
  seen: [],
4507
4475
  stylize: stylizeNoColor
4508
4476
  };
4509
- if (arguments.length >= 3)
4510
- ctx.depth = arguments[2];
4511
- if (arguments.length >= 4)
4512
- ctx.colors = arguments[3];
4477
+ if (arguments.length >= 3) ctx.depth = arguments[2];
4478
+ if (arguments.length >= 4) ctx.colors = arguments[3];
4513
4479
  if (isBoolean(opts)) {
4514
4480
  ctx.showHidden = opts;
4515
4481
  } else if (opts) {
4516
4482
  exports3._extend(ctx, opts);
4517
4483
  }
4518
- if (isUndefined(ctx.showHidden))
4519
- ctx.showHidden = false;
4520
- if (isUndefined(ctx.depth))
4521
- ctx.depth = 2;
4522
- if (isUndefined(ctx.colors))
4523
- ctx.colors = false;
4524
- if (isUndefined(ctx.customInspect))
4525
- ctx.customInspect = true;
4526
- if (ctx.colors)
4527
- ctx.stylize = stylizeWithColor;
4484
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
4485
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
4486
+ if (isUndefined(ctx.colors)) ctx.colors = false;
4487
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
4488
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
4528
4489
  return formatValue(ctx, obj, ctx.depth);
4529
4490
  }
4530
4491
  exports3.inspect = inspect;
@@ -4754,8 +4715,7 @@ var jsonpath = jsonpath$1.exports;
4754
4715
  var numLinesEst = 0;
4755
4716
  var length = output.reduce(function(prev, cur) {
4756
4717
  numLinesEst++;
4757
- if (cur.indexOf("\n") >= 0)
4758
- numLinesEst++;
4718
+ if (cur.indexOf("\n") >= 0) numLinesEst++;
4759
4719
  return prev + cur.replace(/\u001b\[\d\d?m/g, "").length + 1;
4760
4720
  }, 0);
4761
4721
  if (length > 60) {
@@ -4855,8 +4815,7 @@ var jsonpath = jsonpath$1.exports;
4855
4815
  };
4856
4816
  exports3.inherits = require2("inherits");
4857
4817
  exports3._extend = function(origin, add) {
4858
- if (!add || !isObject(add))
4859
- return origin;
4818
+ if (!add || !isObject(add)) return origin;
4860
4819
  var keys = Object.keys(add);
4861
4820
  var i = keys.length;
4862
4821
  while (i--) {
@@ -4940,16 +4899,13 @@ var jsonpath = jsonpath$1.exports;
4940
4899
  function trim(arr) {
4941
4900
  var start = 0;
4942
4901
  for (; start < arr.length; start++) {
4943
- if (arr[start] !== "")
4944
- break;
4902
+ if (arr[start] !== "") break;
4945
4903
  }
4946
4904
  var end = arr.length - 1;
4947
4905
  for (; end >= 0; end--) {
4948
- if (arr[end] !== "")
4949
- break;
4906
+ if (arr[end] !== "") break;
4950
4907
  }
4951
- if (start > end)
4952
- return [];
4908
+ if (start > end) return [];
4953
4909
  return arr.slice(start, end - start + 1);
4954
4910
  }
4955
4911
  var fromParts = trim(from.split("/"));
@@ -4972,10 +4928,8 @@ var jsonpath = jsonpath$1.exports;
4972
4928
  exports3.sep = "/";
4973
4929
  exports3.delimiter = ":";
4974
4930
  exports3.dirname = function(path) {
4975
- if (typeof path !== "string")
4976
- path = path + "";
4977
- if (path.length === 0)
4978
- return ".";
4931
+ if (typeof path !== "string") path = path + "";
4932
+ if (path.length === 0) return ".";
4979
4933
  var code = path.charCodeAt(0);
4980
4934
  var hasRoot = code === 47;
4981
4935
  var end = -1;
@@ -4991,16 +4945,14 @@ var jsonpath = jsonpath$1.exports;
4991
4945
  matchedSlash = false;
4992
4946
  }
4993
4947
  }
4994
- if (end === -1)
4995
- return hasRoot ? "/" : ".";
4948
+ if (end === -1) return hasRoot ? "/" : ".";
4996
4949
  if (hasRoot && end === 1) {
4997
4950
  return "/";
4998
4951
  }
4999
4952
  return path.slice(0, end);
5000
4953
  };
5001
4954
  function basename(path) {
5002
- if (typeof path !== "string")
5003
- path = path + "";
4955
+ if (typeof path !== "string") path = path + "";
5004
4956
  var start = 0;
5005
4957
  var end = -1;
5006
4958
  var matchedSlash = true;
@@ -5016,8 +4968,7 @@ var jsonpath = jsonpath$1.exports;
5016
4968
  end = i + 1;
5017
4969
  }
5018
4970
  }
5019
- if (end === -1)
5020
- return "";
4971
+ if (end === -1) return "";
5021
4972
  return path.slice(start, end);
5022
4973
  }
5023
4974
  exports3.basename = function(path, ext) {
@@ -5028,8 +4979,7 @@ var jsonpath = jsonpath$1.exports;
5028
4979
  return f;
5029
4980
  };
5030
4981
  exports3.extname = function(path) {
5031
- if (typeof path !== "string")
5032
- path = path + "";
4982
+ if (typeof path !== "string") path = path + "";
5033
4983
  var startDot = -1;
5034
4984
  var startPart = 0;
5035
4985
  var end = -1;
@@ -5065,20 +5015,17 @@ var jsonpath = jsonpath$1.exports;
5065
5015
  return path.slice(startDot, end);
5066
5016
  };
5067
5017
  function filter(xs, f) {
5068
- if (xs.filter)
5069
- return xs.filter(f);
5018
+ if (xs.filter) return xs.filter(f);
5070
5019
  var res = [];
5071
5020
  for (var i = 0; i < xs.length; i++) {
5072
- if (f(xs[i], i, xs))
5073
- res.push(xs[i]);
5021
+ if (f(xs[i], i, xs)) res.push(xs[i]);
5074
5022
  }
5075
5023
  return res;
5076
5024
  }
5077
5025
  var substr = "ab".substr(-1) === "b" ? function(str, start, len) {
5078
5026
  return str.substr(start, len);
5079
5027
  } : function(str, start, len) {
5080
- if (start < 0)
5081
- start = str.length + start;
5028
+ if (start < 0) start = str.length + start;
5082
5029
  return str.substr(start, len);
5083
5030
  };
5084
5031
  }).call(this, require2("_process"));
@@ -5242,29 +5189,23 @@ var jsonpath = jsonpath$1.exports;
5242
5189
  }, {}], 15: [function(require2, module3, exports3) {
5243
5190
  var unparse = require2("escodegen").generate;
5244
5191
  module3.exports = function(ast, vars) {
5245
- if (!vars)
5246
- vars = {};
5192
+ if (!vars) vars = {};
5247
5193
  var FAIL = {};
5248
5194
  var result = function walk(node, scopeVars) {
5249
5195
  if (node.type === "Literal") {
5250
5196
  return node.value;
5251
5197
  } else if (node.type === "UnaryExpression") {
5252
5198
  var val = walk(node.argument);
5253
- if (node.operator === "+")
5254
- return +val;
5255
- if (node.operator === "-")
5256
- return -val;
5257
- if (node.operator === "~")
5258
- return ~val;
5259
- if (node.operator === "!")
5260
- return !val;
5199
+ if (node.operator === "+") return +val;
5200
+ if (node.operator === "-") return -val;
5201
+ if (node.operator === "~") return ~val;
5202
+ if (node.operator === "!") return !val;
5261
5203
  return FAIL;
5262
5204
  } else if (node.type === "ArrayExpression") {
5263
5205
  var xs = [];
5264
5206
  for (var i = 0, l = node.elements.length; i < l; i++) {
5265
5207
  var x = walk(node.elements[i]);
5266
- if (x === FAIL)
5267
- return FAIL;
5208
+ if (x === FAIL) return FAIL;
5268
5209
  xs.push(x);
5269
5210
  }
5270
5211
  return xs;
@@ -5273,80 +5214,53 @@ var jsonpath = jsonpath$1.exports;
5273
5214
  for (var i = 0; i < node.properties.length; i++) {
5274
5215
  var prop = node.properties[i];
5275
5216
  var value = prop.value === null ? prop.value : walk(prop.value);
5276
- if (value === FAIL)
5277
- return FAIL;
5217
+ if (value === FAIL) return FAIL;
5278
5218
  obj[prop.key.value || prop.key.name] = value;
5279
5219
  }
5280
5220
  return obj;
5281
5221
  } else if (node.type === "BinaryExpression" || node.type === "LogicalExpression") {
5282
5222
  var l = walk(node.left);
5283
- if (l === FAIL)
5284
- return FAIL;
5223
+ if (l === FAIL) return FAIL;
5285
5224
  var r = walk(node.right);
5286
- if (r === FAIL)
5287
- return FAIL;
5225
+ if (r === FAIL) return FAIL;
5288
5226
  var op = node.operator;
5289
- if (op === "==")
5290
- return l == r;
5291
- if (op === "===")
5292
- return l === r;
5293
- if (op === "!=")
5294
- return l != r;
5295
- if (op === "!==")
5296
- return l !== r;
5297
- if (op === "+")
5298
- return l + r;
5299
- if (op === "-")
5300
- return l - r;
5301
- if (op === "*")
5302
- return l * r;
5303
- if (op === "/")
5304
- return l / r;
5305
- if (op === "%")
5306
- return l % r;
5307
- if (op === "<")
5308
- return l < r;
5309
- if (op === "<=")
5310
- return l <= r;
5311
- if (op === ">")
5312
- return l > r;
5313
- if (op === ">=")
5314
- return l >= r;
5315
- if (op === "|")
5316
- return l | r;
5317
- if (op === "&")
5318
- return l & r;
5319
- if (op === "^")
5320
- return l ^ r;
5321
- if (op === "&&")
5322
- return l && r;
5323
- if (op === "||")
5324
- return l || r;
5227
+ if (op === "==") return l == r;
5228
+ if (op === "===") return l === r;
5229
+ if (op === "!=") return l != r;
5230
+ if (op === "!==") return l !== r;
5231
+ if (op === "+") return l + r;
5232
+ if (op === "-") return l - r;
5233
+ if (op === "*") return l * r;
5234
+ if (op === "/") return l / r;
5235
+ if (op === "%") return l % r;
5236
+ if (op === "<") return l < r;
5237
+ if (op === "<=") return l <= r;
5238
+ if (op === ">") return l > r;
5239
+ if (op === ">=") return l >= r;
5240
+ if (op === "|") return l | r;
5241
+ if (op === "&") return l & r;
5242
+ if (op === "^") return l ^ r;
5243
+ if (op === "&&") return l && r;
5244
+ if (op === "||") return l || r;
5325
5245
  return FAIL;
5326
5246
  } else if (node.type === "Identifier") {
5327
5247
  if ({}.hasOwnProperty.call(vars, node.name)) {
5328
5248
  return vars[node.name];
5329
- } else
5330
- return FAIL;
5249
+ } else return FAIL;
5331
5250
  } else if (node.type === "ThisExpression") {
5332
5251
  if ({}.hasOwnProperty.call(vars, "this")) {
5333
5252
  return vars["this"];
5334
- } else
5335
- return FAIL;
5253
+ } else return FAIL;
5336
5254
  } else if (node.type === "CallExpression") {
5337
5255
  var callee = walk(node.callee);
5338
- if (callee === FAIL)
5339
- return FAIL;
5340
- if (typeof callee !== "function")
5341
- return FAIL;
5256
+ if (callee === FAIL) return FAIL;
5257
+ if (typeof callee !== "function") return FAIL;
5342
5258
  var ctx = node.callee.object ? walk(node.callee.object) : FAIL;
5343
- if (ctx === FAIL)
5344
- ctx = null;
5259
+ if (ctx === FAIL) ctx = null;
5345
5260
  var args = [];
5346
5261
  for (var i = 0, l = node.arguments.length; i < l; i++) {
5347
5262
  var x = walk(node.arguments[i]);
5348
- if (x === FAIL)
5349
- return FAIL;
5263
+ if (x === FAIL) return FAIL;
5350
5264
  args.push(x);
5351
5265
  }
5352
5266
  return callee.apply(ctx, args);
@@ -5359,18 +5273,15 @@ var jsonpath = jsonpath$1.exports;
5359
5273
  return obj[node.property.name];
5360
5274
  }
5361
5275
  var prop = walk(node.property);
5362
- if (prop === FAIL)
5363
- return FAIL;
5276
+ if (prop === FAIL) return FAIL;
5364
5277
  return obj[prop];
5365
5278
  } else if (node.type === "ConditionalExpression") {
5366
5279
  var val = walk(node.test);
5367
- if (val === FAIL)
5368
- return FAIL;
5280
+ if (val === FAIL) return FAIL;
5369
5281
  return val ? walk(node.consequent) : walk(node.alternate);
5370
5282
  } else if (node.type === "ExpressionStatement") {
5371
5283
  var val = walk(node.expression);
5372
- if (val === FAIL)
5373
- return FAIL;
5284
+ if (val === FAIL) return FAIL;
5374
5285
  return val;
5375
5286
  } else if (node.type === "ReturnStatement") {
5376
5287
  return walk(node.argument);
@@ -5384,8 +5295,7 @@ var jsonpath = jsonpath$1.exports;
5384
5295
  var key = node.params[i];
5385
5296
  if (key.type == "Identifier") {
5386
5297
  vars[key.name] = null;
5387
- } else
5388
- return FAIL;
5298
+ } else return FAIL;
5389
5299
  }
5390
5300
  for (var i in bodies) {
5391
5301
  if (walk(bodies[i]) === FAIL) {
@@ -5414,8 +5324,7 @@ var jsonpath = jsonpath$1.exports;
5414
5324
  return tag.apply(null, [strings].concat(values));
5415
5325
  } else if (node.type === "TemplateElement") {
5416
5326
  return node.value.cooked;
5417
- } else
5418
- return FAIL;
5327
+ } else return FAIL;
5419
5328
  }(ast);
5420
5329
  return result === FAIL ? void 0 : result;
5421
5330
  };
@@ -6030,7 +6030,8 @@ export {
6030
6030
  camelCase as D,
6031
6031
  difference as E,
6032
6032
  capitalize as F,
6033
- startCase as G,
6033
+ pickBy as G,
6034
+ startCase as H,
6034
6035
  clone as a,
6035
6036
  isUndefined as b,
6036
6037
  castArray as c,