Skip to content

Commit

Permalink
Merge pull request #334 from Opetushallitus/snyk-upgrade-8c2277ca5a7b…
Browse files Browse the repository at this point in the history
…f02a4fe6fd92d5f106e5

[Snyk] Upgrade styled-components from 5.3.10 to 5.3.11
  • Loading branch information
hruoho authored Nov 30, 2023
2 parents 0453d39 + c294e17 commit 23f4f17
Show file tree
Hide file tree
Showing 11 changed files with 177 additions and 176 deletions.
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"lint": "./node_modules/.bin/eslint --ext .js,.jsx src test",
"test": "npm run build:prod && JEST_ENV=jest-environment-puppeteer ./node_modules/.bin/jest --testPathPattern=page.spec.js",
"unit": "JEST_ENV=jsdom ./node_modules/.bin/jest --testPathPattern=test.js --coverage",
"unit:update-snapshots": "JEST_ENV=jsdom ./node_modules/.bin/jest --testPathPattern=test.js --coverage --updateSnapshot",
"prepare": "node update_nvmrc.js"
},
"devDependencies": {
Expand Down Expand Up @@ -72,7 +73,7 @@
"react": "17.0.2",
"react-dom": "17.0.2",
"save-dev": "0.0.1-security",
"styled-components": "5.3.10"
"styled-components": "5.3.11"
},
"snyk": true
}
24 changes: 12 additions & 12 deletions frontend/src/component/__snapshots__/Header.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,39 @@
exports[`Header should be rendered 1`] = `
<header>
<h1
className="typography__H1-sc-1yq3b4j-0 fFvYbU"
className="typography__H1-sc-1yq3b4j-0 ijwxQR"
>
Tietojeni käyttö
</h1>
<p
className="typography__Lead-sc-1yq3b4j-3 Header__Description-sc-19ub9le-0 eVJHYk dDxbRH"
className="typography__Lead-sc-1yq3b4j-3 Header__Description-sc-19ub9le-0 juNCXp fkqnhq"
>
Tällä sivulla voit tarkastella ja hallinnoida antamiasi käyttölupia tietoihisi. Lisäksi näet mitkä toimijat, esim. viranomaiset, ovat käyttäneet tietojasi.
*
</p>
<h3
className="typography__H3-sc-1yq3b4j-2 StudentInfo__Student-sc-8zvgal-0 lbzUwK krWAqi"
className="typography__H3-sc-1yq3b4j-2 StudentInfo__Student-sc-8zvgal-0 cVeiUL fWRwCz"
>
<span
className="StudentInfo__Name-sc-8zvgal-1 hlvkuz"
className="StudentInfo__Name-sc-8zvgal-1 AUEOO"
>
Onni Oskari Oppija
</span>
<span
className="StudentInfo__Birthday-sc-8zvgal-2 jLZIgE"
className="StudentInfo__Birthday-sc-8zvgal-2 hZmHBl"
>
s.
1.2.1980
</span>
</h3>
<div>
<b
className="typography__Bold-sc-1yq3b4j-6 woqnG"
className="typography__Bold-sc-1yq3b4j-6 haiWbX"
>
Tarkasteltava henkilö:
</b>
<select
className="typography__Select-sc-1yq3b4j-7 brrZQi"
className="typography__Select-sc-1yq3b4j-7 bgiqrT"
onChange={[Function]}
>
<option
Expand All @@ -48,25 +48,25 @@ exports[`Header should be rendered 1`] = `
</select>
</div>
<div
className="NavBar__Navigation-sc-18mzj0n-0 bTYgZv"
className="NavBar__Navigation-sc-18mzj0n-0 gcAHEi"
>
<a
className="NavBar__Link-sc-18mzj0n-5 jkzUgm"
className="NavBar__Link-sc-18mzj0n-5 xsGtP"
href="/koski/omadata/kayttooikeudet"
>
<span
className="NavBar__Tab-sc-18mzj0n-1 NavBar__InactiveTab-sc-18mzj0n-2 jJfMKY eWygSg"
className="NavBar__Tab-sc-18mzj0n-1 NavBar__InactiveTab-sc-18mzj0n-2 iWojaZ ejlEFl"
>
Annetut käyttöluvat
</span>
</a>
<span
className="NavBar__Tab-sc-18mzj0n-1 NavBar__ActiveTab-sc-18mzj0n-3 jJfMKY gWJYFa"
className="NavBar__Tab-sc-18mzj0n-1 NavBar__ActiveTab-sc-18mzj0n-3 iWojaZ hppvAv"
>
Tietojani käyttäneet toimijat
</span>
<span
className="NavBar__Filler-sc-18mzj0n-4 jsITZj"
className="NavBar__Filler-sc-18mzj0n-4 bzdCLW"
/>
</div>
</header>
Expand Down
Loading

0 comments on commit 23f4f17

Please sign in to comment.