Skip to content

Commit

Permalink
Bump outdated build dependencies
Browse files Browse the repository at this point in the history
- Remove `@sentry/browser` 7.91.0.
- Bump `@babel` packages to 7.23.9.
- Bump `@storybook` packages to 7.6.10.
- Bump `css-loader` to 6.9.1
- Remove an outdated resolutions entry for `markdown-it`.
- Remove references to `query-string` from the classifier code.
  • Loading branch information
eatyourgreens committed Jan 30, 2024
1 parent 54bd14a commit 21daea9
Show file tree
Hide file tree
Showing 6 changed files with 633 additions and 781 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,5 @@
"packages": [
"packages/**"
]
},
"resolutions": {
"markdown-it": "~13.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/app-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"dependencies": {
"@zooniverse/async-states": "~0.0.1",
"@zooniverse/grommet-theme": "~3.2.0",
"@zooniverse/user": "~0.1.0",
"@zooniverse/panoptes-js": "~0.5.0",
"@zooniverse/react-components": "~1.11.0",
"@zooniverse/user": "~0.1.0",
"express": "~4.18.2",
"grommet": "~2.34.0",
"grommet-icons": "~4.12.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-classifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"dependencies": {
"@babel/runtime": "~7.23.1",
"@sentry/browser": "~7.91.0",
"@sentry/browser": "~7.98.0",
"@visx/axis": "~3.5.0",
"@visx/brush": "~3.6.1",
"@visx/event": "~3.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Tab, Tabs } from '@zooniverse/react-components'
import { Box } from 'grommet'
import { bool, func, shape, string } from 'prop-types'
import queryString from 'query-string'
import { useEffect, useRef, useState } from 'react';
import { useTranslation } from '@translations/i18n'

Expand Down Expand Up @@ -30,9 +29,7 @@ export default function TaskArea({
const taskArea = useRef(null)

useEffect(function onSubjectChange() {
// TODO: remove this once testing is complete.
const URLParams = queryString.parse(window?.location?.search)
const finished = (subject && URLParams?.finished) || retired || alreadySeen
const finished = retired || alreadySeen
setDisabled(finished && workflow.hasIndexedSubjects)
}, [alreadySeen, subject, retired])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { addDisposer, flow, getRoot, tryReference, types } from 'mobx-state-tree'
import ResourceStore from '@store/ResourceStore'
import Workflow from './Workflow'
import queryString from 'query-string'

const WorkflowStore = types
.model('WorkflowStore', {
Expand Down
Loading

0 comments on commit 21daea9

Please sign in to comment.