wcz-test 6.24.0 → 6.24.2

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 (490) hide show
  1. package/dist/ApprovalStatus-BtAVFn5p.js +8 -0
  2. package/dist/ApprovalStatus-BtAVFn5p.js.map +1 -0
  3. package/dist/{node_modules/react/cjs/react-jsx-runtime.development.js → DialogsContext-BKtkEAfL.js} +48 -4
  4. package/dist/DialogsContext-BKtkEAfL.js.map +1 -0
  5. package/dist/{hooks/DialogsHooks.js → DialogsHooks-BQVpqCq9.js} +4 -7
  6. package/dist/DialogsHooks-BQVpqCq9.js.map +1 -0
  7. package/dist/FileHooks-Cg9ver7z.js +3478 -0
  8. package/dist/FileHooks-Cg9ver7z.js.map +1 -0
  9. package/dist/{models/file/FileMeta.js → FileMeta-G1oT3mYK.js} +2 -2
  10. package/dist/FileMeta-G1oT3mYK.js.map +1 -0
  11. package/dist/{components/router/RouterListItemButton.js → RouterListItemButton-IUVgwnz3.js} +4 -4
  12. package/dist/RouterListItemButton-IUVgwnz3.js.map +1 -0
  13. package/dist/client.js +4 -4
  14. package/dist/compiler-runtime-BGHur82y.js +46 -0
  15. package/dist/compiler-runtime-BGHur82y.js.map +1 -0
  16. package/dist/components.js +1486 -15
  17. package/dist/components.js.map +1 -1
  18. package/dist/{env.js → env-gsqZ6zZD.js} +3 -3
  19. package/dist/env-gsqZ6zZD.js.map +1 -0
  20. package/dist/exports/client.d.ts +17 -4
  21. package/dist/exports/components.d.ts +44 -14
  22. package/dist/exports/hooks.d.ts +23 -4
  23. package/dist/exports/index.d.ts +17 -4
  24. package/dist/exports/models.d.ts +107 -25
  25. package/dist/exports/queries.d.ts +95 -4
  26. package/dist/exports/server.d.ts +14 -4
  27. package/dist/exports/utils.d.ts +11 -3
  28. package/dist/exports/vite.d.ts +5 -1
  29. package/dist/hooks.js +1000 -3
  30. package/dist/hooks.js.map +1 -1
  31. package/dist/index.js +1752 -4
  32. package/dist/index.js.map +1 -1
  33. package/dist/models.js +159 -10
  34. package/dist/models.js.map +1 -1
  35. package/dist/queries.js +935 -14
  36. package/dist/queries.js.map +1 -1
  37. package/dist/{lib/queryClient.js → queryClient-CNvC95mU.js} +2 -2
  38. package/dist/queryClient-CNvC95mU.js.map +1 -0
  39. package/dist/server.js +84 -1
  40. package/dist/server.js.map +1 -1
  41. package/dist/{lib/auth/session.js → session-vW7WZadj.js} +24 -9
  42. package/dist/session-vW7WZadj.js.map +1 -0
  43. package/dist/{lib/utils.js → utils-MD9YwOtu.js} +9 -9
  44. package/dist/utils-MD9YwOtu.js.map +1 -0
  45. package/dist/utils.js +2 -2
  46. package/dist/vite.js +61 -1
  47. package/dist/vite.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/_virtual/___vite-browser-external.js +0 -7
  50. package/dist/_virtual/___vite-browser-external.js.map +0 -1
  51. package/dist/_virtual/__vite-browser-external.js +0 -5
  52. package/dist/_virtual/__vite-browser-external.js.map +0 -1
  53. package/dist/_virtual/_commonjsHelpers.js +0 -37
  54. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  55. package/dist/_virtual/compiler-runtime.js +0 -6
  56. package/dist/_virtual/compiler-runtime.js.map +0 -1
  57. package/dist/_virtual/compiler-runtime2.js +0 -5
  58. package/dist/_virtual/compiler-runtime2.js.map +0 -1
  59. package/dist/_virtual/index.js +0 -8
  60. package/dist/_virtual/index.js.map +0 -1
  61. package/dist/_virtual/index2.js +0 -5
  62. package/dist/_virtual/index2.js.map +0 -1
  63. package/dist/_virtual/index3.js +0 -5
  64. package/dist/_virtual/index3.js.map +0 -1
  65. package/dist/_virtual/index4.js +0 -5
  66. package/dist/_virtual/index4.js.map +0 -1
  67. package/dist/_virtual/index5.js +0 -5
  68. package/dist/_virtual/index5.js.map +0 -1
  69. package/dist/_virtual/index6.js +0 -5
  70. package/dist/_virtual/index6.js.map +0 -1
  71. package/dist/_virtual/jsx-runtime.js +0 -6
  72. package/dist/_virtual/jsx-runtime.js.map +0 -1
  73. package/dist/_virtual/jsx-runtime2.js +0 -5
  74. package/dist/_virtual/jsx-runtime2.js.map +0 -1
  75. package/dist/_virtual/re.js +0 -5
  76. package/dist/_virtual/re.js.map +0 -1
  77. package/dist/_virtual/react-compiler-runtime.development.js +0 -5
  78. package/dist/_virtual/react-compiler-runtime.development.js.map +0 -1
  79. package/dist/_virtual/react-compiler-runtime.production.js +0 -5
  80. package/dist/_virtual/react-compiler-runtime.production.js.map +0 -1
  81. package/dist/_virtual/react-jsx-runtime.development.js +0 -5
  82. package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
  83. package/dist/_virtual/react-jsx-runtime.production.js +0 -5
  84. package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
  85. package/dist/components/core/AppTitle.d.ts +0 -2
  86. package/dist/components/core/AppTitle.js +0 -23
  87. package/dist/components/core/AppTitle.js.map +0 -1
  88. package/dist/components/core/Fullscreen.d.ts +0 -3
  89. package/dist/components/core/Fullscreen.js +0 -104
  90. package/dist/components/core/Fullscreen.js.map +0 -1
  91. package/dist/components/core/Layout.d.ts +0 -8
  92. package/dist/components/core/Layout.js +0 -214
  93. package/dist/components/core/Layout.js.map +0 -1
  94. package/dist/components/core/ToolbarAccount.d.ts +0 -2
  95. package/dist/components/core/ToolbarAccount.js +0 -582
  96. package/dist/components/core/ToolbarAccount.js.map +0 -1
  97. package/dist/components/core/TypographyWithIcon.d.ts +0 -7
  98. package/dist/components/core/TypographyWithIcon.js +0 -117
  99. package/dist/components/core/TypographyWithIcon.js.map +0 -1
  100. package/dist/components/core/navigation/NavigationList.d.ts +0 -22
  101. package/dist/components/core/navigation/NavigationList.js +0 -166
  102. package/dist/components/core/navigation/NavigationList.js.map +0 -1
  103. package/dist/components/core/navigation/NavigationListItem.d.ts +0 -16
  104. package/dist/components/core/navigation/NavigationListItem.js +0 -467
  105. package/dist/components/core/navigation/NavigationListItem.js.map +0 -1
  106. package/dist/components/core/navigation/NavigationRail.d.ts +0 -12
  107. package/dist/components/core/navigation/NavigationRail.js +0 -141
  108. package/dist/components/core/navigation/NavigationRail.js.map +0 -1
  109. package/dist/components/data-grid/ChipInputCell.d.ts +0 -9
  110. package/dist/components/data-grid/ChipInputCell.js +0 -95
  111. package/dist/components/data-grid/ChipInputCell.js.map +0 -1
  112. package/dist/components/data-grid/EditableColumnHeader.d.ts +0 -2
  113. package/dist/components/data-grid/EditableColumnHeader.js +0 -30
  114. package/dist/components/data-grid/EditableColumnHeader.js.map +0 -1
  115. package/dist/components/file/Dropzone.d.ts +0 -8
  116. package/dist/components/file/Dropzone.js +0 -151
  117. package/dist/components/file/Dropzone.js.map +0 -1
  118. package/dist/components/file/FileViewer.d.ts +0 -20
  119. package/dist/components/file/FileViewer.js +0 -127
  120. package/dist/components/file/FileViewer.js.map +0 -1
  121. package/dist/components/file/fileViewer/FileViewerGrid.d.ts +0 -17
  122. package/dist/components/file/fileViewer/FileViewerGrid.js +0 -282
  123. package/dist/components/file/fileViewer/FileViewerGrid.js.map +0 -1
  124. package/dist/components/file/fileViewer/FileViewerList.d.ts +0 -12
  125. package/dist/components/file/fileViewer/FileViewerList.js +0 -191
  126. package/dist/components/file/fileViewer/FileViewerList.js.map +0 -1
  127. package/dist/components/file/fileViewer/ImageViewer.d.ts +0 -6
  128. package/dist/components/file/fileViewer/ImageViewer.js +0 -75
  129. package/dist/components/file/fileViewer/ImageViewer.js.map +0 -1
  130. package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +0 -15
  131. package/dist/components/file/fileViewer/common/ActionsMenu.js +0 -159
  132. package/dist/components/file/fileViewer/common/ActionsMenu.js.map +0 -1
  133. package/dist/components/form/FormAutocomplete.d.ts +0 -7
  134. package/dist/components/form/FormAutocomplete.js +0 -80
  135. package/dist/components/form/FormAutocomplete.js.map +0 -1
  136. package/dist/components/form/FormCheckbox.d.ts +0 -7
  137. package/dist/components/form/FormCheckbox.js +0 -81
  138. package/dist/components/form/FormCheckbox.js.map +0 -1
  139. package/dist/components/form/FormDatePicker.d.ts +0 -8
  140. package/dist/components/form/FormDatePicker.js +0 -77
  141. package/dist/components/form/FormDatePicker.js.map +0 -1
  142. package/dist/components/form/FormDateRangePicker.d.ts +0 -8
  143. package/dist/components/form/FormDateRangePicker.js +0 -77
  144. package/dist/components/form/FormDateRangePicker.js.map +0 -1
  145. package/dist/components/form/FormDateTimePicker.d.ts +0 -8
  146. package/dist/components/form/FormDateTimePicker.js +0 -77
  147. package/dist/components/form/FormDateTimePicker.js.map +0 -1
  148. package/dist/components/form/FormDateTimeRangePicker.d.ts +0 -8
  149. package/dist/components/form/FormDateTimeRangePicker.js +0 -77
  150. package/dist/components/form/FormDateTimeRangePicker.js.map +0 -1
  151. package/dist/components/form/FormNumberField.d.ts +0 -9
  152. package/dist/components/form/FormNumberField.js +0 -73
  153. package/dist/components/form/FormNumberField.js.map +0 -1
  154. package/dist/components/form/FormRadioGroup.d.ts +0 -13
  155. package/dist/components/form/FormRadioGroup.js +0 -113
  156. package/dist/components/form/FormRadioGroup.js.map +0 -1
  157. package/dist/components/form/FormSlider.d.ts +0 -7
  158. package/dist/components/form/FormSlider.js +0 -94
  159. package/dist/components/form/FormSlider.js.map +0 -1
  160. package/dist/components/form/FormSubmitButton.d.ts +0 -4
  161. package/dist/components/form/FormSubmitButton.js +0 -50
  162. package/dist/components/form/FormSubmitButton.js.map +0 -1
  163. package/dist/components/form/FormSwitch.d.ts +0 -7
  164. package/dist/components/form/FormSwitch.js +0 -81
  165. package/dist/components/form/FormSwitch.js.map +0 -1
  166. package/dist/components/form/FormTextField.d.ts +0 -7
  167. package/dist/components/form/FormTextField.js +0 -52
  168. package/dist/components/form/FormTextField.js.map +0 -1
  169. package/dist/components/form/FormTimePicker.d.ts +0 -8
  170. package/dist/components/form/FormTimePicker.js +0 -77
  171. package/dist/components/form/FormTimePicker.js.map +0 -1
  172. package/dist/components/form/FormTimeRangePicker.d.ts +0 -8
  173. package/dist/components/form/FormTimeRangePicker.js +0 -77
  174. package/dist/components/form/FormTimeRangePicker.js.map +0 -1
  175. package/dist/components/router/RouterButton.d.ts +0 -6
  176. package/dist/components/router/RouterButton.js +0 -35
  177. package/dist/components/router/RouterButton.js.map +0 -1
  178. package/dist/components/router/RouterError.d.ts +0 -7
  179. package/dist/components/router/RouterError.js +0 -62
  180. package/dist/components/router/RouterError.js.map +0 -1
  181. package/dist/components/router/RouterGridActionsCellItem.d.ts +0 -6
  182. package/dist/components/router/RouterGridActionsCellItem.js +0 -35
  183. package/dist/components/router/RouterGridActionsCellItem.js.map +0 -1
  184. package/dist/components/router/RouterIconButton.d.ts +0 -6
  185. package/dist/components/router/RouterIconButton.js +0 -35
  186. package/dist/components/router/RouterIconButton.js.map +0 -1
  187. package/dist/components/router/RouterLink.d.ts +0 -6
  188. package/dist/components/router/RouterLink.js +0 -35
  189. package/dist/components/router/RouterLink.js.map +0 -1
  190. package/dist/components/router/RouterListItemButton.d.ts +0 -6
  191. package/dist/components/router/RouterListItemButton.js.map +0 -1
  192. package/dist/components/router/RouterNotFound.d.ts +0 -1
  193. package/dist/components/router/RouterNotFound.js +0 -53
  194. package/dist/components/router/RouterNotFound.js.map +0 -1
  195. package/dist/components/router/RouterTab.d.ts +0 -6
  196. package/dist/components/router/RouterTab.js +0 -35
  197. package/dist/components/router/RouterTab.js.map +0 -1
  198. package/dist/contexts/DialogsContext.d.ts +0 -6
  199. package/dist/contexts/DialogsContext.js +0 -6
  200. package/dist/contexts/DialogsContext.js.map +0 -1
  201. package/dist/contexts/FileContext.d.ts +0 -13
  202. package/dist/contexts/FileContext.js +0 -14
  203. package/dist/contexts/FileContext.js.map +0 -1
  204. package/dist/env.d.ts +0 -13
  205. package/dist/env.js.map +0 -1
  206. package/dist/hooks/DialogsHooks.d.ts +0 -42
  207. package/dist/hooks/DialogsHooks.js.map +0 -1
  208. package/dist/hooks/FormHooks.d.ts +0 -52
  209. package/dist/hooks/FormHooks.js +0 -55
  210. package/dist/hooks/FormHooks.js.map +0 -1
  211. package/dist/lib/auth/api.d.ts +0 -3
  212. package/dist/lib/auth/api.js +0 -97
  213. package/dist/lib/auth/api.js.map +0 -1
  214. package/dist/lib/auth/entra.d.ts +0 -2
  215. package/dist/lib/auth/entra.js +0 -13
  216. package/dist/lib/auth/entra.js.map +0 -1
  217. package/dist/lib/auth/graph.d.ts +0 -17
  218. package/dist/lib/auth/graph.js +0 -72
  219. package/dist/lib/auth/graph.js.map +0 -1
  220. package/dist/lib/auth/session.d.ts +0 -24
  221. package/dist/lib/auth/session.js.map +0 -1
  222. package/dist/lib/queryClient.d.ts +0 -2
  223. package/dist/lib/queryClient.js.map +0 -1
  224. package/dist/lib/utils.d.ts +0 -52
  225. package/dist/lib/utils.js.map +0 -1
  226. package/dist/lib/vite-plugin.d.ts +0 -2
  227. package/dist/lib/vite-plugin.js +0 -65
  228. package/dist/lib/vite-plugin.js.map +0 -1
  229. package/dist/middleware/auth.d.ts +0 -22
  230. package/dist/models/Navigation.d.ts +0 -18
  231. package/dist/models/User.d.ts +0 -16
  232. package/dist/models/User.js +0 -18
  233. package/dist/models/User.js.map +0 -1
  234. package/dist/models/approval/Approval.d.ts +0 -177
  235. package/dist/models/approval/Approval.js +0 -81
  236. package/dist/models/approval/Approval.js.map +0 -1
  237. package/dist/models/approval/ApprovalEmployee.d.ts +0 -7
  238. package/dist/models/approval/ApprovalEmployee.js +0 -10
  239. package/dist/models/approval/ApprovalEmployee.js.map +0 -1
  240. package/dist/models/approval/ApprovalFlow.d.ts +0 -49
  241. package/dist/models/approval/ApprovalFlow.js +0 -15
  242. package/dist/models/approval/ApprovalFlow.js.map +0 -1
  243. package/dist/models/approval/ApprovalFlowStep.d.ts +0 -29
  244. package/dist/models/approval/ApprovalFlowStep.js +0 -17
  245. package/dist/models/approval/ApprovalFlowStep.js.map +0 -1
  246. package/dist/models/approval/ApprovalRequestType.d.ts +0 -5
  247. package/dist/models/approval/ApprovalRequestType.js +0 -6
  248. package/dist/models/approval/ApprovalRequestType.js.map +0 -1
  249. package/dist/models/approval/ApprovalStatus.d.ts +0 -9
  250. package/dist/models/approval/ApprovalStatus.js +0 -6
  251. package/dist/models/approval/ApprovalStatus.js.map +0 -1
  252. package/dist/models/approval/ApprovalStepResult.d.ts +0 -11
  253. package/dist/models/approval/ApprovalStepResult.js +0 -6
  254. package/dist/models/approval/ApprovalStepResult.js.map +0 -1
  255. package/dist/models/approval/StepApprovalOrder.d.ts +0 -6
  256. package/dist/models/approval/StepApprovalOrder.js +0 -6
  257. package/dist/models/approval/StepApprovalOrder.js.map +0 -1
  258. package/dist/models/email/Email.d.ts +0 -13
  259. package/dist/models/email/Email.js +0 -14
  260. package/dist/models/email/Email.js.map +0 -1
  261. package/dist/models/email/EmailAttachment.d.ts +0 -6
  262. package/dist/models/email/EmailAttachment.js +0 -9
  263. package/dist/models/email/EmailAttachment.js.map +0 -1
  264. package/dist/models/file/FileActions.d.ts +0 -6
  265. package/dist/models/file/FileMeta.d.ts +0 -15
  266. package/dist/models/file/FileMeta.js.map +0 -1
  267. package/dist/models/peoplesoft/Department.d.ts +0 -58
  268. package/dist/models/peoplesoft/Department.js +0 -19
  269. package/dist/models/peoplesoft/Department.js.map +0 -1
  270. package/dist/models/peoplesoft/Employee.d.ts +0 -46
  271. package/dist/models/peoplesoft/Employee.js +0 -43
  272. package/dist/models/peoplesoft/Employee.js.map +0 -1
  273. package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +0 -6
  274. package/dist/models/peoplesoft/EmployeeCategoryGroup.js +0 -6
  275. package/dist/models/peoplesoft/EmployeeCategoryGroup.js.map +0 -1
  276. package/dist/models/peoplesoft/EmployeeStatus.d.ts +0 -6
  277. package/dist/models/peoplesoft/EmployeeStatus.js +0 -6
  278. package/dist/models/peoplesoft/EmployeeStatus.js.map +0 -1
  279. package/dist/node_modules/@oslojs/binary/dist/bits.js +0 -7
  280. package/dist/node_modules/@oslojs/binary/dist/bits.js.map +0 -1
  281. package/dist/node_modules/@oslojs/binary/dist/uint.js +0 -80
  282. package/dist/node_modules/@oslojs/binary/dist/uint.js.map +0 -1
  283. package/dist/node_modules/@oslojs/crypto/dist/sha2/sha256.js +0 -182
  284. package/dist/node_modules/@oslojs/crypto/dist/sha2/sha256.js.map +0 -1
  285. package/dist/node_modules/@oslojs/crypto/dist/sha2/sha512.js +0 -83
  286. package/dist/node_modules/@oslojs/crypto/dist/sha2/sha512.js.map +0 -1
  287. package/dist/node_modules/@oslojs/encoding/dist/base32.js +0 -11
  288. package/dist/node_modules/@oslojs/encoding/dist/base32.js.map +0 -1
  289. package/dist/node_modules/@oslojs/encoding/dist/base64.js +0 -46
  290. package/dist/node_modules/@oslojs/encoding/dist/base64.js.map +0 -1
  291. package/dist/node_modules/@oslojs/jwt/dist/index.js +0 -28
  292. package/dist/node_modules/@oslojs/jwt/dist/index.js.map +0 -1
  293. package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base32.js +0 -11
  294. package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base32.js.map +0 -1
  295. package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base64.js +0 -126
  296. package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base64.js.map +0 -1
  297. package/dist/node_modules/arctic/dist/client.js +0 -12
  298. package/dist/node_modules/arctic/dist/client.js.map +0 -1
  299. package/dist/node_modules/arctic/dist/oauth2.js +0 -76
  300. package/dist/node_modules/arctic/dist/oauth2.js.map +0 -1
  301. package/dist/node_modules/arctic/dist/oidc.js +0 -14
  302. package/dist/node_modules/arctic/dist/oidc.js.map +0 -1
  303. package/dist/node_modules/arctic/dist/providers/microsoft-entra-id.js +0 -73
  304. package/dist/node_modules/arctic/dist/providers/microsoft-entra-id.js.map +0 -1
  305. package/dist/node_modules/arctic/dist/request.js +0 -149
  306. package/dist/node_modules/arctic/dist/request.js.map +0 -1
  307. package/dist/node_modules/arctic/dist/utils.js +0 -25
  308. package/dist/node_modules/arctic/dist/utils.js.map +0 -1
  309. package/dist/node_modules/base64-js/index.js +0 -103
  310. package/dist/node_modules/base64-js/index.js.map +0 -1
  311. package/dist/node_modules/buffer/index.js +0 -1598
  312. package/dist/node_modules/buffer/index.js.map +0 -1
  313. package/dist/node_modules/buffer-equal-constant-time/index.js +0 -39
  314. package/dist/node_modules/buffer-equal-constant-time/index.js.map +0 -1
  315. package/dist/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +0 -140
  316. package/dist/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js.map +0 -1
  317. package/dist/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +0 -28
  318. package/dist/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js.map +0 -1
  319. package/dist/node_modules/ieee754/index.js +0 -88
  320. package/dist/node_modules/ieee754/index.js.map +0 -1
  321. package/dist/node_modules/jsonwebtoken/decode.js +0 -38
  322. package/dist/node_modules/jsonwebtoken/decode.js.map +0 -1
  323. package/dist/node_modules/jsonwebtoken/index.js +0 -25
  324. package/dist/node_modules/jsonwebtoken/index.js.map +0 -1
  325. package/dist/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +0 -23
  326. package/dist/node_modules/jsonwebtoken/lib/JsonWebTokenError.js.map +0 -1
  327. package/dist/node_modules/jsonwebtoken/lib/NotBeforeError.js +0 -21
  328. package/dist/node_modules/jsonwebtoken/lib/NotBeforeError.js.map +0 -1
  329. package/dist/node_modules/jsonwebtoken/lib/TokenExpiredError.js +0 -21
  330. package/dist/node_modules/jsonwebtoken/lib/TokenExpiredError.js.map +0 -1
  331. package/dist/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +0 -14
  332. package/dist/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js.map +0 -1
  333. package/dist/node_modules/jsonwebtoken/lib/psSupported.js +0 -14
  334. package/dist/node_modules/jsonwebtoken/lib/psSupported.js.map +0 -1
  335. package/dist/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +0 -14
  336. package/dist/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js.map +0 -1
  337. package/dist/node_modules/jsonwebtoken/lib/timespan.js +0 -27
  338. package/dist/node_modules/jsonwebtoken/lib/timespan.js.map +0 -1
  339. package/dist/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +0 -60
  340. package/dist/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js.map +0 -1
  341. package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/comparator.js +0 -123
  342. package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/comparator.js.map +0 -1
  343. package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/range.js +0 -388
  344. package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/range.js.map +0 -1
  345. package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/semver.js +0 -288
  346. package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/semver.js.map +0 -1
  347. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/clean.js +0 -18
  348. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/clean.js.map +0 -1
  349. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js +0 -60
  350. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js.map +0 -1
  351. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js +0 -53
  352. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js.map +0 -1
  353. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js +0 -19
  354. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js.map +0 -1
  355. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js +0 -15
  356. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js.map +0 -1
  357. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare.js +0 -15
  358. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare.js.map +0 -1
  359. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/diff.js +0 -49
  360. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/diff.js.map +0 -1
  361. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/eq.js +0 -15
  362. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/eq.js.map +0 -1
  363. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gt.js +0 -15
  364. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gt.js.map +0 -1
  365. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gte.js +0 -15
  366. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gte.js.map +0 -1
  367. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/inc.js +0 -29
  368. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/inc.js.map +0 -1
  369. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lt.js +0 -15
  370. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lt.js.map +0 -1
  371. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lte.js +0 -15
  372. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lte.js.map +0 -1
  373. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/major.js +0 -15
  374. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/major.js.map +0 -1
  375. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/minor.js +0 -15
  376. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/minor.js.map +0 -1
  377. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/neq.js +0 -15
  378. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/neq.js.map +0 -1
  379. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/parse.js +0 -27
  380. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/parse.js.map +0 -1
  381. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/patch.js +0 -15
  382. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/patch.js.map +0 -1
  383. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/prerelease.js +0 -18
  384. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/prerelease.js.map +0 -1
  385. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rcompare.js +0 -15
  386. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rcompare.js.map +0 -1
  387. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rsort.js +0 -15
  388. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rsort.js.map +0 -1
  389. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/satisfies.js +0 -22
  390. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/satisfies.js.map +0 -1
  391. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/sort.js +0 -15
  392. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/sort.js.map +0 -1
  393. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/valid.js +0 -18
  394. package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/valid.js.map +0 -1
  395. package/dist/node_modules/jsonwebtoken/node_modules/semver/index.js +0 -140
  396. package/dist/node_modules/jsonwebtoken/node_modules/semver/index.js.map +0 -1
  397. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/constants.js +0 -36
  398. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/constants.js.map +0 -1
  399. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/debug.js +0 -14
  400. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/debug.js.map +0 -1
  401. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/identifiers.js +0 -29
  402. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/identifiers.js.map +0 -1
  403. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/lrucache.js +0 -42
  404. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/lrucache.js.map +0 -1
  405. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/parse-options.js +0 -23
  406. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/parse-options.js.map +0 -1
  407. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/re.js +0 -96
  408. package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/re.js.map +0 -1
  409. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/gtr.js +0 -15
  410. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/gtr.js.map +0 -1
  411. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/intersects.js +0 -19
  412. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/intersects.js.map +0 -1
  413. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/ltr.js +0 -15
  414. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/ltr.js.map +0 -1
  415. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/max-satisfying.js +0 -35
  416. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/max-satisfying.js.map +0 -1
  417. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-satisfying.js +0 -35
  418. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-satisfying.js.map +0 -1
  419. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-version.js +0 -66
  420. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-version.js.map +0 -1
  421. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/outside.js +0 -81
  422. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/outside.js.map +0 -1
  423. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/simplify.js +0 -56
  424. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/simplify.js.map +0 -1
  425. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js +0 -170
  426. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js.map +0 -1
  427. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js +0 -15
  428. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js.map +0 -1
  429. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js +0 -21
  430. package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js.map +0 -1
  431. package/dist/node_modules/jsonwebtoken/sign.js +0 -242
  432. package/dist/node_modules/jsonwebtoken/sign.js.map +0 -1
  433. package/dist/node_modules/jsonwebtoken/verify.js +0 -229
  434. package/dist/node_modules/jsonwebtoken/verify.js.map +0 -1
  435. package/dist/node_modules/jwa/index.js +0 -233
  436. package/dist/node_modules/jwa/index.js.map +0 -1
  437. package/dist/node_modules/jws/index.js +0 -40
  438. package/dist/node_modules/jws/index.js.map +0 -1
  439. package/dist/node_modules/jws/lib/data-stream.js +0 -55
  440. package/dist/node_modules/jws/lib/data-stream.js.map +0 -1
  441. package/dist/node_modules/jws/lib/sign-stream.js +0 -85
  442. package/dist/node_modules/jws/lib/sign-stream.js.map +0 -1
  443. package/dist/node_modules/jws/lib/tostring.js +0 -20
  444. package/dist/node_modules/jws/lib/tostring.js.map +0 -1
  445. package/dist/node_modules/jws/lib/verify-stream.js +0 -125
  446. package/dist/node_modules/jws/lib/verify-stream.js.map +0 -1
  447. package/dist/node_modules/lodash.includes/index.js +0 -181
  448. package/dist/node_modules/lodash.includes/index.js.map +0 -1
  449. package/dist/node_modules/lodash.isboolean/index.js +0 -21
  450. package/dist/node_modules/lodash.isboolean/index.js.map +0 -1
  451. package/dist/node_modules/lodash.isinteger/index.js +0 -67
  452. package/dist/node_modules/lodash.isinteger/index.js.map +0 -1
  453. package/dist/node_modules/lodash.isnumber/index.js +0 -21
  454. package/dist/node_modules/lodash.isnumber/index.js.map +0 -1
  455. package/dist/node_modules/lodash.isplainobject/index.js +0 -48
  456. package/dist/node_modules/lodash.isplainobject/index.js.map +0 -1
  457. package/dist/node_modules/lodash.isstring/index.js +0 -22
  458. package/dist/node_modules/lodash.isstring/index.js.map +0 -1
  459. package/dist/node_modules/lodash.once/index.js +0 -84
  460. package/dist/node_modules/lodash.once/index.js.map +0 -1
  461. package/dist/node_modules/ms/index.js +0 -121
  462. package/dist/node_modules/ms/index.js.map +0 -1
  463. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -22
  464. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js.map +0 -1
  465. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -16
  466. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js.map +0 -1
  467. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  468. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -33
  469. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
  470. package/dist/node_modules/react/compiler-runtime.js +0 -18
  471. package/dist/node_modules/react/compiler-runtime.js.map +0 -1
  472. package/dist/node_modules/react/jsx-runtime.js +0 -18
  473. package/dist/node_modules/react/jsx-runtime.js.map +0 -1
  474. package/dist/node_modules/safe-buffer/index.js +0 -66
  475. package/dist/node_modules/safe-buffer/index.js.map +0 -1
  476. package/dist/providers/DialogsProvider.d.ts +0 -5
  477. package/dist/providers/DialogsProvider.js +0 -79
  478. package/dist/providers/DialogsProvider.js.map +0 -1
  479. package/dist/providers/LayoutProvider.d.ts +0 -11
  480. package/dist/providers/LayoutProvider.js +0 -94
  481. package/dist/providers/LayoutProvider.js.map +0 -1
  482. package/dist/queries/ApprovalHooks.d.ts +0 -338
  483. package/dist/queries/ApprovalHooks.js +0 -326
  484. package/dist/queries/ApprovalHooks.js.map +0 -1
  485. package/dist/queries/FileHooks.d.ts +0 -151
  486. package/dist/queries/FileHooks.js +0 -493
  487. package/dist/queries/FileHooks.js.map +0 -1
  488. package/dist/queries/PeopleSoftHooks.d.ts +0 -537
  489. package/dist/queries/PeopleSoftHooks.js +0 -628
  490. package/dist/queries/PeopleSoftHooks.js.map +0 -1
