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.
- package/dist/ApprovalStatus-BtAVFn5p.js +8 -0
- package/dist/ApprovalStatus-BtAVFn5p.js.map +1 -0
- package/dist/{node_modules/react/cjs/react-jsx-runtime.development.js → DialogsContext-BKtkEAfL.js} +48 -4
- package/dist/DialogsContext-BKtkEAfL.js.map +1 -0
- package/dist/{hooks/DialogsHooks.js → DialogsHooks-BQVpqCq9.js} +4 -7
- package/dist/DialogsHooks-BQVpqCq9.js.map +1 -0
- package/dist/FileHooks-Cg9ver7z.js +3478 -0
- package/dist/FileHooks-Cg9ver7z.js.map +1 -0
- package/dist/{models/file/FileMeta.js → FileMeta-G1oT3mYK.js} +2 -2
- package/dist/FileMeta-G1oT3mYK.js.map +1 -0
- package/dist/{components/router/RouterListItemButton.js → RouterListItemButton-IUVgwnz3.js} +4 -4
- package/dist/RouterListItemButton-IUVgwnz3.js.map +1 -0
- package/dist/client.js +4 -4
- package/dist/compiler-runtime-BGHur82y.js +46 -0
- package/dist/compiler-runtime-BGHur82y.js.map +1 -0
- package/dist/components.js +1486 -15
- package/dist/components.js.map +1 -1
- package/dist/{env.js → env-gsqZ6zZD.js} +3 -3
- package/dist/env-gsqZ6zZD.js.map +1 -0
- package/dist/exports/client.d.ts +17 -4
- package/dist/exports/components.d.ts +44 -14
- package/dist/exports/hooks.d.ts +23 -4
- package/dist/exports/index.d.ts +17 -4
- package/dist/exports/models.d.ts +107 -25
- package/dist/exports/queries.d.ts +95 -4
- package/dist/exports/server.d.ts +14 -4
- package/dist/exports/utils.d.ts +11 -3
- package/dist/exports/vite.d.ts +5 -1
- package/dist/hooks.js +1000 -3
- package/dist/hooks.js.map +1 -1
- package/dist/index.js +1752 -4
- package/dist/index.js.map +1 -1
- package/dist/models.js +159 -10
- package/dist/models.js.map +1 -1
- package/dist/queries.js +935 -14
- package/dist/queries.js.map +1 -1
- package/dist/{lib/queryClient.js → queryClient-CNvC95mU.js} +2 -2
- package/dist/queryClient-CNvC95mU.js.map +1 -0
- package/dist/server.js +84 -1
- package/dist/server.js.map +1 -1
- package/dist/{lib/auth/session.js → session-vW7WZadj.js} +24 -9
- package/dist/session-vW7WZadj.js.map +1 -0
- package/dist/{lib/utils.js → utils-MD9YwOtu.js} +9 -9
- package/dist/utils-MD9YwOtu.js.map +1 -0
- package/dist/utils.js +2 -2
- package/dist/vite.js +61 -1
- package/dist/vite.js.map +1 -1
- package/package.json +1 -1
- package/dist/_virtual/___vite-browser-external.js +0 -7
- package/dist/_virtual/___vite-browser-external.js.map +0 -1
- package/dist/_virtual/__vite-browser-external.js +0 -5
- package/dist/_virtual/__vite-browser-external.js.map +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -37
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/compiler-runtime.js +0 -6
- package/dist/_virtual/compiler-runtime.js.map +0 -1
- package/dist/_virtual/compiler-runtime2.js +0 -5
- package/dist/_virtual/compiler-runtime2.js.map +0 -1
- package/dist/_virtual/index.js +0 -8
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index3.js +0 -5
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/index4.js +0 -5
- package/dist/_virtual/index4.js.map +0 -1
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/_virtual/index6.js +0 -5
- package/dist/_virtual/index6.js.map +0 -1
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/jsx-runtime2.js.map +0 -1
- package/dist/_virtual/re.js +0 -5
- package/dist/_virtual/re.js.map +0 -1
- package/dist/_virtual/react-compiler-runtime.development.js +0 -5
- package/dist/_virtual/react-compiler-runtime.development.js.map +0 -1
- package/dist/_virtual/react-compiler-runtime.production.js +0 -5
- package/dist/_virtual/react-compiler-runtime.production.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
- package/dist/components/core/AppTitle.d.ts +0 -2
- package/dist/components/core/AppTitle.js +0 -23
- package/dist/components/core/AppTitle.js.map +0 -1
- package/dist/components/core/Fullscreen.d.ts +0 -3
- package/dist/components/core/Fullscreen.js +0 -104
- package/dist/components/core/Fullscreen.js.map +0 -1
- package/dist/components/core/Layout.d.ts +0 -8
- package/dist/components/core/Layout.js +0 -214
- package/dist/components/core/Layout.js.map +0 -1
- package/dist/components/core/ToolbarAccount.d.ts +0 -2
- package/dist/components/core/ToolbarAccount.js +0 -582
- package/dist/components/core/ToolbarAccount.js.map +0 -1
- package/dist/components/core/TypographyWithIcon.d.ts +0 -7
- package/dist/components/core/TypographyWithIcon.js +0 -117
- package/dist/components/core/TypographyWithIcon.js.map +0 -1
- package/dist/components/core/navigation/NavigationList.d.ts +0 -22
- package/dist/components/core/navigation/NavigationList.js +0 -166
- package/dist/components/core/navigation/NavigationList.js.map +0 -1
- package/dist/components/core/navigation/NavigationListItem.d.ts +0 -16
- package/dist/components/core/navigation/NavigationListItem.js +0 -467
- package/dist/components/core/navigation/NavigationListItem.js.map +0 -1
- package/dist/components/core/navigation/NavigationRail.d.ts +0 -12
- package/dist/components/core/navigation/NavigationRail.js +0 -141
- package/dist/components/core/navigation/NavigationRail.js.map +0 -1
- package/dist/components/data-grid/ChipInputCell.d.ts +0 -9
- package/dist/components/data-grid/ChipInputCell.js +0 -95
- package/dist/components/data-grid/ChipInputCell.js.map +0 -1
- package/dist/components/data-grid/EditableColumnHeader.d.ts +0 -2
- package/dist/components/data-grid/EditableColumnHeader.js +0 -30
- package/dist/components/data-grid/EditableColumnHeader.js.map +0 -1
- package/dist/components/file/Dropzone.d.ts +0 -8
- package/dist/components/file/Dropzone.js +0 -151
- package/dist/components/file/Dropzone.js.map +0 -1
- package/dist/components/file/FileViewer.d.ts +0 -20
- package/dist/components/file/FileViewer.js +0 -127
- package/dist/components/file/FileViewer.js.map +0 -1
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +0 -17
- package/dist/components/file/fileViewer/FileViewerGrid.js +0 -282
- package/dist/components/file/fileViewer/FileViewerGrid.js.map +0 -1
- package/dist/components/file/fileViewer/FileViewerList.d.ts +0 -12
- package/dist/components/file/fileViewer/FileViewerList.js +0 -191
- package/dist/components/file/fileViewer/FileViewerList.js.map +0 -1
- package/dist/components/file/fileViewer/ImageViewer.d.ts +0 -6
- package/dist/components/file/fileViewer/ImageViewer.js +0 -75
- package/dist/components/file/fileViewer/ImageViewer.js.map +0 -1
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +0 -15
- package/dist/components/file/fileViewer/common/ActionsMenu.js +0 -159
- package/dist/components/file/fileViewer/common/ActionsMenu.js.map +0 -1
- package/dist/components/form/FormAutocomplete.d.ts +0 -7
- package/dist/components/form/FormAutocomplete.js +0 -80
- package/dist/components/form/FormAutocomplete.js.map +0 -1
- package/dist/components/form/FormCheckbox.d.ts +0 -7
- package/dist/components/form/FormCheckbox.js +0 -81
- package/dist/components/form/FormCheckbox.js.map +0 -1
- package/dist/components/form/FormDatePicker.d.ts +0 -8
- package/dist/components/form/FormDatePicker.js +0 -77
- package/dist/components/form/FormDatePicker.js.map +0 -1
- package/dist/components/form/FormDateRangePicker.d.ts +0 -8
- package/dist/components/form/FormDateRangePicker.js +0 -77
- package/dist/components/form/FormDateRangePicker.js.map +0 -1
- package/dist/components/form/FormDateTimePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimePicker.js +0 -77
- package/dist/components/form/FormDateTimePicker.js.map +0 -1
- package/dist/components/form/FormDateTimeRangePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimeRangePicker.js +0 -77
- package/dist/components/form/FormDateTimeRangePicker.js.map +0 -1
- package/dist/components/form/FormNumberField.d.ts +0 -9
- package/dist/components/form/FormNumberField.js +0 -73
- package/dist/components/form/FormNumberField.js.map +0 -1
- package/dist/components/form/FormRadioGroup.d.ts +0 -13
- package/dist/components/form/FormRadioGroup.js +0 -113
- package/dist/components/form/FormRadioGroup.js.map +0 -1
- package/dist/components/form/FormSlider.d.ts +0 -7
- package/dist/components/form/FormSlider.js +0 -94
- package/dist/components/form/FormSlider.js.map +0 -1
- package/dist/components/form/FormSubmitButton.d.ts +0 -4
- package/dist/components/form/FormSubmitButton.js +0 -50
- package/dist/components/form/FormSubmitButton.js.map +0 -1
- package/dist/components/form/FormSwitch.d.ts +0 -7
- package/dist/components/form/FormSwitch.js +0 -81
- package/dist/components/form/FormSwitch.js.map +0 -1
- package/dist/components/form/FormTextField.d.ts +0 -7
- package/dist/components/form/FormTextField.js +0 -52
- package/dist/components/form/FormTextField.js.map +0 -1
- package/dist/components/form/FormTimePicker.d.ts +0 -8
- package/dist/components/form/FormTimePicker.js +0 -77
- package/dist/components/form/FormTimePicker.js.map +0 -1
- package/dist/components/form/FormTimeRangePicker.d.ts +0 -8
- package/dist/components/form/FormTimeRangePicker.js +0 -77
- package/dist/components/form/FormTimeRangePicker.js.map +0 -1
- package/dist/components/router/RouterButton.d.ts +0 -6
- package/dist/components/router/RouterButton.js +0 -35
- package/dist/components/router/RouterButton.js.map +0 -1
- package/dist/components/router/RouterError.d.ts +0 -7
- package/dist/components/router/RouterError.js +0 -62
- package/dist/components/router/RouterError.js.map +0 -1
- package/dist/components/router/RouterGridActionsCellItem.d.ts +0 -6
- package/dist/components/router/RouterGridActionsCellItem.js +0 -35
- package/dist/components/router/RouterGridActionsCellItem.js.map +0 -1
- package/dist/components/router/RouterIconButton.d.ts +0 -6
- package/dist/components/router/RouterIconButton.js +0 -35
- package/dist/components/router/RouterIconButton.js.map +0 -1
- package/dist/components/router/RouterLink.d.ts +0 -6
- package/dist/components/router/RouterLink.js +0 -35
- package/dist/components/router/RouterLink.js.map +0 -1
- package/dist/components/router/RouterListItemButton.d.ts +0 -6
- package/dist/components/router/RouterListItemButton.js.map +0 -1
- package/dist/components/router/RouterNotFound.d.ts +0 -1
- package/dist/components/router/RouterNotFound.js +0 -53
- package/dist/components/router/RouterNotFound.js.map +0 -1
- package/dist/components/router/RouterTab.d.ts +0 -6
- package/dist/components/router/RouterTab.js +0 -35
- package/dist/components/router/RouterTab.js.map +0 -1
- package/dist/contexts/DialogsContext.d.ts +0 -6
- package/dist/contexts/DialogsContext.js +0 -6
- package/dist/contexts/DialogsContext.js.map +0 -1
- package/dist/contexts/FileContext.d.ts +0 -13
- package/dist/contexts/FileContext.js +0 -14
- package/dist/contexts/FileContext.js.map +0 -1
- package/dist/env.d.ts +0 -13
- package/dist/env.js.map +0 -1
- package/dist/hooks/DialogsHooks.d.ts +0 -42
- package/dist/hooks/DialogsHooks.js.map +0 -1
- package/dist/hooks/FormHooks.d.ts +0 -52
- package/dist/hooks/FormHooks.js +0 -55
- package/dist/hooks/FormHooks.js.map +0 -1
- package/dist/lib/auth/api.d.ts +0 -3
- package/dist/lib/auth/api.js +0 -97
- package/dist/lib/auth/api.js.map +0 -1
- package/dist/lib/auth/entra.d.ts +0 -2
- package/dist/lib/auth/entra.js +0 -13
- package/dist/lib/auth/entra.js.map +0 -1
- package/dist/lib/auth/graph.d.ts +0 -17
- package/dist/lib/auth/graph.js +0 -72
- package/dist/lib/auth/graph.js.map +0 -1
- package/dist/lib/auth/session.d.ts +0 -24
- package/dist/lib/auth/session.js.map +0 -1
- package/dist/lib/queryClient.d.ts +0 -2
- package/dist/lib/queryClient.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -52
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/vite-plugin.d.ts +0 -2
- package/dist/lib/vite-plugin.js +0 -65
- package/dist/lib/vite-plugin.js.map +0 -1
- package/dist/middleware/auth.d.ts +0 -22
- package/dist/models/Navigation.d.ts +0 -18
- package/dist/models/User.d.ts +0 -16
- package/dist/models/User.js +0 -18
- package/dist/models/User.js.map +0 -1
- package/dist/models/approval/Approval.d.ts +0 -177
- package/dist/models/approval/Approval.js +0 -81
- package/dist/models/approval/Approval.js.map +0 -1
- package/dist/models/approval/ApprovalEmployee.d.ts +0 -7
- package/dist/models/approval/ApprovalEmployee.js +0 -10
- package/dist/models/approval/ApprovalEmployee.js.map +0 -1
- package/dist/models/approval/ApprovalFlow.d.ts +0 -49
- package/dist/models/approval/ApprovalFlow.js +0 -15
- package/dist/models/approval/ApprovalFlow.js.map +0 -1
- package/dist/models/approval/ApprovalFlowStep.d.ts +0 -29
- package/dist/models/approval/ApprovalFlowStep.js +0 -17
- package/dist/models/approval/ApprovalFlowStep.js.map +0 -1
- package/dist/models/approval/ApprovalRequestType.d.ts +0 -5
- package/dist/models/approval/ApprovalRequestType.js +0 -6
- package/dist/models/approval/ApprovalRequestType.js.map +0 -1
- package/dist/models/approval/ApprovalStatus.d.ts +0 -9
- package/dist/models/approval/ApprovalStatus.js +0 -6
- package/dist/models/approval/ApprovalStatus.js.map +0 -1
- package/dist/models/approval/ApprovalStepResult.d.ts +0 -11
- package/dist/models/approval/ApprovalStepResult.js +0 -6
- package/dist/models/approval/ApprovalStepResult.js.map +0 -1
- package/dist/models/approval/StepApprovalOrder.d.ts +0 -6
- package/dist/models/approval/StepApprovalOrder.js +0 -6
- package/dist/models/approval/StepApprovalOrder.js.map +0 -1
- package/dist/models/email/Email.d.ts +0 -13
- package/dist/models/email/Email.js +0 -14
- package/dist/models/email/Email.js.map +0 -1
- package/dist/models/email/EmailAttachment.d.ts +0 -6
- package/dist/models/email/EmailAttachment.js +0 -9
- package/dist/models/email/EmailAttachment.js.map +0 -1
- package/dist/models/file/FileActions.d.ts +0 -6
- package/dist/models/file/FileMeta.d.ts +0 -15
- package/dist/models/file/FileMeta.js.map +0 -1
- package/dist/models/peoplesoft/Department.d.ts +0 -58
- package/dist/models/peoplesoft/Department.js +0 -19
- package/dist/models/peoplesoft/Department.js.map +0 -1
- package/dist/models/peoplesoft/Employee.d.ts +0 -46
- package/dist/models/peoplesoft/Employee.js +0 -43
- package/dist/models/peoplesoft/Employee.js.map +0 -1
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +0 -6
- package/dist/models/peoplesoft/EmployeeCategoryGroup.js +0 -6
- package/dist/models/peoplesoft/EmployeeCategoryGroup.js.map +0 -1
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +0 -6
- package/dist/models/peoplesoft/EmployeeStatus.js +0 -6
- package/dist/models/peoplesoft/EmployeeStatus.js.map +0 -1
- package/dist/node_modules/@oslojs/binary/dist/bits.js +0 -7
- package/dist/node_modules/@oslojs/binary/dist/bits.js.map +0 -1
- package/dist/node_modules/@oslojs/binary/dist/uint.js +0 -80
- package/dist/node_modules/@oslojs/binary/dist/uint.js.map +0 -1
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha256.js +0 -182
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha256.js.map +0 -1
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha512.js +0 -83
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha512.js.map +0 -1
- package/dist/node_modules/@oslojs/encoding/dist/base32.js +0 -11
- package/dist/node_modules/@oslojs/encoding/dist/base32.js.map +0 -1
- package/dist/node_modules/@oslojs/encoding/dist/base64.js +0 -46
- package/dist/node_modules/@oslojs/encoding/dist/base64.js.map +0 -1
- package/dist/node_modules/@oslojs/jwt/dist/index.js +0 -28
- package/dist/node_modules/@oslojs/jwt/dist/index.js.map +0 -1
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base32.js +0 -11
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base32.js.map +0 -1
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base64.js +0 -126
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base64.js.map +0 -1
- package/dist/node_modules/arctic/dist/client.js +0 -12
- package/dist/node_modules/arctic/dist/client.js.map +0 -1
- package/dist/node_modules/arctic/dist/oauth2.js +0 -76
- package/dist/node_modules/arctic/dist/oauth2.js.map +0 -1
- package/dist/node_modules/arctic/dist/oidc.js +0 -14
- package/dist/node_modules/arctic/dist/oidc.js.map +0 -1
- package/dist/node_modules/arctic/dist/providers/microsoft-entra-id.js +0 -73
- package/dist/node_modules/arctic/dist/providers/microsoft-entra-id.js.map +0 -1
- package/dist/node_modules/arctic/dist/request.js +0 -149
- package/dist/node_modules/arctic/dist/request.js.map +0 -1
- package/dist/node_modules/arctic/dist/utils.js +0 -25
- package/dist/node_modules/arctic/dist/utils.js.map +0 -1
- package/dist/node_modules/base64-js/index.js +0 -103
- package/dist/node_modules/base64-js/index.js.map +0 -1
- package/dist/node_modules/buffer/index.js +0 -1598
- package/dist/node_modules/buffer/index.js.map +0 -1
- package/dist/node_modules/buffer-equal-constant-time/index.js +0 -39
- package/dist/node_modules/buffer-equal-constant-time/index.js.map +0 -1
- package/dist/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +0 -140
- package/dist/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js.map +0 -1
- package/dist/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +0 -28
- package/dist/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js.map +0 -1
- package/dist/node_modules/ieee754/index.js +0 -88
- package/dist/node_modules/ieee754/index.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/decode.js +0 -38
- package/dist/node_modules/jsonwebtoken/decode.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/index.js +0 -25
- package/dist/node_modules/jsonwebtoken/index.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +0 -23
- package/dist/node_modules/jsonwebtoken/lib/JsonWebTokenError.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/NotBeforeError.js +0 -21
- package/dist/node_modules/jsonwebtoken/lib/NotBeforeError.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/TokenExpiredError.js +0 -21
- package/dist/node_modules/jsonwebtoken/lib/TokenExpiredError.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +0 -14
- package/dist/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/psSupported.js +0 -14
- package/dist/node_modules/jsonwebtoken/lib/psSupported.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +0 -14
- package/dist/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/timespan.js +0 -27
- package/dist/node_modules/jsonwebtoken/lib/timespan.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +0 -60
- package/dist/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/comparator.js +0 -123
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/comparator.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/range.js +0 -388
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/range.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/semver.js +0 -288
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/semver.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/clean.js +0 -18
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/clean.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js +0 -60
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js +0 -53
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js +0 -19
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/diff.js +0 -49
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/diff.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/eq.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/eq.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gt.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gt.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gte.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gte.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/inc.js +0 -29
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/inc.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lt.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lt.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lte.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lte.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/major.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/major.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/minor.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/minor.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/neq.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/neq.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/parse.js +0 -27
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/parse.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/patch.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/patch.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/prerelease.js +0 -18
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/prerelease.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rcompare.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rcompare.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rsort.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rsort.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/satisfies.js +0 -22
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/satisfies.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/sort.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/sort.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/valid.js +0 -18
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/valid.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/index.js +0 -140
- package/dist/node_modules/jsonwebtoken/node_modules/semver/index.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/constants.js +0 -36
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/constants.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/debug.js +0 -14
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/debug.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/identifiers.js +0 -29
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/identifiers.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/lrucache.js +0 -42
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/lrucache.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/parse-options.js +0 -23
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/parse-options.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/re.js +0 -96
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/re.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/gtr.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/gtr.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/intersects.js +0 -19
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/intersects.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/ltr.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/ltr.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/max-satisfying.js +0 -35
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/max-satisfying.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-satisfying.js +0 -35
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-satisfying.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-version.js +0 -66
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-version.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/outside.js +0 -81
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/outside.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/simplify.js +0 -56
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/simplify.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js +0 -170
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js +0 -21
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/sign.js +0 -242
- package/dist/node_modules/jsonwebtoken/sign.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/verify.js +0 -229
- package/dist/node_modules/jsonwebtoken/verify.js.map +0 -1
- package/dist/node_modules/jwa/index.js +0 -233
- package/dist/node_modules/jwa/index.js.map +0 -1
- package/dist/node_modules/jws/index.js +0 -40
- package/dist/node_modules/jws/index.js.map +0 -1
- package/dist/node_modules/jws/lib/data-stream.js +0 -55
- package/dist/node_modules/jws/lib/data-stream.js.map +0 -1
- package/dist/node_modules/jws/lib/sign-stream.js +0 -85
- package/dist/node_modules/jws/lib/sign-stream.js.map +0 -1
- package/dist/node_modules/jws/lib/tostring.js +0 -20
- package/dist/node_modules/jws/lib/tostring.js.map +0 -1
- package/dist/node_modules/jws/lib/verify-stream.js +0 -125
- package/dist/node_modules/jws/lib/verify-stream.js.map +0 -1
- package/dist/node_modules/lodash.includes/index.js +0 -181
- package/dist/node_modules/lodash.includes/index.js.map +0 -1
- package/dist/node_modules/lodash.isboolean/index.js +0 -21
- package/dist/node_modules/lodash.isboolean/index.js.map +0 -1
- package/dist/node_modules/lodash.isinteger/index.js +0 -67
- package/dist/node_modules/lodash.isinteger/index.js.map +0 -1
- package/dist/node_modules/lodash.isnumber/index.js +0 -21
- package/dist/node_modules/lodash.isnumber/index.js.map +0 -1
- package/dist/node_modules/lodash.isplainobject/index.js +0 -48
- package/dist/node_modules/lodash.isplainobject/index.js.map +0 -1
- package/dist/node_modules/lodash.isstring/index.js +0 -22
- package/dist/node_modules/lodash.isstring/index.js.map +0 -1
- package/dist/node_modules/lodash.once/index.js +0 -84
- package/dist/node_modules/lodash.once/index.js.map +0 -1
- package/dist/node_modules/ms/index.js +0 -121
- package/dist/node_modules/ms/index.js.map +0 -1
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -22
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -16
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -33
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/node_modules/react/compiler-runtime.js +0 -18
- package/dist/node_modules/react/compiler-runtime.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -18
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/node_modules/safe-buffer/index.js +0 -66
- package/dist/node_modules/safe-buffer/index.js.map +0 -1
- package/dist/providers/DialogsProvider.d.ts +0 -5
- package/dist/providers/DialogsProvider.js +0 -79
- package/dist/providers/DialogsProvider.js.map +0 -1
- package/dist/providers/LayoutProvider.d.ts +0 -11
- package/dist/providers/LayoutProvider.js +0 -94
- package/dist/providers/LayoutProvider.js.map +0 -1
- package/dist/queries/ApprovalHooks.d.ts +0 -338
- package/dist/queries/ApprovalHooks.js +0 -326
- package/dist/queries/ApprovalHooks.js.map +0 -1
- package/dist/queries/FileHooks.d.ts +0 -151
- package/dist/queries/FileHooks.js +0 -493
- package/dist/queries/FileHooks.js.map +0 -1
- package/dist/queries/PeopleSoftHooks.d.ts +0 -537
- package/dist/queries/PeopleSoftHooks.js +0 -628
- package/dist/queries/PeopleSoftHooks.js.map +0 -1
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
import { __require as requireDebug } from "../internal/debug.js";
|
|
2
|
-
import { __require as requireConstants } from "../internal/constants.js";
|
|
3
|
-
import { __require as requireRe } from "../internal/re.js";
|
|
4
|
-
import { __require as requireParseOptions } from "../internal/parse-options.js";
|
|
5
|
-
import { __require as requireIdentifiers } from "../internal/identifiers.js";
|
|
6
|
-
var semver;
|
|
7
|
-
var hasRequiredSemver;
|
|
8
|
-
function requireSemver() {
|
|
9
|
-
if (hasRequiredSemver) return semver;
|
|
10
|
-
hasRequiredSemver = 1;
|
|
11
|
-
const debug = requireDebug();
|
|
12
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = requireConstants();
|
|
13
|
-
const { safeRe: re, t } = requireRe();
|
|
14
|
-
const parseOptions = requireParseOptions();
|
|
15
|
-
const { compareIdentifiers } = requireIdentifiers();
|
|
16
|
-
class SemVer {
|
|
17
|
-
constructor(version, options) {
|
|
18
|
-
options = parseOptions(options);
|
|
19
|
-
if (version instanceof SemVer) {
|
|
20
|
-
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
|
|
21
|
-
return version;
|
|
22
|
-
} else {
|
|
23
|
-
version = version.version;
|
|
24
|
-
}
|
|
25
|
-
} else if (typeof version !== "string") {
|
|
26
|
-
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
27
|
-
}
|
|
28
|
-
if (version.length > MAX_LENGTH) {
|
|
29
|
-
throw new TypeError(
|
|
30
|
-
`version is longer than ${MAX_LENGTH} characters`
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
debug("SemVer", version, options);
|
|
34
|
-
this.options = options;
|
|
35
|
-
this.loose = !!options.loose;
|
|
36
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
37
|
-
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
38
|
-
if (!m) {
|
|
39
|
-
throw new TypeError(`Invalid Version: ${version}`);
|
|
40
|
-
}
|
|
41
|
-
this.raw = version;
|
|
42
|
-
this.major = +m[1];
|
|
43
|
-
this.minor = +m[2];
|
|
44
|
-
this.patch = +m[3];
|
|
45
|
-
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
46
|
-
throw new TypeError("Invalid major version");
|
|
47
|
-
}
|
|
48
|
-
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
49
|
-
throw new TypeError("Invalid minor version");
|
|
50
|
-
}
|
|
51
|
-
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
52
|
-
throw new TypeError("Invalid patch version");
|
|
53
|
-
}
|
|
54
|
-
if (!m[4]) {
|
|
55
|
-
this.prerelease = [];
|
|
56
|
-
} else {
|
|
57
|
-
this.prerelease = m[4].split(".").map((id) => {
|
|
58
|
-
if (/^[0-9]+$/.test(id)) {
|
|
59
|
-
const num = +id;
|
|
60
|
-
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
61
|
-
return num;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return id;
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
this.build = m[5] ? m[5].split(".") : [];
|
|
68
|
-
this.format();
|
|
69
|
-
}
|
|
70
|
-
format() {
|
|
71
|
-
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
72
|
-
if (this.prerelease.length) {
|
|
73
|
-
this.version += `-${this.prerelease.join(".")}`;
|
|
74
|
-
}
|
|
75
|
-
return this.version;
|
|
76
|
-
}
|
|
77
|
-
toString() {
|
|
78
|
-
return this.version;
|
|
79
|
-
}
|
|
80
|
-
compare(other) {
|
|
81
|
-
debug("SemVer.compare", this.version, this.options, other);
|
|
82
|
-
if (!(other instanceof SemVer)) {
|
|
83
|
-
if (typeof other === "string" && other === this.version) {
|
|
84
|
-
return 0;
|
|
85
|
-
}
|
|
86
|
-
other = new SemVer(other, this.options);
|
|
87
|
-
}
|
|
88
|
-
if (other.version === this.version) {
|
|
89
|
-
return 0;
|
|
90
|
-
}
|
|
91
|
-
return this.compareMain(other) || this.comparePre(other);
|
|
92
|
-
}
|
|
93
|
-
compareMain(other) {
|
|
94
|
-
if (!(other instanceof SemVer)) {
|
|
95
|
-
other = new SemVer(other, this.options);
|
|
96
|
-
}
|
|
97
|
-
if (this.major < other.major) {
|
|
98
|
-
return -1;
|
|
99
|
-
}
|
|
100
|
-
if (this.major > other.major) {
|
|
101
|
-
return 1;
|
|
102
|
-
}
|
|
103
|
-
if (this.minor < other.minor) {
|
|
104
|
-
return -1;
|
|
105
|
-
}
|
|
106
|
-
if (this.minor > other.minor) {
|
|
107
|
-
return 1;
|
|
108
|
-
}
|
|
109
|
-
if (this.patch < other.patch) {
|
|
110
|
-
return -1;
|
|
111
|
-
}
|
|
112
|
-
if (this.patch > other.patch) {
|
|
113
|
-
return 1;
|
|
114
|
-
}
|
|
115
|
-
return 0;
|
|
116
|
-
}
|
|
117
|
-
comparePre(other) {
|
|
118
|
-
if (!(other instanceof SemVer)) {
|
|
119
|
-
other = new SemVer(other, this.options);
|
|
120
|
-
}
|
|
121
|
-
if (this.prerelease.length && !other.prerelease.length) {
|
|
122
|
-
return -1;
|
|
123
|
-
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
124
|
-
return 1;
|
|
125
|
-
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
126
|
-
return 0;
|
|
127
|
-
}
|
|
128
|
-
let i = 0;
|
|
129
|
-
do {
|
|
130
|
-
const a = this.prerelease[i];
|
|
131
|
-
const b = other.prerelease[i];
|
|
132
|
-
debug("prerelease compare", i, a, b);
|
|
133
|
-
if (a === void 0 && b === void 0) {
|
|
134
|
-
return 0;
|
|
135
|
-
} else if (b === void 0) {
|
|
136
|
-
return 1;
|
|
137
|
-
} else if (a === void 0) {
|
|
138
|
-
return -1;
|
|
139
|
-
} else if (a === b) {
|
|
140
|
-
continue;
|
|
141
|
-
} else {
|
|
142
|
-
return compareIdentifiers(a, b);
|
|
143
|
-
}
|
|
144
|
-
} while (++i);
|
|
145
|
-
}
|
|
146
|
-
compareBuild(other) {
|
|
147
|
-
if (!(other instanceof SemVer)) {
|
|
148
|
-
other = new SemVer(other, this.options);
|
|
149
|
-
}
|
|
150
|
-
let i = 0;
|
|
151
|
-
do {
|
|
152
|
-
const a = this.build[i];
|
|
153
|
-
const b = other.build[i];
|
|
154
|
-
debug("build compare", i, a, b);
|
|
155
|
-
if (a === void 0 && b === void 0) {
|
|
156
|
-
return 0;
|
|
157
|
-
} else if (b === void 0) {
|
|
158
|
-
return 1;
|
|
159
|
-
} else if (a === void 0) {
|
|
160
|
-
return -1;
|
|
161
|
-
} else if (a === b) {
|
|
162
|
-
continue;
|
|
163
|
-
} else {
|
|
164
|
-
return compareIdentifiers(a, b);
|
|
165
|
-
}
|
|
166
|
-
} while (++i);
|
|
167
|
-
}
|
|
168
|
-
// preminor will bump the version up to the next minor release, and immediately
|
|
169
|
-
// down to pre-release. premajor and prepatch work the same way.
|
|
170
|
-
inc(release, identifier, identifierBase) {
|
|
171
|
-
if (release.startsWith("pre")) {
|
|
172
|
-
if (!identifier && identifierBase === false) {
|
|
173
|
-
throw new Error("invalid increment argument: identifier is empty");
|
|
174
|
-
}
|
|
175
|
-
if (identifier) {
|
|
176
|
-
const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
|
|
177
|
-
if (!match || match[1] !== identifier) {
|
|
178
|
-
throw new Error(`invalid identifier: ${identifier}`);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
switch (release) {
|
|
183
|
-
case "premajor":
|
|
184
|
-
this.prerelease.length = 0;
|
|
185
|
-
this.patch = 0;
|
|
186
|
-
this.minor = 0;
|
|
187
|
-
this.major++;
|
|
188
|
-
this.inc("pre", identifier, identifierBase);
|
|
189
|
-
break;
|
|
190
|
-
case "preminor":
|
|
191
|
-
this.prerelease.length = 0;
|
|
192
|
-
this.patch = 0;
|
|
193
|
-
this.minor++;
|
|
194
|
-
this.inc("pre", identifier, identifierBase);
|
|
195
|
-
break;
|
|
196
|
-
case "prepatch":
|
|
197
|
-
this.prerelease.length = 0;
|
|
198
|
-
this.inc("patch", identifier, identifierBase);
|
|
199
|
-
this.inc("pre", identifier, identifierBase);
|
|
200
|
-
break;
|
|
201
|
-
// If the input is a non-prerelease version, this acts the same as
|
|
202
|
-
// prepatch.
|
|
203
|
-
case "prerelease":
|
|
204
|
-
if (this.prerelease.length === 0) {
|
|
205
|
-
this.inc("patch", identifier, identifierBase);
|
|
206
|
-
}
|
|
207
|
-
this.inc("pre", identifier, identifierBase);
|
|
208
|
-
break;
|
|
209
|
-
case "release":
|
|
210
|
-
if (this.prerelease.length === 0) {
|
|
211
|
-
throw new Error(`version ${this.raw} is not a prerelease`);
|
|
212
|
-
}
|
|
213
|
-
this.prerelease.length = 0;
|
|
214
|
-
break;
|
|
215
|
-
case "major":
|
|
216
|
-
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
217
|
-
this.major++;
|
|
218
|
-
}
|
|
219
|
-
this.minor = 0;
|
|
220
|
-
this.patch = 0;
|
|
221
|
-
this.prerelease = [];
|
|
222
|
-
break;
|
|
223
|
-
case "minor":
|
|
224
|
-
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
225
|
-
this.minor++;
|
|
226
|
-
}
|
|
227
|
-
this.patch = 0;
|
|
228
|
-
this.prerelease = [];
|
|
229
|
-
break;
|
|
230
|
-
case "patch":
|
|
231
|
-
if (this.prerelease.length === 0) {
|
|
232
|
-
this.patch++;
|
|
233
|
-
}
|
|
234
|
-
this.prerelease = [];
|
|
235
|
-
break;
|
|
236
|
-
// This probably shouldn't be used publicly.
|
|
237
|
-
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
238
|
-
case "pre": {
|
|
239
|
-
const base = Number(identifierBase) ? 1 : 0;
|
|
240
|
-
if (this.prerelease.length === 0) {
|
|
241
|
-
this.prerelease = [base];
|
|
242
|
-
} else {
|
|
243
|
-
let i = this.prerelease.length;
|
|
244
|
-
while (--i >= 0) {
|
|
245
|
-
if (typeof this.prerelease[i] === "number") {
|
|
246
|
-
this.prerelease[i]++;
|
|
247
|
-
i = -2;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
if (i === -1) {
|
|
251
|
-
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
252
|
-
throw new Error("invalid increment argument: identifier already exists");
|
|
253
|
-
}
|
|
254
|
-
this.prerelease.push(base);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
if (identifier) {
|
|
258
|
-
let prerelease = [identifier, base];
|
|
259
|
-
if (identifierBase === false) {
|
|
260
|
-
prerelease = [identifier];
|
|
261
|
-
}
|
|
262
|
-
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
263
|
-
if (isNaN(this.prerelease[1])) {
|
|
264
|
-
this.prerelease = prerelease;
|
|
265
|
-
}
|
|
266
|
-
} else {
|
|
267
|
-
this.prerelease = prerelease;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
break;
|
|
271
|
-
}
|
|
272
|
-
default:
|
|
273
|
-
throw new Error(`invalid increment argument: ${release}`);
|
|
274
|
-
}
|
|
275
|
-
this.raw = this.format();
|
|
276
|
-
if (this.build.length) {
|
|
277
|
-
this.raw += `+${this.build.join(".")}`;
|
|
278
|
-
}
|
|
279
|
-
return this;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
semver = SemVer;
|
|
283
|
-
return semver;
|
|
284
|
-
}
|
|
285
|
-
export {
|
|
286
|
-
requireSemver as __require
|
|
287
|
-
};
|
|
288
|
-
//# sourceMappingURL=semver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"semver.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/classes/semver.js"],"sourcesContent":["'use strict'\n\nconst debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n if (this.major < other.major) {\n return -1\n }\n if (this.major > other.major) {\n return 1\n }\n if (this.minor < other.minor) {\n return -1\n }\n if (this.minor > other.minor) {\n return 1\n }\n if (this.patch < other.patch) {\n return -1\n }\n if (this.patch > other.patch) {\n return 1\n }\n return 0\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('build compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n if (release.startsWith('pre')) {\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n // Avoid an invalid semver results\n if (identifier) {\n const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])\n if (!match || match[1] !== identifier) {\n throw new Error(`invalid identifier: ${identifier}`)\n }\n }\n }\n\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n case 'release':\n if (this.prerelease.length === 0) {\n throw new Error(`version ${this.raw} is not a prerelease`)\n }\n this.prerelease.length = 0\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;;;;;AAEA,QAAM,QAAQA,aAAA;AACd,QAAM,EAAE,YAAY,iBAAgB,IAAKC,iBAAA;AACzC,QAAM,EAAE,QAAQ,IAAI,EAAC,IAAKC,UAAA;AAE1B,QAAM,eAAeC,oBAAA;AACrB,QAAM,EAAE,mBAAkB,IAAKC,mBAAA;AAAA,EAC/B,MAAM,OAAO;AAAA,IACX,YAAa,SAAS,SAAS;AAC7B,gBAAU,aAAa,OAAO;AAE9B,UAAI,mBAAmB,QAAQ;AAC7B,YAAI,QAAQ,UAAU,CAAC,CAAC,QAAQ,SAC9B,QAAQ,sBAAsB,CAAC,CAAC,QAAQ,mBAAmB;AAC3D,iBAAO;AAAA,QACf,OAAa;AACL,oBAAU,QAAQ;AAAA,QAC1B;AAAA,MACA,WAAe,OAAO,YAAY,UAAU;AACtC,cAAM,IAAI,UAAU,gDAAgD,OAAO,OAAO,IAAI;AAAA,MA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AChE;AACI,WAAK,MAAM,KAAK,OAAM;AACtB,UAAI,KAAK,MAAM,QAAQ;AACrB,aAAK,OAAO,IAAI,KAAK,MAAM,KAAK,GAAG,CAAC;AAAA,MAC1C;AACI,aAAO;AAAA,IACX;AAAA,EACA;AAEA,WAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __require as requireParse } from "./parse.js";
|
|
2
|
-
var clean_1;
|
|
3
|
-
var hasRequiredClean;
|
|
4
|
-
function requireClean() {
|
|
5
|
-
if (hasRequiredClean) return clean_1;
|
|
6
|
-
hasRequiredClean = 1;
|
|
7
|
-
const parse = requireParse();
|
|
8
|
-
const clean = (version, options) => {
|
|
9
|
-
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
10
|
-
return s ? s.version : null;
|
|
11
|
-
};
|
|
12
|
-
clean_1 = clean;
|
|
13
|
-
return clean_1;
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
requireClean as __require
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=clean.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clean.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/clean.js"],"sourcesContent":["'use strict'\n\nconst parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,QAAQA,aAAA;AACd,QAAM,QAAQ,CAAC,SAAS,YAAY;AAClC,UAAM,IAAI,MAAM,QAAQ,KAAI,EAAG,QAAQ,UAAU,EAAE,GAAG,OAAO;AAC7D,WAAO,IAAI,EAAE,UAAU;AAAA,EACzB;AACA,YAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { __require as requireEq } from "./eq.js";
|
|
2
|
-
import { __require as requireNeq } from "./neq.js";
|
|
3
|
-
import { __require as requireGt } from "./gt.js";
|
|
4
|
-
import { __require as requireGte } from "./gte.js";
|
|
5
|
-
import { __require as requireLt } from "./lt.js";
|
|
6
|
-
import { __require as requireLte } from "./lte.js";
|
|
7
|
-
var cmp_1;
|
|
8
|
-
var hasRequiredCmp;
|
|
9
|
-
function requireCmp() {
|
|
10
|
-
if (hasRequiredCmp) return cmp_1;
|
|
11
|
-
hasRequiredCmp = 1;
|
|
12
|
-
const eq = requireEq();
|
|
13
|
-
const neq = requireNeq();
|
|
14
|
-
const gt = requireGt();
|
|
15
|
-
const gte = requireGte();
|
|
16
|
-
const lt = requireLt();
|
|
17
|
-
const lte = requireLte();
|
|
18
|
-
const cmp = (a, op, b, loose) => {
|
|
19
|
-
switch (op) {
|
|
20
|
-
case "===":
|
|
21
|
-
if (typeof a === "object") {
|
|
22
|
-
a = a.version;
|
|
23
|
-
}
|
|
24
|
-
if (typeof b === "object") {
|
|
25
|
-
b = b.version;
|
|
26
|
-
}
|
|
27
|
-
return a === b;
|
|
28
|
-
case "!==":
|
|
29
|
-
if (typeof a === "object") {
|
|
30
|
-
a = a.version;
|
|
31
|
-
}
|
|
32
|
-
if (typeof b === "object") {
|
|
33
|
-
b = b.version;
|
|
34
|
-
}
|
|
35
|
-
return a !== b;
|
|
36
|
-
case "":
|
|
37
|
-
case "=":
|
|
38
|
-
case "==":
|
|
39
|
-
return eq(a, b, loose);
|
|
40
|
-
case "!=":
|
|
41
|
-
return neq(a, b, loose);
|
|
42
|
-
case ">":
|
|
43
|
-
return gt(a, b, loose);
|
|
44
|
-
case ">=":
|
|
45
|
-
return gte(a, b, loose);
|
|
46
|
-
case "<":
|
|
47
|
-
return lt(a, b, loose);
|
|
48
|
-
case "<=":
|
|
49
|
-
return lte(a, b, loose);
|
|
50
|
-
default:
|
|
51
|
-
throw new TypeError(`Invalid operator: ${op}`);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
cmp_1 = cmp;
|
|
55
|
-
return cmp_1;
|
|
56
|
-
}
|
|
57
|
-
export {
|
|
58
|
-
requireCmp as __require
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=cmp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmp.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js"],"sourcesContent":["'use strict'\n\nconst eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5"],"mappings":";;;;;;;;;;;AAEA,QAAM,KAAKA,UAAA;AACX,QAAM,MAAMC,WAAA;AACZ,QAAM,KAAKC,UAAA;AACX,QAAM,MAAMC,WAAA;AACZ,QAAM,KAAKC,UAAA;AACX,QAAM,MAAMC,WAAA;AAEZ,QAAM,MAAM,CAAC,GAAG,IAAI,GAAG,UAAU;AAC/B,YAAQ,IAAE;AAAA,MACR,KAAK;AACH,YAAI,OAAO,MAAM,UAAU;AACzB,cAAI,EAAE;AAAA,QACd;AACM,YAAI,OAAO,MAAM,UAAU;AACzB,cAAI,EAAE;AAAA,QACd;AACM,eAAO,MAAM;AAAA,MAEf,KAAK;AACH,YAAI,OAAO,MAAM,UAAU;AACzB,cAAI,EAAE;AAAA,QACd;AACM,YAAI,OAAO,MAAM,UAAU;AACzB,cAAI,EAAE;AAAA,QACd;AACM,eAAO,MAAM;AAAA,MAEf,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACH,eAAO,GAAG,GAAG,GAAG,KAAK;AAAA,MAEvB,KAAK;AACH,eAAO,IAAI,GAAG,GAAG,KAAK;AAAA,MAExB,KAAK;AACH,eAAO,GAAG,GAAG,GAAG,KAAK;AAAA,MAEvB,KAAK;AACH,eAAO,IAAI,GAAG,GAAG,KAAK;AAAA,MAExB,KAAK;AACH,eAAO,GAAG,GAAG,GAAG,KAAK;AAAA,MAEvB,KAAK;AACH,eAAO,IAAI,GAAG,GAAG,KAAK;AAAA,MAExB;AACE,cAAM,IAAI,UAAU,qBAAqB,EAAE,EAAE;AAAA,IACnD;AAAA,EACA;AACA,UAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { __require as requireSemver } from "../classes/semver.js";
|
|
2
|
-
import { __require as requireParse } from "./parse.js";
|
|
3
|
-
import { __require as requireRe } from "../internal/re.js";
|
|
4
|
-
var coerce_1;
|
|
5
|
-
var hasRequiredCoerce;
|
|
6
|
-
function requireCoerce() {
|
|
7
|
-
if (hasRequiredCoerce) return coerce_1;
|
|
8
|
-
hasRequiredCoerce = 1;
|
|
9
|
-
const SemVer = requireSemver();
|
|
10
|
-
const parse = requireParse();
|
|
11
|
-
const { safeRe: re, t } = requireRe();
|
|
12
|
-
const coerce = (version, options) => {
|
|
13
|
-
if (version instanceof SemVer) {
|
|
14
|
-
return version;
|
|
15
|
-
}
|
|
16
|
-
if (typeof version === "number") {
|
|
17
|
-
version = String(version);
|
|
18
|
-
}
|
|
19
|
-
if (typeof version !== "string") {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
options = options || {};
|
|
23
|
-
let match = null;
|
|
24
|
-
if (!options.rtl) {
|
|
25
|
-
match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
26
|
-
} else {
|
|
27
|
-
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
|
|
28
|
-
let next;
|
|
29
|
-
while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
|
|
30
|
-
if (!match || next.index + next[0].length !== match.index + match[0].length) {
|
|
31
|
-
match = next;
|
|
32
|
-
}
|
|
33
|
-
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
34
|
-
}
|
|
35
|
-
coerceRtlRegex.lastIndex = -1;
|
|
36
|
-
}
|
|
37
|
-
if (match === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
const major = match[2];
|
|
41
|
-
const minor = match[3] || "0";
|
|
42
|
-
const patch = match[4] || "0";
|
|
43
|
-
const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
|
|
44
|
-
const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
|
|
45
|
-
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
46
|
-
};
|
|
47
|
-
coerce_1 = coerce;
|
|
48
|
-
return coerce_1;
|
|
49
|
-
}
|
|
50
|
-
export {
|
|
51
|
-
requireCoerce as __require
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=coerce.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coerce.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js"],"sourcesContent":["'use strict'\n\nconst SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]\n let next\n while ((next = coerceRtlRegex.exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n coerceRtlRegex.lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n const major = match[2]\n const minor = match[3] || '0'\n const patch = match[4] || '0'\n const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''\n const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''\n\n return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)\n}\nmodule.exports = coerce\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;AAEA,QAAM,SAASA,cAAA;AACf,QAAM,QAAQC,aAAA;AACd,QAAM,EAAE,QAAQ,IAAI,EAAC,IAAKC,UAAA;AAE1B,QAAM,SAAS,CAAC,SAAS,YAAY;AACnC,QAAI,mBAAmB,QAAQ;AAC7B,aAAO;AAAA,IACX;AAEE,QAAI,OAAO,YAAY,UAAU;AAC/B,gBAAU,OAAO,OAAO;AAAA,IAC5B;AAEE,QAAI,OAAO,YAAY,UAAU;AAC/B,aAAO;AAAA,IACX;AAEE,cAAU,WAAW,CAAA;AAErB,QAAI,QAAQ;AACZ,QAAI,CAAC,QAAQ,KAAK;AAChB,cAAQ,QAAQ,MAAM,QAAQ,oBAAoB,GAAG,EAAE,UAAU,IAAI,GAAG,EAAE,MAAM,CAAC;AAAA,IACrF,OAAS;AAUL,YAAM,iBAAiB,QAAQ,oBAAoB,GAAG,EAAE,aAAa,IAAI,GAAG,EAAE,SAAS;AACvF,UAAI;AACJ,cAAQ,OAAO,eAAe,KAAK,OAAO,OACrC,CAAC,SAAS,MAAM,QAAQ,MAAM,CAAC,EAAE,WAAW,QAAQ,SACvD;AACA,YAAI,CAAC,SACC,KAAK,QAAQ,KAAK,CAAC,EAAE,WAAW,MAAM,QAAQ,MAAM,CAAC,EAAE,QAAQ;AACnE,kBAAQ;AAAA,QAChB;AACM,uBAAe,YAAY,KAAK,QAAQ,KAAK,CAAC,EAAE,SAAS,KAAK,CAAC,EAAE;AAAA,MACvE;AAEI,qBAAe,YAAY;AAAA,IAC/B;AAEE,QAAI,UAAU,MAAM;AAClB,aAAO;AAAA,IACX;AAEE,UAAM,QAAQ,MAAM,CAAC;AACrB,UAAM,QAAQ,MAAM,CAAC,KAAK;AAC1B,UAAM,QAAQ,MAAM,CAAC,KAAK;AAC1B,UAAM,aAAa,QAAQ,qBAAqB,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,KAAK;AAC5E,UAAM,QAAQ,QAAQ,qBAAqB,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,KAAK;AAEvE,WAAO,MAAM,GAAG,KAAK,IAAI,KAAK,IAAI,KAAK,GAAG,UAAU,GAAG,KAAK,IAAI,OAAO;AAAA,EACzE;AACA,aAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __require as requireSemver } from "../classes/semver.js";
|
|
2
|
-
var compareBuild_1;
|
|
3
|
-
var hasRequiredCompareBuild;
|
|
4
|
-
function requireCompareBuild() {
|
|
5
|
-
if (hasRequiredCompareBuild) return compareBuild_1;
|
|
6
|
-
hasRequiredCompareBuild = 1;
|
|
7
|
-
const SemVer = requireSemver();
|
|
8
|
-
const compareBuild = (a, b, loose) => {
|
|
9
|
-
const versionA = new SemVer(a, loose);
|
|
10
|
-
const versionB = new SemVer(b, loose);
|
|
11
|
-
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
12
|
-
};
|
|
13
|
-
compareBuild_1 = compareBuild;
|
|
14
|
-
return compareBuild_1;
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
requireCompareBuild as __require
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=compare-build.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compare-build.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js"],"sourcesContent":["'use strict'\n\nconst SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,SAASA,cAAA;AACf,QAAM,eAAe,CAAC,GAAG,GAAG,UAAU;AACpC,UAAM,WAAW,IAAI,OAAO,GAAG,KAAK;AACpC,UAAM,WAAW,IAAI,OAAO,GAAG,KAAK;AACpC,WAAO,SAAS,QAAQ,QAAQ,KAAK,SAAS,aAAa,QAAQ;AAAA,EACrE;AACA,mBAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __require as requireCompare } from "./compare.js";
|
|
2
|
-
var compareLoose_1;
|
|
3
|
-
var hasRequiredCompareLoose;
|
|
4
|
-
function requireCompareLoose() {
|
|
5
|
-
if (hasRequiredCompareLoose) return compareLoose_1;
|
|
6
|
-
hasRequiredCompareLoose = 1;
|
|
7
|
-
const compare = requireCompare();
|
|
8
|
-
const compareLoose = (a, b) => compare(a, b, true);
|
|
9
|
-
compareLoose_1 = compareLoose;
|
|
10
|
-
return compareLoose_1;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
requireCompareLoose as __require
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=compare-loose.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compare-loose.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js"],"sourcesContent":["'use strict'\n\nconst compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,UAAUA,eAAA;AAChB,QAAM,eAAe,CAAC,GAAG,MAAM,QAAQ,GAAG,GAAG,IAAI;AACjD,mBAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __require as requireSemver } from "../classes/semver.js";
|
|
2
|
-
var compare_1;
|
|
3
|
-
var hasRequiredCompare;
|
|
4
|
-
function requireCompare() {
|
|
5
|
-
if (hasRequiredCompare) return compare_1;
|
|
6
|
-
hasRequiredCompare = 1;
|
|
7
|
-
const SemVer = requireSemver();
|
|
8
|
-
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
9
|
-
compare_1 = compare;
|
|
10
|
-
return compare_1;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
requireCompare as __require
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=compare.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compare.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/compare.js"],"sourcesContent":["'use strict'\n\nconst SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,SAASA,cAAA;AACf,QAAM,UAAU,CAAC,GAAG,GAAG,UACrB,IAAI,OAAO,GAAG,KAAK,EAAE,QAAQ,IAAI,OAAO,GAAG,KAAK,CAAC;AAEnD,cAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { __require as requireParse } from "./parse.js";
|
|
2
|
-
var diff_1;
|
|
3
|
-
var hasRequiredDiff;
|
|
4
|
-
function requireDiff() {
|
|
5
|
-
if (hasRequiredDiff) return diff_1;
|
|
6
|
-
hasRequiredDiff = 1;
|
|
7
|
-
const parse = requireParse();
|
|
8
|
-
const diff = (version1, version2) => {
|
|
9
|
-
const v1 = parse(version1, null, true);
|
|
10
|
-
const v2 = parse(version2, null, true);
|
|
11
|
-
const comparison = v1.compare(v2);
|
|
12
|
-
if (comparison === 0) {
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
const v1Higher = comparison > 0;
|
|
16
|
-
const highVersion = v1Higher ? v1 : v2;
|
|
17
|
-
const lowVersion = v1Higher ? v2 : v1;
|
|
18
|
-
const highHasPre = !!highVersion.prerelease.length;
|
|
19
|
-
const lowHasPre = !!lowVersion.prerelease.length;
|
|
20
|
-
if (lowHasPre && !highHasPre) {
|
|
21
|
-
if (!lowVersion.patch && !lowVersion.minor) {
|
|
22
|
-
return "major";
|
|
23
|
-
}
|
|
24
|
-
if (lowVersion.compareMain(highVersion) === 0) {
|
|
25
|
-
if (lowVersion.minor && !lowVersion.patch) {
|
|
26
|
-
return "minor";
|
|
27
|
-
}
|
|
28
|
-
return "patch";
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
const prefix = highHasPre ? "pre" : "";
|
|
32
|
-
if (v1.major !== v2.major) {
|
|
33
|
-
return prefix + "major";
|
|
34
|
-
}
|
|
35
|
-
if (v1.minor !== v2.minor) {
|
|
36
|
-
return prefix + "minor";
|
|
37
|
-
}
|
|
38
|
-
if (v1.patch !== v2.patch) {
|
|
39
|
-
return prefix + "patch";
|
|
40
|
-
}
|
|
41
|
-
return "prerelease";
|
|
42
|
-
};
|
|
43
|
-
diff_1 = diff;
|
|
44
|
-
return diff_1;
|
|
45
|
-
}
|
|
46
|
-
export {
|
|
47
|
-
requireDiff as __require
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=diff.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diff.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/diff.js"],"sourcesContent":["'use strict'\n\nconst parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // If the main part has no difference\n if (lowVersion.compareMain(highVersion) === 0) {\n if (lowVersion.minor && !lowVersion.patch) {\n return 'minor'\n }\n return 'patch'\n }\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,QAAQA,aAAA;AAEd,QAAM,OAAO,CAAC,UAAU,aAAa;AACnC,UAAM,KAAK,MAAM,UAAU,MAAM,IAAI;AACrC,UAAM,KAAK,MAAM,UAAU,MAAM,IAAI;AACrC,UAAM,aAAa,GAAG,QAAQ,EAAE;AAEhC,QAAI,eAAe,GAAG;AACpB,aAAO;AAAA,IACX;AAEE,UAAM,WAAW,aAAa;AAC9B,UAAM,cAAc,WAAW,KAAK;AACpC,UAAM,aAAa,WAAW,KAAK;AACnC,UAAM,aAAa,CAAC,CAAC,YAAY,WAAW;AAC5C,UAAM,YAAY,CAAC,CAAC,WAAW,WAAW;AAE1C,QAAI,aAAa,CAAC,YAAY;AAQ5B,UAAI,CAAC,WAAW,SAAS,CAAC,WAAW,OAAO;AAC1C,eAAO;AAAA,MACb;AAGI,UAAI,WAAW,YAAY,WAAW,MAAM,GAAG;AAC7C,YAAI,WAAW,SAAS,CAAC,WAAW,OAAO;AACzC,iBAAO;AAAA,QACf;AACM,eAAO;AAAA,MACb;AAAA,IACA;AAGE,UAAM,SAAS,aAAa,QAAQ;AAEpC,QAAI,GAAG,UAAU,GAAG,OAAO;AACzB,aAAO,SAAS;AAAA,IACpB;AAEE,QAAI,GAAG,UAAU,GAAG,OAAO;AACzB,aAAO,SAAS;AAAA,IACpB;AAEE,QAAI,GAAG,UAAU,GAAG,OAAO;AACzB,aAAO,SAAS;AAAA,IACpB;AAGE,WAAO;AAAA,EACT;AAEA,WAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __require as requireCompare } from "./compare.js";
|
|
2
|
-
var eq_1;
|
|
3
|
-
var hasRequiredEq;
|
|
4
|
-
function requireEq() {
|
|
5
|
-
if (hasRequiredEq) return eq_1;
|
|
6
|
-
hasRequiredEq = 1;
|
|
7
|
-
const compare = requireCompare();
|
|
8
|
-
const eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
9
|
-
eq_1 = eq;
|
|
10
|
-
return eq_1;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
requireEq as __require
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=eq.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eq.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/eq.js"],"sourcesContent":["'use strict'\n\nconst compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,UAAUA,eAAA;AAChB,QAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,MAAM;AACrD,SAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __require as requireCompare } from "./compare.js";
|
|
2
|
-
var gt_1;
|
|
3
|
-
var hasRequiredGt;
|
|
4
|
-
function requireGt() {
|
|
5
|
-
if (hasRequiredGt) return gt_1;
|
|
6
|
-
hasRequiredGt = 1;
|
|
7
|
-
const compare = requireCompare();
|
|
8
|
-
const gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
9
|
-
gt_1 = gt;
|
|
10
|
-
return gt_1;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
requireGt as __require
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=gt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gt.js","sources":["../../../../../../node_modules/jsonwebtoken/node_modules/semver/functions/gt.js"],"sourcesContent":["'use strict'\n\nconst compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,QAAM,UAAUA,eAAA;AAChB,QAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,IAAI;AACnD,SAAiB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __require as requireCompare } from "./compare.js";
|
|
2
|
-
var gte_1;
|
|
3
|
-
var hasRequiredGte;
|
|
4
|
-
function requireGte() {
|
|
5
|
-
if (hasRequiredGte) return gte_1;
|
|
6
|
-
hasRequiredGte = 1;
|
|
7
|
-
const compare = requireCompare();
|
|
8
|
-
const gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
9
|
-
gte_1 = gte;
|
|
10
|
-
return gte_1;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
requireGte as __require
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=gte.js.map
|