Skip to content

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

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

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

Triggered via pull request November 20, 2024 01:41
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
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/BzxIC3Oe.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CvNDB_a5.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/C96VBwhg.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/BcPOBIpt.js"> + <script type="module" src="/_nuxt/BzxIC3Oe.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/Bvh6CgfX.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DM3AnqU9.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CszjZpAn.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CKn27cKZ.js"> + <script type="module" src="/_nuxt/Bvh6CgfX.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/bdc4UTLc.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/BWFx1RLp.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/C7dxTdBF.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CemEUR3M.js"> + <script type="module" src="/_nuxt/bdc4UTLc.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/CiT6KgLL.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CbpvvU8z.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DOuGib7G.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/Dd6dRBNe.js"> + <script type="module" src="/_nuxt/CiT6KgLL.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/BzxIC3Oe.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CvNDB_a5.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/C96VBwhg.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/BcPOBIpt.js"> + <script type="module" src="/_nuxt/BzxIC3Oe.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/DLkzYlLU.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/DTm8T2cF.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/UzQktLkD.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CKvJ699H.js"> + <script type="module" src="/_nuxt/DLkzYlLU.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/liL86xt9.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/CbXvUsIu.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/VAOMeQ6C.js"> + <link rel="prefetch" as="script" crossorigin href="/_nuxt/J3q2cG0V.js"> + <script type="module" src="/_nuxt/liL86xt9.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.