diff --git a/cmd/config.go b/cmd/config.go index f50eebdb2..5fd8d1e77 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -1,12 +1,10 @@ package cmd import ( - "os" + "log" - "github.com/BurntSushi/toml" - log "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/tailwarden/komiser/models" + "github.com/tailwarden/komiser/internal/config" ) var configCmd = &cobra.Command{ @@ -14,30 +12,10 @@ var configCmd = &cobra.Command{ Short: "Create configuration file", Long: ``, Run: func(cmd *cobra.Command, args []string) { - c := models.Config{ - AWS: []models.AWSConfig{ - { - Name: "Demo", - Source: "CREDENTIALS_FILE", - Profile: "default", - }, - }, - SQLite: models.SQLiteConfig{ - File: "komiser.db", - }, - } - - f, err := os.Create("config.toml") + err := config.Create(nil) if err != nil { log.Fatal(err) } - if err := toml.NewEncoder(f).Encode(c); err != nil { - log.Fatal(err) - } - if err := f.Close(); err != nil { - log.Fatal(err) - - } }, } diff --git a/cmd/start.go b/cmd/start.go index d88d83319..5d00dc4f7 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -10,6 +10,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/tailwarden/komiser/internal" + "github.com/tailwarden/komiser/internal/config" "github.com/tailwarden/komiser/utils" ) @@ -38,8 +39,8 @@ var startCmd = &cobra.Command{ if _, err := os.Stat(filename); errors.Is(err, os.ErrNotExist) { log.Info("unable to use given config file:", err) - log.Info("Creating default config.toml") - err = os.WriteFile("config.toml", []byte{}, 0644) + log.Info("Creating default config file:", config.DefaultFileName) + err = config.Create(nil) if err != nil { return err } diff --git a/dashboard/package-lock.json b/dashboard/package-lock.json index 44cca817d..5ce42b847 100644 --- a/dashboard/package-lock.json +++ b/dashboard/package-lock.json @@ -33,7 +33,7 @@ "@commitlint/cli": "^19.2.1", "@commitlint/config-conventional": "^17.2.0", "@jest/globals": "^29.5.0", - "@storybook/addon-essentials": "^8.0.4", + "@storybook/addon-essentials": "^8.0.5", "@storybook/addon-interactions": "^7.6.17", "@storybook/addon-links": "^8.0.4", "@storybook/addons": "^7.4.6", @@ -53,7 +53,7 @@ "@types/react-cytoscapejs": "^1.2.5", "@types/react-dom": "18.2.18", "@types/react-simple-maps": "^3.0.2", - "autoprefixer": "^10.4.16", + "autoprefixer": "^10.4.19", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-next": "14.0.4", @@ -5361,9 +5361,9 @@ } }, "node_modules/@storybook/addon-backgrounds": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-8.0.4.tgz", - "integrity": "sha512-fef0KD2GhJx2zpicOf8iL7k2LiIsNzEbGaQpIIjoy4DMqM1hIfNCt3DGTLH7LN5O8G+NVCLS1xmQg7RLvIVSCA==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-8.0.5.tgz", + "integrity": "sha512-XKSnJm6bGVkG9hv6VSK+djz7ZbxEHwVpsSEUKtOEt/ScLFxU0mlsH8dd5aMy9/MAYuB93Y+bJ2SR5kyOjmi1zQ==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0", @@ -5376,12 +5376,12 @@ } }, "node_modules/@storybook/addon-controls": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-8.0.4.tgz", - "integrity": "sha512-K5EYBTsUOTJlvIdA7p6Xj31wnV+RbZAkk56UKQvA7nJD7oDuLOq3E9u46F/uZD1vxddd9zFhf2iONfMe3KTTwQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-8.0.5.tgz", + "integrity": "sha512-iUL89OJQse9DlZkwY8jhyl12L/qziUkwbdSgQJxRIEceW6vrHAmc5VGwneS7N3pBuiOIKQQmMhAQ660JXHM7eQ==", "dev": true, "dependencies": { - "@storybook/blocks": "8.0.4", + "@storybook/blocks": "8.0.5", "lodash": "^4.17.21", "ts-dedent": "^2.0.0" }, @@ -5391,23 +5391,23 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/blocks": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-8.0.4.tgz", - "integrity": "sha512-9dRXk9zLJVPOmEWsSXm10XUmIfvS/tVgeBgFXNbusFQZXPpexIPNdRgB004pDGg9RvlY78ykpnd3yP143zaXMg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-8.0.5.tgz", + "integrity": "sha512-zfcwJ0yE5HM28BxZeNU4SYF8zxq2PEqLP1aWCdRuZT9k8lgnBwAKzlvt50LtPzOfGtKuGnvIEriELx/i+Qh4Sw==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/components": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/channels": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/components": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/csf": "^0.1.2", - "@storybook/docs-tools": "8.0.4", + "@storybook/docs-tools": "8.0.5", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", - "@storybook/manager-api": "8.0.4", - "@storybook/preview-api": "8.0.4", - "@storybook/theming": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/manager-api": "8.0.5", + "@storybook/preview-api": "8.0.5", + "@storybook/theming": "8.0.5", + "@storybook/types": "8.0.5", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -5439,13 +5439,13 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -5456,9 +5456,9 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -5469,9 +5469,9 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -5482,14 +5482,14 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/docs-tools": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-8.0.4.tgz", - "integrity": "sha512-PONfG8j/AOHi79NbEkneFRZIscrShbA0sgA+62zeejH4r9+fuIkIKtLnKcAxvr8Bm6uo9aSQbISJZUcBG42WhQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-8.0.5.tgz", + "integrity": "sha512-IzQMlsumiBgHAh5TTZTinNcedU98l0S0hczbTgjXQWgTp3//RHO36LYowAeFrB6V9SACYs/Q47iB15K4b2dqUg==", "dev": true, "dependencies": { - "@storybook/core-common": "8.0.4", - "@storybook/preview-api": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/core-common": "8.0.5", + "@storybook/preview-api": "8.0.5", + "@storybook/types": "8.0.5", "@types/doctrine": "^0.0.3", "assert": "^2.1.0", "doctrine": "^3.0.0", @@ -5501,17 +5501,17 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/preview-api": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-8.0.4.tgz", - "integrity": "sha512-uZCgZ/7BZkFTNudCBWx3YPFVdReMQSZJj9EfQVhQaPmfGORHGMvZMRsQXl0ONhPy7zDD4rVQxu5dSKWmIiYoWQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-8.0.5.tgz", + "integrity": "sha512-BSDVTR9/X6DHVA4rIhN6d/SB6PiaRdns8ky/TKTzwFEyO3NOASHe8051O+uNtXzgCtMUj/8imNrTdMTYgUm1LA==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/channels": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/types": "8.0.4", + "@storybook/types": "8.0.5", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "lodash": "^4.17.21", @@ -5527,13 +5527,13 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/theming": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.4.tgz", - "integrity": "sha512-NxtTU2wMC0lj375ejoT3Npdcqwv6NeUpLaJl6EZCMXSR41ve9WG4suUNWQ63olhqKxirjzAz0IL7ggH7c3hPvA==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.5.tgz", + "integrity": "sha512-Hy4hJaKg6UUyivkUM77nCHccv4/lO++ZG9F88qBFVPdBlCwMHHnUrR7Hgje5cCVAy0jK6LyYlD3cWO6nS9OR8w==", "dev": true, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@storybook/client-logger": "8.0.4", + "@storybook/client-logger": "8.0.5", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -5555,12 +5555,12 @@ } }, "node_modules/@storybook/addon-controls/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -5570,24 +5570,24 @@ } }, "node_modules/@storybook/addon-docs": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-8.0.4.tgz", - "integrity": "sha512-m0Y7qGAMnNPLEOEgzW/SBm8GX0xabJBaRN+aYijO6UKTln7F6oXXVve+xPC0Y4s6Gc9HZFdJY8WXZr1YSGEUVA==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-8.0.5.tgz", + "integrity": "sha512-FMlJLPjyNpqY68/9SJH7350/ncySKMGBQQAQnPrMtGVBld8eeOo3DB+GSffOSbmitomq+t16HOprvPSekTMlPw==", "dev": true, "dependencies": { "@babel/core": "^7.12.3", "@mdx-js/react": "^3.0.0", - "@storybook/blocks": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/components": "8.0.4", - "@storybook/csf-plugin": "8.0.4", - "@storybook/csf-tools": "8.0.4", + "@storybook/blocks": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/components": "8.0.5", + "@storybook/csf-plugin": "8.0.5", + "@storybook/csf-tools": "8.0.5", "@storybook/global": "^5.0.0", - "@storybook/node-logger": "8.0.4", - "@storybook/preview-api": "8.0.4", - "@storybook/react-dom-shim": "8.0.4", - "@storybook/theming": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/node-logger": "8.0.5", + "@storybook/preview-api": "8.0.5", + "@storybook/react-dom-shim": "8.0.5", + "@storybook/theming": "8.0.5", + "@storybook/types": "8.0.5", "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", "fs-extra": "^11.1.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", @@ -5602,23 +5602,23 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/blocks": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-8.0.4.tgz", - "integrity": "sha512-9dRXk9zLJVPOmEWsSXm10XUmIfvS/tVgeBgFXNbusFQZXPpexIPNdRgB004pDGg9RvlY78ykpnd3yP143zaXMg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-8.0.5.tgz", + "integrity": "sha512-zfcwJ0yE5HM28BxZeNU4SYF8zxq2PEqLP1aWCdRuZT9k8lgnBwAKzlvt50LtPzOfGtKuGnvIEriELx/i+Qh4Sw==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/components": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/channels": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/components": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/csf": "^0.1.2", - "@storybook/docs-tools": "8.0.4", + "@storybook/docs-tools": "8.0.5", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", - "@storybook/manager-api": "8.0.4", - "@storybook/preview-api": "8.0.4", - "@storybook/theming": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/manager-api": "8.0.5", + "@storybook/preview-api": "8.0.5", + "@storybook/theming": "8.0.5", + "@storybook/types": "8.0.5", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -5650,13 +5650,13 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -5667,9 +5667,9 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -5680,9 +5680,9 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -5693,14 +5693,14 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/docs-tools": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-8.0.4.tgz", - "integrity": "sha512-PONfG8j/AOHi79NbEkneFRZIscrShbA0sgA+62zeejH4r9+fuIkIKtLnKcAxvr8Bm6uo9aSQbISJZUcBG42WhQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-8.0.5.tgz", + "integrity": "sha512-IzQMlsumiBgHAh5TTZTinNcedU98l0S0hczbTgjXQWgTp3//RHO36LYowAeFrB6V9SACYs/Q47iB15K4b2dqUg==", "dev": true, "dependencies": { - "@storybook/core-common": "8.0.4", - "@storybook/preview-api": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/core-common": "8.0.5", + "@storybook/preview-api": "8.0.5", + "@storybook/types": "8.0.5", "@types/doctrine": "^0.0.3", "assert": "^2.1.0", "doctrine": "^3.0.0", @@ -5712,17 +5712,17 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/preview-api": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-8.0.4.tgz", - "integrity": "sha512-uZCgZ/7BZkFTNudCBWx3YPFVdReMQSZJj9EfQVhQaPmfGORHGMvZMRsQXl0ONhPy7zDD4rVQxu5dSKWmIiYoWQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-8.0.5.tgz", + "integrity": "sha512-BSDVTR9/X6DHVA4rIhN6d/SB6PiaRdns8ky/TKTzwFEyO3NOASHe8051O+uNtXzgCtMUj/8imNrTdMTYgUm1LA==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/channels": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/types": "8.0.4", + "@storybook/types": "8.0.5", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "lodash": "^4.17.21", @@ -5738,9 +5738,9 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/react-dom-shim": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-8.0.4.tgz", - "integrity": "sha512-H8bci23e+G40WsdYPuPrhAjCeeXypXuAV6mTVvLHGKH+Yb+3wiB1weaXrot/TgzPbkDNybuhTI3Qm48FPLt0bw==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-8.0.5.tgz", + "integrity": "sha512-KIcLkCml5dIiVeChMyudz8Q/pZ/T86Y1LrHZvYD/t3iXH+HOOvg6KNsY6TZFM93Rqhk10AIEUNCgYzj2/QjddA==", "dev": true, "funding": { "type": "opencollective", @@ -5752,13 +5752,13 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/theming": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.4.tgz", - "integrity": "sha512-NxtTU2wMC0lj375ejoT3Npdcqwv6NeUpLaJl6EZCMXSR41ve9WG4suUNWQ63olhqKxirjzAz0IL7ggH7c3hPvA==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.5.tgz", + "integrity": "sha512-Hy4hJaKg6UUyivkUM77nCHccv4/lO++ZG9F88qBFVPdBlCwMHHnUrR7Hgje5cCVAy0jK6LyYlD3cWO6nS9OR8w==", "dev": true, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@storybook/client-logger": "8.0.4", + "@storybook/client-logger": "8.0.5", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -5780,12 +5780,12 @@ } }, "node_modules/@storybook/addon-docs/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -5795,24 +5795,24 @@ } }, "node_modules/@storybook/addon-essentials": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-8.0.4.tgz", - "integrity": "sha512-mUIqhAkSz6Qv7nRqAAyCqMLiXBWVsY/8qN7HEIoaMQgdFq38KW3rYwNdzd2JLeXNWP1bBXwfvfcFe7/eqhYJFA==", - "dev": true, - "dependencies": { - "@storybook/addon-actions": "8.0.4", - "@storybook/addon-backgrounds": "8.0.4", - "@storybook/addon-controls": "8.0.4", - "@storybook/addon-docs": "8.0.4", - "@storybook/addon-highlight": "8.0.4", - "@storybook/addon-measure": "8.0.4", - "@storybook/addon-outline": "8.0.4", - "@storybook/addon-toolbars": "8.0.4", - "@storybook/addon-viewport": "8.0.4", - "@storybook/core-common": "8.0.4", - "@storybook/manager-api": "8.0.4", - "@storybook/node-logger": "8.0.4", - "@storybook/preview-api": "8.0.4", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-8.0.5.tgz", + "integrity": "sha512-1yjwf9ibKn2rVqv+fqxACoIjsaUsimSEx8QwjIl2krDNhMULXzFeVubTQ09gXSVEnHUR1nKX3X9qOXJQ2bOFlQ==", + "dev": true, + "dependencies": { + "@storybook/addon-actions": "8.0.5", + "@storybook/addon-backgrounds": "8.0.5", + "@storybook/addon-controls": "8.0.5", + "@storybook/addon-docs": "8.0.5", + "@storybook/addon-highlight": "8.0.5", + "@storybook/addon-measure": "8.0.5", + "@storybook/addon-outline": "8.0.5", + "@storybook/addon-toolbars": "8.0.5", + "@storybook/addon-viewport": "8.0.5", + "@storybook/core-common": "8.0.5", + "@storybook/manager-api": "8.0.5", + "@storybook/node-logger": "8.0.5", + "@storybook/preview-api": "8.0.5", "ts-dedent": "^2.0.0" }, "funding": { @@ -5821,12 +5821,12 @@ } }, "node_modules/@storybook/addon-essentials/node_modules/@storybook/addon-actions": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-8.0.4.tgz", - "integrity": "sha512-EyCWo+8T11/TJGYNL/AXtW4yaB+q1v2E9mixbumryCLxpTl2NtaeGZ4e0dlwfIMuw/7RWgHk2uIypcIPR/UANQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-8.0.5.tgz", + "integrity": "sha512-l1UBvD61DRcfuBTkdqMp2K+60M1QpvhNpYxMmJ/JEYQjzWTg/s9gLmX8eSjgA5bi0sjjJ5i1ddr9d8nHrmwfPA==", "dev": true, "dependencies": { - "@storybook/core-events": "8.0.4", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "@types/uuid": "^9.0.1", "dequal": "^2.0.2", @@ -5839,13 +5839,13 @@ } }, "node_modules/@storybook/addon-essentials/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -5856,9 +5856,9 @@ } }, "node_modules/@storybook/addon-essentials/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -5869,9 +5869,9 @@ } }, "node_modules/@storybook/addon-essentials/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -5882,17 +5882,17 @@ } }, "node_modules/@storybook/addon-essentials/node_modules/@storybook/preview-api": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-8.0.4.tgz", - "integrity": "sha512-uZCgZ/7BZkFTNudCBWx3YPFVdReMQSZJj9EfQVhQaPmfGORHGMvZMRsQXl0ONhPy7zDD4rVQxu5dSKWmIiYoWQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-8.0.5.tgz", + "integrity": "sha512-BSDVTR9/X6DHVA4rIhN6d/SB6PiaRdns8ky/TKTzwFEyO3NOASHe8051O+uNtXzgCtMUj/8imNrTdMTYgUm1LA==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/channels": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/types": "8.0.4", + "@storybook/types": "8.0.5", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "lodash": "^4.17.21", @@ -5908,12 +5908,12 @@ } }, "node_modules/@storybook/addon-essentials/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -5923,9 +5923,9 @@ } }, "node_modules/@storybook/addon-highlight": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-highlight/-/addon-highlight-8.0.4.tgz", - "integrity": "sha512-tnEiVaJlXL07v8JBox+QtRPVruoy0YovOTAOWY7fKDiKzF1I9wLaJjQF3wOsvwspHTHu00OZw2gsazgXiH4wLQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-highlight/-/addon-highlight-8.0.5.tgz", + "integrity": "sha512-z4Aad6Dcf9gQIEPkR8WVIdRj/5RARI6SeIX3JRJoZ4l6fu7AvTZKDWPRpwLXSpEQqdeOb7l7FrZHISmXdrPoiQ==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -6014,9 +6014,9 @@ } }, "node_modules/@storybook/addon-measure": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-8.0.4.tgz", - "integrity": "sha512-GZYKo2ss5Br+dfHinoK3bgTaS90z3oKKDkhv6lrFfjjU1mDYzzMJpxajQhd3apCYxHLr3MbUqMQibWu2T/q2DQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-8.0.5.tgz", + "integrity": "sha512-B5c33aREHbTA+An7Q5Q1yEXUB0ETE5yPnGgsXuxVl6LyYqyqjai1qE48vcmkA7S+vt5MR6Sf9Lmy3UL+kkyYzQ==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0", @@ -6028,9 +6028,9 @@ } }, "node_modules/@storybook/addon-outline": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-8.0.4.tgz", - "integrity": "sha512-6J9ezNDUxdA3rMCh8sUEQbUwAgkrr+M9QdiFr1t+gKrk5FKP5gwubw1sr3sF1IRB9+s/AjljcOtJAVulSfq05w==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-8.0.5.tgz", + "integrity": "sha512-ouQ4IOBw7AAyukkaQwNe2MRTpDbCv+j4z76BRE7qvu9PckifsWsm00pTQwvbNdjiogS8c3EPMV5aBGIPoK/zAQ==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0", @@ -6042,9 +6042,9 @@ } }, "node_modules/@storybook/addon-toolbars": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-8.0.4.tgz", - "integrity": "sha512-yodRXDYog/90cNEy84kg6s7L+nxQ+egBjHBTsav1L4cJmQI/uAX8yISHHiX4I5ppNc120Jz3UdHdRxXRlo345g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-8.0.5.tgz", + "integrity": "sha512-1QrvHtsQI1RNzDrkTMUFaEzZRRKHYrkj/rYpf6B2QyFvaZ6XY4urxSrmssLENuPsoDF4ABU2j6j4BAUgWjIe4A==", "dev": true, "funding": { "type": "opencollective", @@ -6052,9 +6052,9 @@ } }, "node_modules/@storybook/addon-viewport": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-8.0.4.tgz", - "integrity": "sha512-E5IKOsxKcOtlOYc0cWgzVJohQB+dVBWwaJcg5FlslToknfVB9M0kfQ/SQcp3KB0C9/cOmJK1Jm388InW+EjrBQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-8.0.5.tgz", + "integrity": "sha512-Y2sTsNeQctfLBPQYuOjMGSQY4lUycZRZblToU0q6siJ030QjgpuEMcu1yDt654T6jnp/s4VwRS6yaZHnqZ97Mw==", "dev": true, "dependencies": { "memoizerific": "^1.11.3" @@ -7247,18 +7247,18 @@ } }, "node_modules/@storybook/components": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/components/-/components-8.0.4.tgz", - "integrity": "sha512-i5ngl5GTOLB9nZ1cmpxTjtWct5IuH9UxzFC73a0jHMkCwN26w16IqufRVDaoQv0AvZN4pd4fNM2in/XVHA10dw==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/components/-/components-8.0.5.tgz", + "integrity": "sha512-trBWV9gc4YhFhMKUevkBY9Mdk9WmYmthpBfmF0Y2vgrJQidUqkkQqfAMQThSJ0KLpV8k3fB27s5d93rgrr50Rg==", "dev": true, "dependencies": { "@radix-ui/react-slot": "^1.0.2", - "@storybook/client-logger": "8.0.4", + "@storybook/client-logger": "8.0.5", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", - "@storybook/theming": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/theming": "8.0.5", + "@storybook/types": "8.0.5", "memoizerific": "^1.11.3", "util-deprecate": "^1.0.2" }, @@ -7272,13 +7272,13 @@ } }, "node_modules/@storybook/components/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -7289,9 +7289,9 @@ } }, "node_modules/@storybook/components/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -7302,9 +7302,9 @@ } }, "node_modules/@storybook/components/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -7315,13 +7315,13 @@ } }, "node_modules/@storybook/components/node_modules/@storybook/theming": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.4.tgz", - "integrity": "sha512-NxtTU2wMC0lj375ejoT3Npdcqwv6NeUpLaJl6EZCMXSR41ve9WG4suUNWQ63olhqKxirjzAz0IL7ggH7c3hPvA==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.5.tgz", + "integrity": "sha512-Hy4hJaKg6UUyivkUM77nCHccv4/lO++ZG9F88qBFVPdBlCwMHHnUrR7Hgje5cCVAy0jK6LyYlD3cWO6nS9OR8w==", "dev": true, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@storybook/client-logger": "8.0.4", + "@storybook/client-logger": "8.0.5", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -7343,12 +7343,12 @@ } }, "node_modules/@storybook/components/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -7458,15 +7458,15 @@ } }, "node_modules/@storybook/core-common": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-8.0.4.tgz", - "integrity": "sha512-dzFRLm5FxUa2EFE6Rx/KLDTJNLBIp1S2/+Q1K+rG8V+CLvewCc2Cd486rStZqSXEKI7vDnsRs/aMla+N0X/++Q==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-8.0.5.tgz", + "integrity": "sha512-WCu2ZPMq1FuO33tYuCPb9joWaZGtJgfKvXXVGLYYg6LufpbWOI+IB7OWmHahtEdKuaNoIr3CEf1p3zm12NNiYA==", "dev": true, "dependencies": { - "@storybook/core-events": "8.0.4", - "@storybook/csf-tools": "8.0.4", - "@storybook/node-logger": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/core-events": "8.0.5", + "@storybook/csf-tools": "8.0.5", + "@storybook/node-logger": "8.0.5", + "@storybook/types": "8.0.5", "@yarnpkg/fslib": "2.10.3", "@yarnpkg/libzip": "2.3.0", "chalk": "^4.1.0", @@ -7498,13 +7498,13 @@ } }, "node_modules/@storybook/core-common/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -7515,9 +7515,9 @@ } }, "node_modules/@storybook/core-common/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -7528,9 +7528,9 @@ } }, "node_modules/@storybook/core-common/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -7541,12 +7541,12 @@ } }, "node_modules/@storybook/core-common/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -7921,12 +7921,12 @@ } }, "node_modules/@storybook/csf-plugin": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-8.0.4.tgz", - "integrity": "sha512-pEgctWuS/qeKMFZJJUM2JuKwjKBt27ye+216ft7xhNqpsrmCgumJYrkU/ii2CsFJU/qr5Fu9EYw+N+vof1OalQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-8.0.5.tgz", + "integrity": "sha512-R6VjQl+I9k4oc3OfOHOFzz5T20WROHOZ5/zkkFKM/1YUa6QNpMcuStOtr/qcAx+QizmQqmxgJwTFapFBP5yWjg==", "dev": true, "dependencies": { - "@storybook/csf-tools": "8.0.4", + "@storybook/csf-tools": "8.0.5", "unplugin": "^1.3.1" }, "funding": { @@ -7935,9 +7935,9 @@ } }, "node_modules/@storybook/csf-tools": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-8.0.4.tgz", - "integrity": "sha512-dMSZxWnXBhmXGOZZOAJ4DKZRCYdA0HaqqZ4/eF9MLLsI+qvW4EklcpjVY6bsIzACgubRWtRZkTpxTnjExi/N1A==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-8.0.5.tgz", + "integrity": "sha512-fW2hAO57ayq7eHjpS5jXy/AKm3oZxApngd9QU/bC800EyTWENwLPxFnHLAE86N57Dc3bcE4PTFCyqpxzE4Uc7g==", "dev": true, "dependencies": { "@babel/generator": "^7.23.0", @@ -7945,7 +7945,7 @@ "@babel/traverse": "^7.23.2", "@babel/types": "^7.23.0", "@storybook/csf": "^0.1.2", - "@storybook/types": "8.0.4", + "@storybook/types": "8.0.5", "fs-extra": "^11.1.0", "recast": "^0.23.5", "ts-dedent": "^2.0.0" @@ -7956,13 +7956,13 @@ } }, "node_modules/@storybook/csf-tools/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -7973,9 +7973,9 @@ } }, "node_modules/@storybook/csf-tools/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -7986,9 +7986,9 @@ } }, "node_modules/@storybook/csf-tools/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -7999,12 +7999,12 @@ } }, "node_modules/@storybook/csf-tools/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -8207,20 +8207,20 @@ } }, "node_modules/@storybook/manager-api": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/manager-api/-/manager-api-8.0.4.tgz", - "integrity": "sha512-TudiRmWlsi8kdjwqW0DDLen76Zp4Sci/AnvTbZvZOWe8C2mruxcr6aaGwuIug6y+uxIyXDvURF6Cek5Twz4isg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/manager-api/-/manager-api-8.0.5.tgz", + "integrity": "sha512-2Q+DI9XU1U4EBrihnyfo+kuRK7T3Ce2eSlWEHHkTZ3OYSf+EhFxLUA6AOfMoA1B0nzNEr6SUkW8DBvMrtdTQMA==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/channels": "8.0.5", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", "@storybook/icons": "^1.2.5", - "@storybook/router": "8.0.4", - "@storybook/theming": "8.0.4", - "@storybook/types": "8.0.4", + "@storybook/router": "8.0.5", + "@storybook/theming": "8.0.5", + "@storybook/types": "8.0.5", "dequal": "^2.0.2", "lodash": "^4.17.21", "memoizerific": "^1.11.3", @@ -8234,13 +8234,13 @@ } }, "node_modules/@storybook/manager-api/node_modules/@storybook/channels": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.4.tgz", - "integrity": "sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-8.0.5.tgz", + "integrity": "sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", - "@storybook/core-events": "8.0.4", + "@storybook/client-logger": "8.0.5", + "@storybook/core-events": "8.0.5", "@storybook/global": "^5.0.0", "telejson": "^7.2.0", "tiny-invariant": "^1.3.1" @@ -8251,9 +8251,9 @@ } }, "node_modules/@storybook/manager-api/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -8264,9 +8264,9 @@ } }, "node_modules/@storybook/manager-api/node_modules/@storybook/core-events": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.4.tgz", - "integrity": "sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-8.0.5.tgz", + "integrity": "sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ==", "dev": true, "dependencies": { "ts-dedent": "^2.0.0" @@ -8277,13 +8277,13 @@ } }, "node_modules/@storybook/manager-api/node_modules/@storybook/theming": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.4.tgz", - "integrity": "sha512-NxtTU2wMC0lj375ejoT3Npdcqwv6NeUpLaJl6EZCMXSR41ve9WG4suUNWQ63olhqKxirjzAz0IL7ggH7c3hPvA==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-8.0.5.tgz", + "integrity": "sha512-Hy4hJaKg6UUyivkUM77nCHccv4/lO++ZG9F88qBFVPdBlCwMHHnUrR7Hgje5cCVAy0jK6LyYlD3cWO6nS9OR8w==", "dev": true, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@storybook/client-logger": "8.0.4", + "@storybook/client-logger": "8.0.5", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -8305,12 +8305,12 @@ } }, "node_modules/@storybook/manager-api/node_modules/@storybook/types": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.4.tgz", - "integrity": "sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.5.tgz", + "integrity": "sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ==", "dev": true, "dependencies": { - "@storybook/channels": "8.0.4", + "@storybook/channels": "8.0.5", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" }, @@ -8535,9 +8535,9 @@ } }, "node_modules/@storybook/node-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-8.0.4.tgz", - "integrity": "sha512-cALLHuX53vLQsoJamGRlquh2pfhPq9copXou2JTmFT6mrCcipo77SzhBDfeeuhaGv6vUWPfmGjPBEHXWGPe4+g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-8.0.5.tgz", + "integrity": "sha512-ssT8YCcCqgc89ee+EeExCxcOpueOsU05iek2roR+NCZnoCL1DmzcUp8H9t0utLaK/ngPV8zatlzSDVgKTHSIJw==", "dev": true, "funding": { "type": "opencollective", @@ -8643,24 +8643,6 @@ "url": "https://opencollective.com/storybook" } }, - "node_modules/@storybook/preview-api/node_modules/@storybook/channels": { - "version": "7.6.17", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-7.6.17.tgz", - "integrity": "sha512-GFG40pzaSxk1hUr/J/TMqW5AFDDPUSu+HkeE/oqSWJbOodBOLJzHN6CReJS6y1DjYSZLNFt1jftPWZZInG/XUA==", - "dev": true, - "dependencies": { - "@storybook/client-logger": "7.6.17", - "@storybook/core-events": "7.6.17", - "@storybook/global": "^5.0.0", - "qs": "^6.10.0", - "telejson": "^7.2.0", - "tiny-invariant": "^1.3.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, "node_modules/@storybook/preview-api/node_modules/@storybook/client-logger": { "version": "7.6.17", "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-7.6.17.tgz", @@ -8674,35 +8656,6 @@ "url": "https://opencollective.com/storybook" } }, - "node_modules/@storybook/preview-api/node_modules/@storybook/core-events": { - "version": "7.6.17", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-7.6.17.tgz", - "integrity": "sha512-AriWMCm/k1cxlv10f+jZ1wavThTRpLaN3kY019kHWbYT9XgaSuLU67G7GPr3cGnJ6HuA6uhbzu8qtqVCd6OfXA==", - "dev": true, - "dependencies": { - "ts-dedent": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/preview-api/node_modules/@storybook/types": { - "version": "7.6.17", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-7.6.17.tgz", - "integrity": "sha512-GRY0xEJQ0PrL7DY2qCNUdIfUOE0Gsue6N+GBJw9ku1IUDFLJRDOF+4Dx2BvYcVCPI5XPqdWKlEyZdMdKjiQN7Q==", - "dev": true, - "dependencies": { - "@storybook/channels": "7.6.17", - "@types/babel__core": "^7.0.0", - "@types/express": "^4.7.0", - "file-system-cache": "2.3.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, "node_modules/@storybook/react": { "version": "7.5.2", "resolved": "https://registry.npmjs.org/@storybook/react/-/react-7.5.2.tgz", @@ -8878,12 +8831,12 @@ } }, "node_modules/@storybook/router": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/router/-/router-8.0.4.tgz", - "integrity": "sha512-hlR80QvmLBflAqMeGcgtDuSe6TJlzdizwEAkBLE1lDvFI6tvvEyAliCAXBpIDdOZTe0u/zeeJkOUXKSx33caoQ==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/router/-/router-8.0.5.tgz", + "integrity": "sha512-1d4CqNJB5sA25HCd7jZ4eVqMsdlD4r4SuFA/eR6fas0lk7yjVCpG1zWfvSSk5tKoVcNLSptc/TYBiSr2rcGRvw==", "dev": true, "dependencies": { - "@storybook/client-logger": "8.0.4", + "@storybook/client-logger": "8.0.5", "memoizerific": "^1.11.3", "qs": "^6.10.0" }, @@ -8893,9 +8846,9 @@ } }, "node_modules/@storybook/router/node_modules/@storybook/client-logger": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.4.tgz", - "integrity": "sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-8.0.5.tgz", + "integrity": "sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -10820,9 +10773,9 @@ "dev": true }, "node_modules/autoprefixer": { - "version": "10.4.16", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", - "integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==", + "version": "10.4.19", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", + "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", "dev": true, "funding": [ { @@ -10839,9 +10792,9 @@ } ], "dependencies": { - "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001538", - "fraction.js": "^4.3.6", + "browserslist": "^4.23.0", + "caniuse-lite": "^1.0.30001599", + "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -11342,13 +11295,13 @@ "dev": true }, "node_modules/body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "dependencies": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -11356,7 +11309,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -11538,9 +11491,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.10", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", - "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", "funding": [ { "type": "opencollective", @@ -11556,10 +11509,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", - "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" }, "bin": { "browserslist": "cli.js" @@ -11812,9 +11765,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001583", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001583.tgz", - "integrity": "sha512-acWTYaha8xfhA/Du/z4sNZjHUWjkiuoAi2LM+T/aL+kemKQgPT1xBb/YKjlQ0Qo8gvbHsGNplrEJ+9G3gL7i4Q==", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "funding": [ { "type": "opencollective", @@ -12433,9 +12386,9 @@ "dev": true }, "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true, "engines": { "node": ">= 0.6" @@ -13508,9 +13461,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.525", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.525.tgz", - "integrity": "sha512-GIZ620hDK4YmIqAWkscG4W6RwY6gOx1y5J6f4JUQwctiJrqH2oxZYU4mXHi35oV32tr630UcepBzSBGJ/WYcZA==" + "version": "1.4.717", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.717.tgz", + "integrity": "sha512-6Fmg8QkkumNOwuZ/5mIbMU9WI3H2fmn5ajcVya64I5Yr5CcNmO7vcLt0Y7c96DCiMO5/9G+4sI2r6eEvdg1F7A==" }, "node_modules/elliptic": { "version": "6.5.4", @@ -14671,17 +14624,17 @@ } }, "node_modules/express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.1", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -15223,9 +15176,9 @@ } }, "node_modules/fraction.js": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.6.tgz", - "integrity": "sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", "dev": true, "engines": { "node": "*" @@ -19098,9 +19051,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==" + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==" }, "node_modules/normalize-path": { "version": "3.0.0", @@ -20496,9 +20449,9 @@ } }, "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "dependencies": { "bytes": "3.1.2", @@ -23435,9 +23388,9 @@ } }, "node_modules/unplugin": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.10.0.tgz", - "integrity": "sha512-CuZtvvO8ua2Wl+9q2jEaqH6m3DoQ38N7pvBYQbbaeNlWGvK2l6GHiKi29aIHDPoSxdUzQ7Unevf1/ugil5X6Pg==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.10.1.tgz", + "integrity": "sha512-d6Mhq8RJeGA8UfKCu54Um4lFA0eSaRa3XxdAJg8tIdxbu1ubW0hBCZUL7yI2uGyYCRndvbK8FLHzqy2XKfeMsg==", "dev": true, "dependencies": { "acorn": "^8.11.3", @@ -23477,9 +23430,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", - "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", "funding": [ { "type": "opencollective", diff --git a/dashboard/package.json b/dashboard/package.json index 7b6a5977f..f7ba31bae 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -43,7 +43,7 @@ "@commitlint/cli": "^19.2.1", "@commitlint/config-conventional": "^17.2.0", "@jest/globals": "^29.5.0", - "@storybook/addon-essentials": "^8.0.4", + "@storybook/addon-essentials": "^8.0.5", "@storybook/addon-interactions": "^7.6.17", "@storybook/addon-links": "^8.0.4", "@storybook/addons": "^7.4.6", @@ -63,7 +63,7 @@ "@types/react-cytoscapejs": "^1.2.5", "@types/react-dom": "18.2.18", "@types/react-simple-maps": "^3.0.2", - "autoprefixer": "^10.4.16", + "autoprefixer": "^10.4.19", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-next": "14.0.4", diff --git a/handlers/helper.go b/handlers/helper.go index e26ccfbd9..9fc840ac9 100644 --- a/handlers/helper.go +++ b/handlers/helper.go @@ -189,7 +189,7 @@ func makeClientFromAccount(account models.Account) (*providers.ProviderClient, e Name: account.Name, }, err } - } else if account.Credentials["source"] == "environment-variables" { + } else { cfg, err := awsConfig.LoadDefaultConfig(context.Background()) if err != nil { return nil, err @@ -370,8 +370,8 @@ func populateConfigFromAccount(account models.Account, config *models.Config) er switch account.Provider { case "aws": awsConfig := models.AWSConfig{ - Name: account.Name, - Source: account.Credentials["source"], + Name: account.Name, + Source: account.Credentials["source"], } if account.Credentials["source"] == "credentials-file" { awsConfig.Profile = account.Credentials["profile"] diff --git a/internal/config/create.go b/internal/config/create.go new file mode 100644 index 000000000..1ac780e6d --- /dev/null +++ b/internal/config/create.go @@ -0,0 +1,38 @@ +package config + +import ( + "os" + + "github.com/BurntSushi/toml" + "github.com/tailwarden/komiser/models" +) + +const DefaultFileName = "config.toml" + +var demoConfig = models.Config{ + AWS: []models.AWSConfig{ + { + Name: "Demo", + Source: "CREDENTIALS_FILE", + Profile: "default", + }, + }, + SQLite: models.SQLiteConfig{ + File: "komiser.db", + }, +} + +func Create(c *models.Config) error { + if c == nil { + c = &demoConfig + } + + f, err := os.Create(DefaultFileName) + if err != nil { + return err + } + if err := toml.NewEncoder(f).Encode(*c); err != nil { + return err + } + return f.Close() +} diff --git a/internal/config/load.go b/internal/config/load.go index 9bef16fd5..aadbfc8e9 100644 --- a/internal/config/load.go +++ b/internal/config/load.go @@ -21,7 +21,6 @@ import ( "github.com/ovh/go-ovh/ovh" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/tailwarden/komiser/models" - . "github.com/tailwarden/komiser/models" "github.com/tailwarden/komiser/providers" "github.com/tailwarden/komiser/utils" tccommon "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" @@ -36,7 +35,7 @@ import ( "k8s.io/client-go/tools/clientcmd" ) -func loadConfigFromFile(path string) (*Config, error) { +func loadConfigFromFile(path string) (*models.Config, error) { filename, err := filepath.Abs(path) if err != nil { return nil, err @@ -54,8 +53,8 @@ func loadConfigFromFile(path string) (*Config, error) { return loadConfigFromBytes(yamlFile) } -func loadConfigFromBytes(b []byte) (*Config, error) { - var config Config +func loadConfigFromBytes(b []byte) (*models.Config, error) { + var config models.Config err := toml.Unmarshal([]byte(b), &config) if err != nil { @@ -65,7 +64,7 @@ func loadConfigFromBytes(b []byte) (*Config, error) { return &config, nil } -func Load(configPath string, telemetry bool, analytics utils.Analytics, db *bun.DB) (*Config, []providers.ProviderClient, []models.Account, error) { +func Load(configPath string, telemetry bool, analytics utils.Analytics, db *bun.DB) (*models.Config, []providers.ProviderClient, []models.Account, error) { config, err := loadConfigFromFile(configPath) if err != nil { return nil, nil, nil, err