Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deps bump #92

Merged
merged 19 commits into from
Apr 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
26b2f40
chore(deps): bump axios from 0.24.0 to 1.3.6
lorenzocorallo Apr 25, 2023
b99994b
chore(deps): bump eslint from 7.32.0 to 8.39.0
lorenzocorallo Apr 25, 2023
13157e4
chore(deps): bump i18next and react-i18next
lorenzocorallo Apr 25, 2023
ec535a6
chore(deps): bump ts-node from 10.3.0 to 10.9.1
lorenzocorallo Apr 25, 2023
fa08497
chore(deps): bump ts-prune from 0.10.1 to 0.10.3
lorenzocorallo Apr 25, 2023
11595df
chore(deps): bump underscore from 1.13.1 to 1.13.6
lorenzocorallo Apr 25, 2023
3441325
chore(deps): bump rimraf from 3.0.2 to 5.0.0
lorenzocorallo Apr 25, 2023
7e2e9a9
chore(deps): bump @types/underscore from 1.11.3 to 1.11.4
lorenzocorallo Apr 25, 2023
878f4f9
chore(deps): bump react-collapsible from 2.8.4 to 2.8.10
lorenzocorallo Apr 25, 2023
5af2a8d
chore(deps): bump prettier from 2.4.1 to 2.8.8
lorenzocorallo Apr 25, 2023
eb965f3
chore(deps): bump mkdirp from 1.0.4 to 3.0.1
lorenzocorallo Apr 25, 2023
5a18bfa
chore(deps): bump react-to-print from 2.14.0 to 2.14.12
lorenzocorallo Apr 25, 2023
141105f
chore(deps): bump react-icons from 4.3.1 to 4.8.0
lorenzocorallo Apr 25, 2023
fb09b2b
chore(deps): bump gh-pages from 3.2.3 to 4.0.0
lorenzocorallo Apr 25, 2023
e0d4c9c
chore(deps): bump typescript from 4.4.3 to 4.9.5*
lorenzocorallo Apr 26, 2023
9cf3bda
chore(deps): bump google-spreadsheet from 3.1.15 to 3.3.0
lorenzocorallo Apr 26, 2023
8d2faf4
chore(deps): bump depcheck from 1.4.2 to 1.4.3
lorenzocorallo Apr 26, 2023
683c5d8
Merge remote-tracking branch 'upstream/main' into deps-bump
lorenzocorallo Apr 26, 2023
7da7a0b
Merge branch 'main' into deps-bump
EndBug Apr 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41,983 changes: 19,038 additions & 22,945 deletions package-lock.json

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,45 @@
"test": "npm run build && npm run lint && npm run exports"
},
"dependencies": {
"@types/google-spreadsheet": "^3.1.5",
"@types/google-spreadsheet": "^3.3.1",
"@types/node": "^16.10.3",
"@types/react": "^17.0.27",
"@types/react-dom": "^17.0.9",
"@types/react-latex": "^2.0.0",
"@types/underscore": "^1.11.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"axios": "^0.24.0",
"depcheck": "^1.4.2",
"@types/underscore": "^1.11.4",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"axios": "^1.3.6",
"depcheck": "^1.4.3",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"fraction.js": "^4.1.2",
"fromentries": "^1.3.2",
"gh-pages": "^3.2.3",
"google-spreadsheet": "^3.1.15",
"gh-pages": "^4.0.0",
"google-spreadsheet": "^3.3.0",
"googleapis": "^39.2.0",
"i18next": "^22.4.13",
"i18next": "^22.4.15",
"i18next-browser-languagedetector": "^7.0.1",
"mkdirp": "^1.0.4",
"prettier": "^2.4.1",
"mkdirp": "^3.0.1",
"prettier": "^2.8.8",
"react": "^17.0.2",
"react-collapsible": "^2.8.4",
"react-collapsible": "^2.10.0",
"react-dom": "^17.0.2",
"react-i18next": "^12.2.0",
"react-icons": "^4.3.1",
"react-i18next": "^12.2.2",
"react-icons": "^4.8.0",
"react-latex": "^2.0.0",
"react-ribbons": "github:EndBug/react-ribbons#custom",
"react-router-dom": "^6.10.0",
"react-scripts": "4.0.3",
"react-scripts": "^5.0.1",
"react-timer-hook": "^3.0.5",
"react-to-print": "^2.14.0",
"rimraf": "^3.0.2",
"ts-node": "^10.3.0",
"ts-prune": "^0.10.1",
"typescript": "^4.4.3",
"underscore": "^1.13.1"
"react-to-print": "^2.14.12",
"rimraf": "^5.0.0",
"ts-node": "^10.9.1",
"ts-prune": "^0.10.3",
"typescript": "^4.9.5",
"underscore": "^1.13.6"
},
"engines": {
"node": "^16.0.0"
Expand Down
3 changes: 3 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<meta property="og:url" content="https://tol.polinetwork.org" />
<meta property="og:image" content="%PUBLIC_URL%/logo3000.webp" />
<meta property="og:locale" content="it_IT" />
<meta property="dct:title" content="The TOL Project" xmlns:dct="https://purl.org/dc/terms/" />
<meta property="cc:attributionName" content="PoliNetwork" />
<meta property="cc:morePermissions" content="https://github.com/PoliNetworkOrg/TheTOLProject/blob/main/LICENSE" xmlns:cc="https://creativecommons.org/ns#" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo3000.webp" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand Down
8 changes: 0 additions & 8 deletions src/components/pages/License.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,9 @@ const styles = StyleSheet.create({
export default function License() {
const { i18n } = useTranslation()
const components = {
title: (
<span
{...{ 'xmlns:dct': 'https://purl.org/dc/terms/' }}
property="dct:title"
/>
),
network: (
<a
href="https://polinetwork.org/it/projects/"
property="cc:attributionName"
rel="cc:attributionURL noreferrer noopener"
target="_blank"
/>
Expand All @@ -45,7 +38,6 @@ export default function License() {
),
githubLicense: (
<a
{...{ 'xmlns:cc': 'https://creativecommons.org/ns#' }}
href={links.githubLicense}
rel="cc:morePermissions noreferrer noopener"
target="_blank"
Expand Down
7 changes: 5 additions & 2 deletions src/components/pages/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ export default function Results(props: ResultsProps) {
)

const score = (
Object.entries(correctionGrid) as [Section, typeof correctionGrid[string]][]
Object.entries(correctionGrid) as [
Section,
(typeof correctionGrid)[string]
][]
)
.map(([, correction]) => correction.score.mul(correction.weight))
.reduce((acc, curr) => acc.add(curr), new Fraction(0))
Expand Down Expand Up @@ -203,7 +206,7 @@ export default function Results(props: ResultsProps) {
{(
Object.entries(correctionGrid) as [
Section,
typeof correctionGrid[Section]
(typeof correctionGrid)[Section]
][]
)
.sort((a, b) => sectionInfo[a[0]].order - sectionInfo[b[0]].order)
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"license": {
"main": "<title>The TOL Project</title> by <network>PoliNetwork</network> is licensed under a <cc4>Creative Commons Attribution-ShareAlike 4.0 International License</cc4> <br/> Permissions beyond the scope of this license may be available <githubLicense>here</githubLicense>."
"main": "The TOL Project by <network>PoliNetwork</network> is licensed under a <cc4>Creative Commons Attribution-ShareAlike 4.0 International License</cc4> <br/> Permissions beyond the scope of this license may be available <githubLicense>here</githubLicense>."
},
"privacy": {
"localStorage": "This website uses the browser <link /> to save user preferences, for example the test mode (regular or SLD) or the website language. These settings are never sent to any server, instead they are handled locally by the browser. Moreover, preferences are deleted after 6 months from the last change."
Expand Down
2 changes: 1 addition & 1 deletion src/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"license": {
"main": "<title>The TOL Project</title> by <network>PoliNetwork</network> è rilasciato sotto una licenza <cc4>Creative Commons Attribution-ShareAlike 4.0 International License</cc4>. <br /> Permessi che vanno oltre l'ambito di questa licenza posso essere disponibili <githubLicense>qui</githubLicense>."
"main": "The TOL Project by <network>PoliNetwork</network> è rilasciato sotto una licenza <cc4>Creative Commons Attribution-ShareAlike 4.0 International License</cc4>. <br /> Permessi che vanno oltre l'ambito di questa licenza posso essere disponibili <githubLicense>qui</githubLicense>."
},
"privacy": {
"localStorage": "Questo sito utilizza il <link /> per salvare preferenze e impostazioni utente, come la modalità del test (Regolare o DSA) o la lingua di visualizzazione del sito. Queste impostazioni non vengono mai inviate ad alcun server, ma vengono gestite localmente dal browser. Inoltre, queste vengono eliminate 6 mesi dopo l'ultima modifica."
Expand Down
2 changes: 1 addition & 1 deletion src/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const sheetDict = {
quesiti_COM: 'com',
quesiti_FIS: 'fis'
} as const
export type Section = typeof sheetDict[keyof typeof sheetDict]
export type Section = (typeof sheetDict)[keyof typeof sheetDict]

export type AnswerLetter = 'a' | 'b' | 'c' | 'd' | 'e'

Expand Down