Skip to content

fix(deps): update dependency svgo to v3.3.2 #1181

fix(deps): update dependency svgo to v3.3.2

fix(deps): update dependency svgo to v3.3.2 #1181

Triggered via pull request January 1, 2025 13:02
Status Failure
Total duration 1m 13s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
test/component.test.ts > defaultImport: component > renders the svg: test/component.test.ts#L20
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain '<svg viewBox="0 0 24 24"><path d="M13…' - Expected + Received - <svg viewBox="0 0 24 24"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z"></path></svg> + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/BFA82AdB.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/C1qYLlNe.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/GoLAPHtk.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/0y_mUygx.js"> + <script type="module" src="/_nuxt/BFA82AdB.js" crossorigin></script></head><body><div id="__nuxt"><div> Nuxt module playground! <svg viewBox="0 0 24 24"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z"></path></svg></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/component.test.ts:20:18
test/componentext.options.custom.test.ts > defaultImport: componentext > renders the svg from assets/icons folder: test/componentext.options.custom.test.ts#L28
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain '><path d="M13.5 1.515a3 3 0 0 0-3 0L3…' - Expected + Received - ><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z"></path></svg> + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <style>.test-icon{height:1em;margin-bottom:.125em;vertical-align:middle;width:1em}.test--fill,.test--fill *{fill:currentColor}</style> + <link rel="stylesheet" href="/_nuxt/entry.DXqVI5nZ.css" crossorigin> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/CQCkukSP.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DF7zH5sv.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/D2_jIQMj.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/BZIuFxn5.js"> + <script type="module" src="/_nuxt/CQCkukSP.js" crossorigin></script></head><body><div id="__nuxt"><div> Nuxt module playground! <svg viewBox="0 0 24 24" class="test-icon test--fill" name="home"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z"></path></svg><svg viewBox="0 0 24 24" class="test-icon test--fill" name="home"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6"></path></svg></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/componentext.options.custom.test.ts:28:18
test/componentext.test.ts > defaultImport: componentext > renders the svg from assets/icons folder: test/componentext.test.ts#L35
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain '><path d="M13.5 1.515a3 3 0 0 0-3 0L3…' - Expected + Received - ><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z"></path></svg> + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <style>.nuxt-icon{height:1em;margin-bottom:.125em;vertical-align:middle;width:1em}.nuxt-icon--fill,.nuxt-icon--fill *{fill:currentColor}</style> + <link rel="stylesheet" href="/_nuxt/entry.Cvbtxq7p.css" crossorigin> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/34CjZdpj.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CMZmabV_.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/BTC288CO.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/KkpZ9OOn.js"> + <script type="module" src="/_nuxt/34CjZdpj.js" crossorigin></script></head><body><div id="__nuxt"><div> Nuxt module playground! <svg viewBox="0 0 24 24" class="nuxt-icon nuxt-icon--fill"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z"></path></svg><svg viewBox="0 0 24 24" class="nuxt-icon nuxt-icon--fill"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6"></path></svg></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/componentext.test.ts:35:18
test/customprefix.test.ts > custom prefix using `componentPrefix` > renders the svg: test/customprefix.test.ts#L20
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain '><path d="M13.5 1.515a3 3 0 0 0-3 0L3…' - Expected + Received - ><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z"></path></svg> + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <style>.nuxt-icon{height:1em;margin-bottom:.125em;vertical-align:middle;width:1em}.nuxt-icon--fill,.nuxt-icon--fill *{fill:currentColor}</style> + <link rel="stylesheet" href="/_nuxt/entry.Cvbtxq7p.css" crossorigin> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/DD9EkV88.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DOgCKmvw.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DdkgLL_c.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DAdcddro.js"> + <script type="module" src="/_nuxt/DD9EkV88.js" crossorigin></script></head><body><div id="__nuxt"><div> Nuxt module playground! <svg viewBox="0 0 24 24" class="nuxt-icon nuxt-icon--fill"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z"></path></svg><svg viewBox="0 0 24 24" class="nuxt-icon nuxt-icon--fill"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6"></path></svg></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/customprefix.test.ts:20:18
test/default.test.ts > defaultImport: component | default config > renders the svg with view box and without dimensions: test/default.test.ts#L20
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain '><path d="M13.5 1.515a3 3 0 0 0-3 0L3…' - Expected + Received - ><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z"></path></svg> + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/BFA82AdB.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/C1qYLlNe.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/GoLAPHtk.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/0y_mUygx.js"> + <script type="module" src="/_nuxt/BFA82AdB.js" crossorigin></script></head><body><div id="__nuxt"><div> Nuxt module playground! <svg viewBox="0 0 24 24"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z"></path></svg></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/default.test.ts:20:18
test/override.test.ts > options override test > renders the svg removing the viewBox: test/override.test.ts#L43
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain '<svg width="24" height="24"><path d="…' - Expected + Received - <svg width="24" height="24"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z"></path></svg> + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/DigtU04R.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/D6B57VHg.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/BV4oLWem.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/5NAu1Glz.js"> + <script type="module" src="/_nuxt/DigtU04R.js" crossorigin></script></head><body><div id="__nuxt"><div> Nuxt module playground! <svg width="24" height="24"><path d="M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z"></path></svg></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/override.test.ts:43:18
test/url_encode.test.ts > defaultImport: url_encode > returns the url encoded text of svg: test/url_encode.test.ts#L20
AssertionError: expected '<!DOCTYPE html><html data-capo=""><h…' to contain 'data:image/svg+xml,%3csvg xmlns=&#39;…' - Expected + Received - data:image/svg+xml,%3csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; viewBox=&#39;0 0 24 24&#39;%3e%3cpath d=&#39;M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z&#39;/%3e%3c/svg%3e + <!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="modulepreload" as="script" crossorigin href="/_nuxt/DpNvD_tR.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/vVl6tc67.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CDMcTsjN.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/D_yvT4Dw.js"> + <script type="module" src="/_nuxt/DpNvD_tR.js" crossorigin></script></head><body><div id="__nuxt"><div><img src="data:image/svg+xml,%3csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; viewBox=&#39;0 0 24 24&#39;%3e%3cpath d=&#39;M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732z&#39;/%3e%3c/svg%3e"></div></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="true" id="__NUXT_DATA__">[["ShallowReactive",1],{"data":2,"state":4,"once":6,"_errors":7,"serverRendered":9,"path":10},["ShallowReactive",3],{},["Reactive",5],{},["Set"],["ShallowReactive",8],{},true,"/"]</script> + <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"test",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html> ❯ test/url_encode.test.ts:20:18
Test
Process completed with exit code 1.
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636