@@ -1,170 +0,0 @@
1
- import { __require as requireRange } from "../classes/range.js";
2
- import { __require as requireComparator } from "../classes/comparator.js";
3
- import { __require as requireSatisfies } from "../functions/satisfies.js";
4
- import { __require as requireCompare } from "../functions/compare.js";
5
- var subset_1;
6
- var hasRequiredSubset;
7
- function requireSubset() {
8
- if (hasRequiredSubset) return subset_1;
9
- hasRequiredSubset = 1;
10
- const Range = requireRange();
11
- const Comparator = requireComparator();
12
- const { ANY } = Comparator;
13
- const satisfies = requireSatisfies();
14
- const compare = requireCompare();
15
- const subset = (sub, dom, options = {}) => {
16
- if (sub === dom) {
17
- return true;
18
- }
19
- sub = new Range(sub, options);
20
- dom = new Range(dom, options);
21
- let sawNonNull = false;
22
- OUTER: for (const simpleSub of sub.set) {
23
- for (const simpleDom of dom.set) {
24
- const isSub = simpleSubset(simpleSub, simpleDom, options);
25
- sawNonNull = sawNonNull || isSub !== null;
26
- if (isSub) {
27
- continue OUTER;
28
- }
29
- }
30
- if (sawNonNull) {
31
- return false;
32
- }
33
- }
34
- return true;
35
- };
36
- const minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
37
- const minimumVersion = [new Comparator(">=0.0.0")];
38
- const simpleSubset = (sub, dom, options) => {
39
- if (sub === dom) {
40
- return true;
41
- }
42
- if (sub.length === 1 && sub[0].semver === ANY) {
43
- if (dom.length === 1 && dom[0].semver === ANY) {
44
- return true;
45
- } else if (options.includePrerelease) {
46
- sub = minimumVersionWithPreRelease;
47
- } else {
48
- sub = minimumVersion;
49
- }
50
- }
51
- if (dom.length === 1 && dom[0].semver === ANY) {
52
- if (options.includePrerelease) {
53
- return true;
54
- } else {
55
- dom = minimumVersion;
56
- }
57
- }
58
- const eqSet = /* @__PURE__ */ new Set();
59
- let gt, lt;
60
- for (const c of sub) {
61
- if (c.operator === ">" || c.operator === ">=") {
62
- gt = higherGT(gt, c, options);
63
- } else if (c.operator === "<" || c.operator === "<=") {
64
- lt = lowerLT(lt, c, options);
65
- } else {
66
- eqSet.add(c.semver);
67
- }
68
- }
69
- if (eqSet.size > 1) {
70
- return null;
71
- }
72
- let gtltComp;
73
- if (gt && lt) {
74
- gtltComp = compare(gt.semver, lt.semver, options);
75
- if (gtltComp > 0) {
76
- return null;
77
- } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
78
- return null;
79
- }
80
- }
81
- for (const eq of eqSet) {
82
- if (gt && !satisfies(eq, String(gt), options)) {
83
- return null;
84
- }
85
- if (lt && !satisfies(eq, String(lt), options)) {
86
- return null;
87
- }
88
- for (const c of dom) {
89
- if (!satisfies(eq, String(c), options)) {
90
- return false;
91
- }
92
- }
93
- return true;
94
- }
95
- let higher, lower;
96
- let hasDomLT, hasDomGT;
97
- let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
98
- let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
99
- if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
100
- needDomLTPre = false;
101
- }
102
- for (const c of dom) {
103
- hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
104
- hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
105
- if (gt) {
106
- if (needDomGTPre) {
107
- if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
108
- needDomGTPre = false;
109
- }
110
- }
111
- if (c.operator === ">" || c.operator === ">=") {
112
- higher = higherGT(gt, c, options);
113
- if (higher === c && higher !== gt) {
114
- return false;
115
- }
116
- } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
117
- return false;
118
- }
119
- }
120
- if (lt) {
121
- if (needDomLTPre) {
122
- if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
123
- needDomLTPre = false;
124
- }
125
- }
126
- if (c.operator === "<" || c.operator === "<=") {
127
- lower = lowerLT(lt, c, options);
128
- if (lower === c && lower !== lt) {
129
- return false;
130
- }
131
- } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
132
- return false;
133
- }
134
- }
135
- if (!c.operator && (lt || gt) && gtltComp !== 0) {
136
- return false;
137
- }
138
- }
139
- if (gt && hasDomLT && !lt && gtltComp !== 0) {
140
- return false;
141
- }
142
- if (lt && hasDomGT && !gt && gtltComp !== 0) {
143
- return false;
144
- }
145
- if (needDomGTPre || needDomLTPre) {
146
- return false;
147
- }
148
- return true;
149
- };
150
- const higherGT = (a, b, options) => {
151
- if (!a) {
152
- return b;
153
- }
154
- const comp = compare(a.semver, b.semver, options);
155
- return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
156
- };
157
- const lowerLT = (a, b, options) => {
158
- if (!a) {
159
- return b;
160
- }
161
- const comp = compare(a.semver, b.semver, options);
162
- return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
163
- };
164
- subset_1 = subset;
165
- return subset_1;
166
- }
167
- export {
168
- requireSubset as __require
169
- };
170
- //# sourceMappingURL=subset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subset.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js"],"sourcesContent":["'use strict'\n\nconst Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;AAEA,QAAM,QAAQA,aAAA;AACd,QAAM,aAAaC,kBAAA;AACnB,QAAM,EAAE,IAAG,IAAK;AAChB,QAAM,YAAYC,iBA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Ac;AAChC,aAAO;AAAA,IACX;AAEE,WAAO;AAAA,EACT;AAGA,QAAM,WAAW,CAAC,GAAG,GAAG,YAAY;AAClC,QAAI,CAAC,GAAG;AACN,aAAO;AAAA,IACX;AACE,UAAM,OAAO,QAAQ,EAAE,QAAQ,EAAE,QAAQ,OAAO;AAChD,WAAO,OAAO,IAAI,IACd,OAAO,IAAI,IACX,EAAE,aAAa,OAAO,EAAE,aAAa,OAAO,IAC5C;AAAA,EACN;AAGA,QAAM,UAAU,CAAC,GAAG,GAAG,YAAY;AACjC,QAAI,CAAC,GAAG;AACN,aAAO;AAAA,IACX;AACE,UAAM,OAAO,QAAQ,EAAE,QAAQ,EAAE,QAAQ,OAAO;AAChD,WAAO,OAAO,IAAI,IACd,OAAO,IAAI,IACX,EAAE,aAAa,OAAO,EAAE,aAAa,OAAO,IAC5C;AAAA,EACN;AAEA,aAAiB;;;","x_google_ignoreList":[0]}
@@ -1,15 +0,0 @@
1
- import { __require as requireRange } from "../classes/range.js";
2
- var toComparators_1;
3
- var hasRequiredToComparators;
4
- function requireToComparators() {
5
- if (hasRequiredToComparators) return toComparators_1;
6
- hasRequiredToComparators = 1;
7
- const Range = requireRange();
8
- const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
9
- toComparators_1 = toComparators;
10
- return toComparators_1;
11
- }
12
- export {
13
- requireToComparators as __require
14
- };
15
- //# sourceMappingURL=to-comparators.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"to-comparators.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js"],"sourcesContent":["'use strict'\n\nconst Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,QAAQA,aAAA;AAGd,QAAM,gBAAgB,CAAC,OAAO,YAC5B,IAAI,MAAM,OAAO,OAAO,EAAE,IACvB,IAAI,UAAQ,KAAK,IAAI,OAAK,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,KAAI,EAAG,MAAM,GAAG,CAAC;AAEnE,oBAAiB;;;","x_google_ignoreList":[0]}
@@ -1,21 +0,0 @@
1
- import { __require as requireRange } from "../classes/range.js";
2
- var valid;
3
- var hasRequiredValid;
4
- function requireValid() {
5
- if (hasRequiredValid) return valid;
6
- hasRequiredValid = 1;
7
- const Range = requireRange();
8
- const validRange = (range, options) => {
9
- try {
10
- return new Range(range, options).range || "*";
11
- } catch (er) {
12
- return null;
13
- }
14
- };
15
- valid = validRange;
16
- return valid;
17
- }
18
- export {
19
- requireValid as __require
20
- };
21
- //# sourceMappingURL=valid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"valid.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js"],"sourcesContent":["'use strict'\n\nconst Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,QAAQA,aAAA;AACd,QAAM,aAAa,CAAC,OAAO,YAAY;AACrC,QAAI;AAGF,aAAO,IAAI,MAAM,OAAO,OAAO,EAAE,SAAS;AAAA,IAC9C,SAAW,IAAI;AACX,aAAO;AAAA,IACX;AAAA,EACA;AACA,UAAiB;;;","x_google_ignoreList":[0]}
@@ -1,242 +0,0 @@
1
- import { __require as requireTimespan } from "./lib/timespan.js";
2
- import { __require as requirePsSupported } from "./lib/psSupported.js";
3
- import { __require as requireValidateAsymmetricKey } from "./lib/validateAsymmetricKey.js";
4
- import { __require as requireJws } from "../jws/index.js";
5
- import { __require as requireLodash_includes } from "../lodash.includes/index.js";
6
- import { __require as requireLodash_isboolean } from "../lodash.isboolean/index.js";
7
- import { __require as requireLodash_isinteger } from "../lodash.isinteger/index.js";
8
- import { __require as requireLodash_isnumber } from "../lodash.isnumber/index.js";
9
- import { __require as requireLodash_isplainobject } from "../lodash.isplainobject/index.js";
10
- import { __require as requireLodash_isstring } from "../lodash.isstring/index.js";
11
- import { __require as requireLodash_once } from "../lodash.once/index.js";
12
- import require$$11 from "../../_virtual/___vite-browser-external.js";
13
- var sign;
14
- var hasRequiredSign;
15
- function requireSign() {
16
- if (hasRequiredSign) return sign;
17
- hasRequiredSign = 1;
18
- const timespan = requireTimespan();
19
- const PS_SUPPORTED = requirePsSupported();
20
- const validateAsymmetricKey = requireValidateAsymmetricKey();
21
- const jws = requireJws();
22
- const includes = requireLodash_includes();
23
- const isBoolean = requireLodash_isboolean();
24
- const isInteger = requireLodash_isinteger();
25
- const isNumber = requireLodash_isnumber();
26
- const isPlainObject = requireLodash_isplainobject();
27
- const isString = requireLodash_isstring();
28
- const once = requireLodash_once();
29
- const { KeyObject, createSecretKey, createPrivateKey } = require$$11;
30
- const SUPPORTED_ALGS = ["RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "HS256", "HS384", "HS512", "none"];
31
- if (PS_SUPPORTED) {
32
- SUPPORTED_ALGS.splice(3, 0, "PS256", "PS384", "PS512");
33
- }
34
- const sign_options_schema = {
35
- expiresIn: { isValid: function(value) {
36
- return isInteger(value) || isString(value) && value;
37
- }, message: '"expiresIn" should be a number of seconds or string representing a timespan' },
38
- notBefore: { isValid: function(value) {
39
- return isInteger(value) || isString(value) && value;
40
- }, message: '"notBefore" should be a number of seconds or string representing a timespan' },
41
- audience: { isValid: function(value) {
42
- return isString(value) || Array.isArray(value);
43
- }, message: '"audience" must be a string or array' },
44
- algorithm: { isValid: includes.bind(null, SUPPORTED_ALGS), message: '"algorithm" must be a valid string enum value' },
45
- header: { isValid: isPlainObject, message: '"header" must be an object' },
46
- encoding: { isValid: isString, message: '"encoding" must be a string' },
47
- issuer: { isValid: isString, message: '"issuer" must be a string' },
48
- subject: { isValid: isString, message: '"subject" must be a string' },
49
- jwtid: { isValid: isString, message: '"jwtid" must be a string' },
50
- noTimestamp: { isValid: isBoolean, message: '"noTimestamp" must be a boolean' },
51
- keyid: { isValid: isString, message: '"keyid" must be a string' },
52
- mutatePayload: { isValid: isBoolean, message: '"mutatePayload" must be a boolean' },
53
- allowInsecureKeySizes: { isValid: isBoolean, message: '"allowInsecureKeySizes" must be a boolean' },
54
- allowInvalidAsymmetricKeyTypes: { isValid: isBoolean, message: '"allowInvalidAsymmetricKeyTypes" must be a boolean' }
55
- };
56
- const registered_claims_schema = {
57
- iat: { isValid: isNumber, message: '"iat" should be a number of seconds' },
58
- exp: { isValid: isNumber, message: '"exp" should be a number of seconds' },
59
- nbf: { isValid: isNumber, message: '"nbf" should be a number of seconds' }
60
- };
61
- function validate(schema, allowUnknown, object, parameterName) {
62
- if (!isPlainObject(object)) {
63
- throw new Error('Expected "' + parameterName + '" to be a plain object.');
64
- }
65
- Object.keys(object).forEach(function(key) {
66
- const validator = schema[key];
67
- if (!validator) {
68
- if (!allowUnknown) {
69
- throw new Error('"' + key + '" is not allowed in "' + parameterName + '"');
70
- }
71
- return;
72
- }
73
- if (!validator.isValid(object[key])) {
74
- throw new Error(validator.message);
75
- }
76
- });
77
- }
78
- function validateOptions(options) {
79
- return validate(sign_options_schema, false, options, "options");
80
- }
81
- function validatePayload(payload) {
82
- return validate(registered_claims_schema, true, payload, "payload");
83
- }
84
- const options_to_payload = {
85
- "audience": "aud",
86
- "issuer": "iss",
87
- "subject": "sub",
88
- "jwtid": "jti"
89
- };
90
- const options_for_objects = [
91
- "expiresIn",
92
- "notBefore",
93
- "noTimestamp",
94
- "audience",
95
- "issuer",
96
- "subject",
97
- "jwtid"
98
- ];
99
- sign = function(payload, secretOrPrivateKey, options, callback) {
100
- if (typeof options === "function") {
101
- callback = options;
102
- options = {};
103
- } else {
104
- options = options || {};
105
- }
106
- const isObjectPayload = typeof payload === "object" && !Buffer.isBuffer(payload);
107
- const header = Object.assign({
108
- alg: options.algorithm || "HS256",
109
- typ: isObjectPayload ? "JWT" : void 0,
110
- kid: options.keyid
111
- }, options.header);
112
- function failure(err) {
113
- if (callback) {
114
- return callback(err);
115
- }
116
- throw err;
117
- }
118
- if (!secretOrPrivateKey && options.algorithm !== "none") {
119
- return failure(new Error("secretOrPrivateKey must have a value"));
120
- }
121
- if (secretOrPrivateKey != null && !(secretOrPrivateKey instanceof KeyObject)) {
122
- try {
123
- secretOrPrivateKey = createPrivateKey(secretOrPrivateKey);
124
- } catch (_) {
125
- try {
126
- secretOrPrivateKey = createSecretKey(typeof secretOrPrivateKey === "string" ? Buffer.from(secretOrPrivateKey) : secretOrPrivateKey);
127
- } catch (_2) {
128
- return failure(new Error("secretOrPrivateKey is not valid key material"));
129
- }
130
- }
131
- }
132
- if (header.alg.startsWith("HS") && secretOrPrivateKey.type !== "secret") {
133
- return failure(new Error(`secretOrPrivateKey must be a symmetric key when using ${header.alg}`));
134
- } else if (/^(?:RS|PS|ES)/.test(header.alg)) {
135
- if (secretOrPrivateKey.type !== "private") {
136
- return failure(new Error(`secretOrPrivateKey must be an asymmetric key when using ${header.alg}`));
137
- }
138
- if (!options.allowInsecureKeySizes && !header.alg.startsWith("ES") && secretOrPrivateKey.asymmetricKeyDetails !== void 0 && //KeyObject.asymmetricKeyDetails is supported in Node 15+
139
- secretOrPrivateKey.asymmetricKeyDetails.modulusLength < 2048) {
140
- return failure(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`));
141
- }
142
- }
143
- if (typeof payload === "undefined") {
144
- return failure(new Error("payload is required"));
145
- } else if (isObjectPayload) {
146
- try {
147
- validatePayload(payload);
148
- } catch (error) {
149
- return failure(error);
150
- }
151
- if (!options.mutatePayload) {
152
- payload = Object.assign({}, payload);
153
- }
154
- } else {
155
- const invalid_options = options_for_objects.filter(function(opt) {
156
- return typeof options[opt] !== "undefined";
157
- });
158
- if (invalid_options.length > 0) {
159
- return failure(new Error("invalid " + invalid_options.join(",") + " option for " + typeof payload + " payload"));
160
- }
161
- }
162
- if (typeof payload.exp !== "undefined" && typeof options.expiresIn !== "undefined") {
163
- return failure(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));
164
- }
165
- if (typeof payload.nbf !== "undefined" && typeof options.notBefore !== "undefined") {
166
- return failure(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));
167
- }
168
- try {
169
- validateOptions(options);
170
- } catch (error) {
171
- return failure(error);
172
- }
173
- if (!options.allowInvalidAsymmetricKeyTypes) {
174
- try {
175
- validateAsymmetricKey(header.alg, secretOrPrivateKey);
176
- } catch (error) {
177
- return failure(error);
178
- }
179
- }
180
- const timestamp = payload.iat || Math.floor(Date.now() / 1e3);
181
- if (options.noTimestamp) {
182
- delete payload.iat;
183
- } else if (isObjectPayload) {
184
- payload.iat = timestamp;
185
- }
186
- if (typeof options.notBefore !== "undefined") {
187
- try {
188
- payload.nbf = timespan(options.notBefore, timestamp);
189
- } catch (err) {
190
- return failure(err);
191
- }
192
- if (typeof payload.nbf === "undefined") {
193
- return failure(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));
194
- }
195
- }
196
- if (typeof options.expiresIn !== "undefined" && typeof payload === "object") {
197
- try {
198
- payload.exp = timespan(options.expiresIn, timestamp);
199
- } catch (err) {
200
- return failure(err);
201
- }
202
- if (typeof payload.exp === "undefined") {
203
- return failure(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));
204
- }
205
- }
206
- Object.keys(options_to_payload).forEach(function(key) {
207
- const claim = options_to_payload[key];
208
- if (typeof options[key] !== "undefined") {
209
- if (typeof payload[claim] !== "undefined") {
210
- return failure(new Error('Bad "options.' + key + '" option. The payload already has an "' + claim + '" property.'));
211
- }
212
- payload[claim] = options[key];
213
- }
214
- });
215
- const encoding = options.encoding || "utf8";
216
- if (typeof callback === "function") {
217
- callback = callback && once(callback);
218
- jws.createSign({
219
- header,
220
- privateKey: secretOrPrivateKey,
221
- payload,
222
- encoding
223
- }).once("error", callback).once("done", function(signature) {
224
- if (!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {
225
- return callback(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`));
226
- }
227
- callback(null, signature);
228
- });
229
- } else {
230
- let signature = jws.sign({ header, payload, secret: secretOrPrivateKey, encoding });
231
- if (!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {
232
- throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`);
233
- }
234
- return signature;
235
- }
236
- };
237
- return sign;
238
- }
239
- export {
240
- requireSign as __require
241
- };
242
- //# sourceMappingURL=sign.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sign.js","sources":["../../../node_modules/jsonwebtoken/sign.js"],"sourcesContent":["const timespan = require('./lib/timespan');\nconst PS_SUPPORTED = require('./lib/psSupported');\nconst validateAsymmetricKey = require('./lib/validateAsymmetricKey');\nconst jws = require('jws');\nconst includes = require('lodash.includes');\nconst isBoolean = require('lodash.isboolean');\nconst isInteger = require('lodash.isinteger');\nconst isNumber = require('lodash.isnumber');\nconst isPlainObject = require('lodash.isplainobject');\nconst isString = require('lodash.isstring');\nconst once = require('lodash.once');\nconst { KeyObject, createSecretKey, createPrivateKey } = require('crypto')\n\nconst SUPPORTED_ALGS = ['RS256', 'RS384', 'RS512', 'ES256', 'ES384', 'ES512', 'HS256', 'HS384', 'HS512', 'none'];\nif (PS_SUPPORTED) {\n SUPPORTED_ALGS.splice(3, 0, 'PS256', 'PS384', 'PS512');\n}\n\nconst sign_options_schema = {\n expiresIn: { isValid: function(value) { return isInteger(value) || (isString(value) && value); }, message: '\"expiresIn\" should be a number of seconds or string representing a timespan' },\n notBefore: { isValid: function(value) { return isInteger(value) || (isString(value) && value); }, message: '\"notBefore\" should be a number of seconds or string representing a timespan' },\n audience: { isValid: function(value) { return isString(value) || Array.isArray(value); }, message: '\"audience\" must be a string or array' },\n algorithm: { isValid: includes.bind(null, SUPPORTED_ALGS), message: '\"algorithm\" must be a valid string enum value' },\n header: { isValid: isPlainObject, message: '\"header\" must be an object' },\n encoding: { isValid: isString, message: '\"encoding\" must be a string' },\n issuer: { isValid: isString, message: '\"issuer\" must be a string' },\n subject: { isValid: isString, message: '\"subject\" must be a string' },\n jwtid: { isValid: isString, message: '\"jwtid\" must be a string' },\n noTimestamp: { isValid: isBoolean, message: '\"noTimestamp\" must be a boolean' },\n keyid: { isValid: isString, message: '\"keyid\" must be a string' },\n mutatePayload: { isValid: isBoolean, message: '\"mutatePayload\" must be a boolean' },\n allowInsecureKeySizes: { isValid: isBoolean, message: '\"allowInsecureKeySizes\" must be a boolean'},\n allowInvalidAsymmetricKeyTypes: { isValid: isBoolean, message: '\"allowInvalidAsymmetricKeyTypes\" must be a boolean'}\n};\n\nconst registered_claims_schema = {\n iat: { isValid: isNumber, message: '\"iat\" should be a number of seconds' },\n exp: { isValid: isNumber, message: '\"exp\" should be a number of seconds' },\n nbf: { isValid: isNumber, message: '\"nbf\" should be a number of seconds' }\n};\n\nfunction validate(schema, allowUnknown, object, parameterName) {\n if (!isPlainObject(object)) {\n throw new Error('Expected \"' + parameterName + '\" to be a plain object.');\n }\n Object.keys(object)\n .forEach(function(key) {\n const validator = schema[key];\n if (!validator) {\n if (!allowUnknown) {\n throw new Error('\"' + key + '\" is not allowed in \"' + parameterName + '\"');\n }\n return;\n }\n if (!validator.isValid(object[key])) {\n throw new Error(validator.message);\n }\n });\n}\n\nfunction validateOptions(options) {\n return validate(sign_options_schema, false, options, 'options');\n}\n\nfunction validatePayload(payload) {\n return validate(registered_claims_schema, true, payload, 'payload');\n}\n\nconst options_to_payload = {\n 'audience': 'aud',\n 'issuer': 'iss',\n 'subject': 'sub',\n 'jwtid': 'jti'\n};\n\nconst options_for_objects = [\n 'expiresIn',\n 'notBefore',\n 'noTimestamp',\n 'audience',\n 'issuer',\n 'subject',\n 'jwtid',\n];\n\nmodule.exports = function (payload, secretOrPrivateKey, options, callback) {\n if (typeof options === 'function') {\n callback = options;\n options = {};\n } else {\n options = options || {};\n }\n\n const isObjectPayload = typeof payload === 'object' &&\n !Buffer.isBuffer(payload);\n\n const header = Object.assign({\n alg: options.algorithm || 'HS256',\n typ: isObjectPayload ? 'JWT' : undefined,\n kid: options.keyid\n }, options.header);\n\n function failure(err) {\n if (callback) {\n return callback(err);\n }\n throw err;\n }\n\n if (!secretOrPrivateKey && options.algorithm !== 'none') {\n return failure(new Error('secretOrPrivateKey must have a value'));\n }\n\n if (secretOrPrivateKey != null && !(secretOrPrivateKey instanceof KeyObject)) {\n try {\n secretOrPrivateKey = createPrivateKey(secretOrPrivateKey)\n } catch (_) {\n try {\n secretOrPrivateKey = createSecretKey(typeof secretOrPrivateKey === 'string' ? Buffer.from(secretOrPrivateKey) : secretOrPrivateKey)\n } catch (_) {\n return failure(new Error('secretOrPrivateKey is not valid key material'));\n }\n }\n }\n\n if (header.alg.startsWith('HS') && secretOrPrivateKey.type !== 'secret') {\n return failure(new Error((`secretOrPrivateKey must be a symmetric key when using ${header.alg}`)))\n } else if (/^(?:RS|PS|ES)/.test(header.alg)) {\n if (secretOrPrivateKey.type !== 'private') {\n return failure(new Error((`secretOrPrivateKey must be an asymmetric key when using ${header.alg}`)))\n }\n if (!options.allowInsecureKeySizes &&\n !header.alg.startsWith('ES') &&\n secretOrPrivateKey.asymmetricKeyDetails !== undefined && //KeyObject.asymmetricKeyDetails is supported in Node 15+\n secretOrPrivateKey.asymmetricKeyDetails.modulusLength < 2048) {\n return failure(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`));\n }\n }\n\n if (typeof payload === 'undefined') {\n return failure(new Error('payload is required'));\n } else if (isObjectPayload) {\n try {\n validatePayload(payload);\n }\n catch (error) {\n return failure(error);\n }\n if (!options.mutatePayload) {\n payload = Object.assign({},payload);\n }\n } else {\n const invalid_options = options_for_objects.filter(function (opt) {\n return typeof options[opt] !== 'undefined';\n });\n\n if (invalid_options.length > 0) {\n return failure(new Error('invalid ' + invalid_options.join(',') + ' option for ' + (typeof payload ) + ' payload'));\n }\n }\n\n if (typeof payload.exp !== 'undefined' && typeof options.expiresIn !== 'undefined') {\n return failure(new Error('Bad \"options.expiresIn\" option the payload already has an \"exp\" property.'));\n }\n\n if (typeof payload.nbf !== 'undefined' && typeof options.notBefore !== 'undefined') {\n return failure(new Error('Bad \"options.notBefore\" option the payload already has an \"nbf\" property.'));\n }\n\n try {\n validateOptions(options);\n }\n catch (error) {\n return failure(error);\n }\n\n if (!options.allowInvalidAsymmetricKeyTypes) {\n try {\n validateAsymmetricKey(header.alg, secretOrPrivateKey);\n } catch (error) {\n return failure(error);\n }\n }\n\n const timestamp = payload.iat || Math.floor(Date.now() / 1000);\n\n if (options.noTimestamp) {\n delete payload.iat;\n } else if (isObjectPayload) {\n payload.iat = timestamp;\n }\n\n if (typeof options.notBefore !== 'undefined') {\n try {\n payload.nbf = timespan(options.notBefore, timestamp);\n }\n catch (err) {\n return failure(err);\n }\n if (typeof payload.nbf === 'undefined') {\n return failure(new Error('\"notBefore\" should be a number of seconds or string representing a timespan eg: \"1d\", \"20h\", 60'));\n }\n }\n\n if (typeof options.expiresIn !== 'undefined' && typeof payload === 'object') {\n try {\n payload.exp = timespan(options.expiresIn, timestamp);\n }\n catch (err) {\n return failure(err);\n }\n if (typeof payload.exp === 'undefined') {\n return failure(new Error('\"expiresIn\" should be a number of seconds or string representing a timespan eg: \"1d\", \"20h\", 60'));\n }\n }\n\n Object.keys(options_to_payload).forEach(function (key) {\n const claim = options_to_payload[key];\n if (typeof options[key] !== 'undefined') {\n if (typeof payload[claim] !== 'undefined') {\n return failure(new Error('Bad \"options.' + key + '\" option. The payload already has an \"' + claim + '\" property.'));\n }\n payload[claim] = options[key];\n }\n });\n\n const encoding = options.encoding || 'utf8';\n\n if (typeof callback === 'function') {\n callback = callback && once(callback);\n\n jws.createSign({\n header: header,\n privateKey: secretOrPrivateKey,\n payload: payload,\n encoding: encoding\n }).once('error', callback)\n .once('done', function (signature) {\n // TODO: Remove in favor of the modulus length check before signing once node 15+ is the minimum supported version\n if(!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {\n return callback(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`))\n }\n callback(null, signature);\n });\n } else {\n let signature = jws.sign({header: header, payload: payload, secret: secretOrPrivateKey, encoding: encoding});\n // TODO: Remove in favor of the modulus length check before signing once node 15+ is the minimum supported version\n if(!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {\n throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`)\n }\n return signature\n }\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","_"],"mappings":";;;;;;;;;;;;;;;;;AAAA,QAAM,WAAWA,gBAAA;AACjB,QAAM,eAAeC,mBAAA;AACrB,QAAM,wBAAwBC,6BAAA;AAC9B,QAAM,MAAMC,WAAA;AACZ,QAAM,WAAWC,uBAAA;AACjB,QAAM,YAAYC,wBAAA;AAClB,QAAM,YAAYC,wBAAA;AAClB,QAAM,WAAWC,uBAAA;AACjB,QAAM,gBAAgBC,4BAAA;AACtB,QAAM,WAAWC,uBAAA;AACjB,QAAM,OAAOC,mBAAA;AACb,QAAM,EAAE,WAAW,iBAAiB,qBAAqB;AAEzD,QAAM,iBAAiB,CAAC,SAAS,SAAS,SAAS,SAAS,SAAS,SAAS,SAAS,SAAS,SAAS,MAAM;AAC/G,MAAI,cAAc;AAChB,mBAAe,OAAO,GAAG,GAAG,SAAS,SAAS,OAAO;AAAA,EACvD;AAEA,QAAM,sBAAsB;AAAA,IAC1B,WAAW,EAAE,SAAS,SAAS,OAAO;AAAE,aAAO,UAAU,KAAK,KAAM,SAAS,KAAK,KAAK;AAAA,IAAO,GAAI,SAAS,8EAA6E;AAAA,IACxL,WAAW,E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