Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spicetify-cli for openSUSE:Factory checked in at 2024-12-29 11:56:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spicetify-cli (Old) and /work/SRC/openSUSE:Factory/.spicetify-cli.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spicetify-cli" Sun Dec 29 11:56:42 2024 rev:5 rq:1233477 version:2.38.7 Changes: -------- --- /work/SRC/openSUSE:Factory/spicetify-cli/spicetify-cli.changes 2024-12-20 15:27:36.944594710 +0100 +++ /work/SRC/openSUSE:Factory/.spicetify-cli.new.1881/spicetify-cli.changes 2024-12-29 11:56:57.804975508 +0100 @@ -1,0 +2,8 @@ +Fri Dec 27 01:18:15 UTC 2024 - jan.kuzi...@suse.com + +- Update to version 2.38.7: + * chore: remove console log + * fix: indefinitely wait for necessary chunks + * chore(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 (#3242) + +------------------------------------------------------------------- Old: ---- cli-2.38.6.obscpio New: ---- cli-2.38.7.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spicetify-cli.spec ++++++ --- /var/tmp/diff_new_pack.n8XNYc/_old 2024-12-29 11:56:58.320996668 +0100 +++ /var/tmp/diff_new_pack.n8XNYc/_new 2024-12-29 11:56:58.324996832 +0100 @@ -19,7 +19,7 @@ %define sname cli %define binname spicetify Name: spicetify-cli -Version: 2.38.6 +Version: 2.38.7 Release: 0 Summary: Command-line tool to customize Spotify client License: LGPL-2.1-or-later ++++++ _service ++++++ --- /var/tmp/diff_new_pack.n8XNYc/_old 2024-12-29 11:56:58.360998308 +0100 +++ /var/tmp/diff_new_pack.n8XNYc/_new 2024-12-29 11:56:58.364998473 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/spicetify/cli</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v2.38.6</param> + <param name="revision">v2.38.7</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.n8XNYc/_old 2024-12-29 11:56:58.384999293 +0100 +++ /var/tmp/diff_new_pack.n8XNYc/_new 2024-12-29 11:56:58.388999457 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/spicetify/cli</param> - <param name="changesrevision">fa1070dbde6e2360efbbfaab4861b76caaef51f9</param></service></servicedata> + <param name="changesrevision">01f5cc5427627d83f08f16ad9fec9f1e69636532</param></service></servicedata> (No newline at EOF) ++++++ cli-2.38.6.obscpio -> cli-2.38.7.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli-2.38.6/go.mod new/cli-2.38.7/go.mod --- old/cli-2.38.6/go.mod 2024-12-19 18:12:40.000000000 +0100 +++ new/cli-2.38.7/go.mod 2024-12-21 17:46:51.000000000 +0100 @@ -5,7 +5,7 @@ require ( github.com/go-ini/ini v1.67.0 github.com/mattn/go-colorable v0.1.13 - golang.org/x/net v0.32.0 + golang.org/x/net v0.33.0 ) require ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli-2.38.6/go.sum new/cli-2.38.7/go.sum --- old/cli-2.38.6/go.sum 2024-12-19 18:12:40.000000000 +0100 +++ new/cli-2.38.7/go.sum 2024-12-21 17:46:51.000000000 +0100 @@ -11,8 +11,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= -golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cli-2.38.6/jsHelper/spicetifyWrapper.js new/cli-2.38.7/jsHelper/spicetifyWrapper.js --- old/cli-2.38.6/jsHelper/spicetifyWrapper.js 2024-12-19 18:12:40.000000000 +0100 +++ new/cli-2.38.7/jsHelper/spicetifyWrapper.js 2024-12-21 17:46:51.000000000 +0100 @@ -673,6 +673,68 @@ if (!Spicetify.ContextMenuV2._context) Spicetify.ContextMenuV2._context = Spicetify.React.createContext({}); + (function waitForChunks() { + const listOfComponents = [ + "ScrollableContainer", + "Slider", + "Toggle", + "Cards.Artist", + "Cards.Audiobook", + "Cards.Profile", + "Cards.Show", + "Cards.Track", + ]; + if (listOfComponents.every((component) => Spicetify.ReactComponent[component] !== undefined)) return; + const cache = Object.keys(require.m).map((id) => require(id)); + const modules = cache + .filter((module) => typeof module === "object") + .flatMap((module) => { + try { + return Object.values(module); + } catch {} + }); + const functionModules = modules.filter((module) => typeof module === "function"); + const cardTypesToFind = ["artist", "audiobook", "profile", "show", "track"]; + const cards = [ + ...functionModules + .flatMap((m) => { + return cardTypesToFind.map((type) => { + if (m.toString().includes(`featureIdentifier:"${type}"`)) { + cardTypesToFind.splice(cardTypesToFind.indexOf(type), 1); + return [type[0].toUpperCase() + type.slice(1), m]; + } + }); + }) + .filter(Boolean), + ...modules + .flatMap((m) => { + return cardTypesToFind.map((type) => { + try { + if (m?.type?.toString().includes(`featureIdentifier:"${type}"`)) { + cardTypesToFind.splice(cardTypesToFind.indexOf(type), 1); + return [type[0].toUpperCase() + type.slice(1), m]; + } + } catch {} + }); + }) + .filter(Boolean), + ]; + + Spicetify.ReactComponent.Slider = wrapProvider(functionModules.find((m) => m.toString().includes("progressBarRef"))); + Spicetify.ReactComponent.Toggle = functionModules.find((m) => m.toString().includes("onSelected") && m.toString().includes('type:"checkbox"')); + Spicetify.ReactComponent.ScrollableContainer = functionModules.find( + (m) => m.toString().includes("scrollLeft") && m.toString().includes("showButtons") + ); + Object.assign(Spicetify.ReactComponent.Cards, Object.fromEntries(cards)); + + if (!listOfComponents.every((component) => Spicetify.ReactComponent[component] !== undefined)) { + setTimeout(waitForChunks, 100); + return; + } + + if (Spicetify.ReactComponent.ScrollableContainer) setTimeout(refreshNavLinks?.(), 100); + })(); + (function waitForSnackbar() { if (!Object.keys(Spicetify.Snackbar).length) { setTimeout(waitForSnackbar, 100); @@ -1849,6 +1911,7 @@ !Spicetify.ReactComponent.ButtonTertiary || !Spicetify.ReactComponent.Navigation || !Spicetify.ReactComponent.TooltipWrapper || + !Spicetify.ReactComponent.ScrollableContainer || !Spicetify.Platform.History || !Spicetify.Platform.LocalStorageAPI ) ++++++ cli.obsinfo ++++++ --- /var/tmp/diff_new_pack.n8XNYc/_old 2024-12-29 11:56:58.585007495 +0100 +++ /var/tmp/diff_new_pack.n8XNYc/_new 2024-12-29 11:56:58.589007659 +0100 @@ -1,5 +1,5 @@ name: cli -version: 2.38.6 -mtime: 1734628360 -commit: fa1070dbde6e2360efbbfaab4861b76caaef51f9 +version: 2.38.7 +mtime: 1734799611 +commit: 01f5cc5427627d83f08f16ad9fec9f1e69636532 ++++++ vendor.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/modules.txt new/vendor/modules.txt --- old/vendor/modules.txt 2024-12-19 19:04:29.000000000 +0100 +++ new/vendor/modules.txt 2024-12-27 02:18:15.000000000 +0100 @@ -9,7 +9,7 @@ github.com/mattn/go-isatty # github.com/stretchr/testify v1.7.1 ## explicit; go 1.13 -# golang.org/x/net v0.32.0 +# golang.org/x/net v0.33.0 ## explicit; go 1.18 golang.org/x/net/websocket # golang.org/x/sys v0.28.0