Skip to content

Commit

Permalink
meta: update more dependencies (#5171)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed May 15, 2024
1 parent 928eff7 commit 0697f75
Show file tree
Hide file tree
Showing 14 changed files with 684 additions and 466 deletions.
36 changes: 0 additions & 36 deletions .yarn/patches/tus-js-client-npm-3.1.3-dc57874d23.patch

This file was deleted.

2 changes: 1 addition & 1 deletion examples/aws-php/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"uppy": "workspace:*"
},
"devDependencies": {
"esbuild": "^0.20.1"
"esbuild": "^0.21.2"
},
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/transloadit-markdown-bin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function renderSnippet (title, text) {
const contentEl = newSnippet.querySelector('.snippet-content')

titleEl.appendChild(document.createTextNode(title))
contentEl.innerHTML = marked(text)
contentEl.innerHTML = marked.parse(text)

const list = document.querySelector('#snippets')
list.insertBefore(newSnippet, list.firstChild)
Expand Down
2 changes: 1 addition & 1 deletion examples/transloadit-markdown-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@uppy/remote-sources": "workspace:*",
"@uppy/transloadit": "workspace:*",
"@uppy/webcam": "workspace:*",
"marked": "^4.0.18"
"marked": "^12.0.0"
},
"devDependencies": {
"vite": "^5.0.0"
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"node": "^16.15.0 || >=18.0.0",
"yarn": "3.6.1"
},
"packageManager": "yarn@4.1.1+sha256.f3cc0eda8e5560e529c7147565b30faa43b4e472d90e8634d7134a37c7f59781",
"packageManager": "yarn@4.2.2+sha224.1e50daf19e5e249a025569752c60b88005fddf57d10fcde5fc68b88f",
"workspaces": [
"examples/*",
"packages/@uppy/*",
Expand Down Expand Up @@ -63,9 +63,9 @@
"babel-plugin-inline-package-json": "^2.0.0",
"chalk": "^5.0.0",
"concat-stream": "^2.0.0",
"cssnano": "^6.0.6",
"cssnano": "^7.0.0",
"dotenv": "^16.0.0",
"esbuild": "^0.20.1",
"esbuild": "^0.21.2",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0",
Expand All @@ -76,18 +76,18 @@
"eslint-plugin-jest": "^28.0.0",
"eslint-plugin-jsdoc": "^48.0.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-markdown": "^4.0.0",
"eslint-plugin-markdown": "^5.0.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-unicorn": "^53.0.0",
"github-contributors-list": "^1.2.4",
"glob": "^8.0.0",
"jsdom": "^22.1.0",
"lint-staged": "^13.0.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.0.0",
"mime-types": "^2.1.26",
"nodemon": "^2.0.8",
"npm-packlist": "^5.0.0",
Expand Down Expand Up @@ -180,7 +180,6 @@
"stylelint@^9.10.1": "^16.0.0",
"stylelint-order": "^6.0.0",
"uuid@^8.3.2": "patch:uuid@npm:8.3.2#.yarn/patches/uuid-npm-8.3.2-eca0baba53.patch",
"tus-js-client": "patch:tus-js-client@npm%3A3.1.3#./.yarn/patches/tus-js-client-npm-3.1.3-dc57874d23.patch",
"resize-observer-polyfill": "patch:resize-observer-polyfill@npm%3A1.5.1#./.yarn/patches/resize-observer-polyfill-npm-1.5.1-603120e8a0.patch"
}
}
2 changes: 1 addition & 1 deletion packages/@uppy/companion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"prom-client": "14.0.1",
"serialize-error": "^11.0.0",
"serialize-javascript": "^6.0.0",
"tus-js-client": "^3.1.3",
"tus-js-client": "^4.1.0",
"validator": "^13.0.0",
"ws": "8.17.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/@uppy/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"@uppy/thumbnail-generator": "workspace:^",
"@uppy/utils": "workspace:^",
"classnames": "^2.2.6",
"is-shallow-equal": "^1.0.1",
"lodash": "^4.17.21",
"memoize-one": "^6.0.0",
"nanoid": "^5.0.0",
"preact": "^10.5.13"
"preact": "^10.5.13",
"shallow-equal": "^3.0.0"
},
"devDependencies": {
"@uppy/google-drive": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/@uppy/dashboard/src/components/FileItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/* eslint-disable react/destructuring-assignment */
import { h, Component, type ComponentChild } from 'preact'
import classNames from 'classnames'
import shallowEqual from 'is-shallow-equal'
import { shallowEqualObjects } from 'shallow-equal'
import FilePreviewAndLink from './FilePreviewAndLink/index.tsx'
import FileProgress from './FileProgress/index.tsx'
import FileInfo from './FileInfo/index.tsx'
Expand All @@ -21,7 +21,7 @@ export default class FileItem extends Component {
}

shouldComponentUpdate(nextProps: $TSFixMe): boolean {
return !shallowEqual(this.props, nextProps)
return !shallowEqualObjects(this.props, nextProps)
}

// VirtualList mounts FileItems again and they emit `thumbnail:request`
Expand Down
4 changes: 2 additions & 2 deletions packages/@uppy/provider-views/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"dependencies": {
"@uppy/utils": "workspace:^",
"classnames": "^2.2.6",
"nanoid": "^4.0.0",
"p-queue": "^7.3.4",
"nanoid": "^5.0.0",
"p-queue": "^8.0.0",
"preact": "^10.5.13"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/tus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/utils": "workspace:^",
"tus-js-client": "^3.1.3"
"tus-js-client": "^4.1.0"
},
"devDependencies": {
"vitest": "^1.2.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"main": "lib/index.js",
"dependencies": {
"shallow-equal": "^1.2.1"
"shallow-equal": "^3.0.0"
},
"devDependencies": {
"vue": "^3.4.21"
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/vue/src/useUppy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { onBeforeUnmount, onMounted, watch, type Ref } from 'vue'
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore untyped
import { shallowEqualObjects } from 'shallow-equal'
import type { UnknownPlugin, Uppy } from '@uppy/core'

Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/webcam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"dependencies": {
"@uppy/utils": "workspace:^",
"is-mobile": "^3.1.1",
"is-mobile": "^4.0.0",
"preact": "^10.5.13"
},
"devDependencies": {
Expand Down

0 comments on commit 0697f75

Please sign in to comment.