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

remove unnecessary 'use strict' directives #4943

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions packages/@uppy/companion-client/src/RequestClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import UserFacingApiError from '@uppy/utils/lib/UserFacingApiError'
// eslint-disable-next-line import/no-extraneous-dependencies
import pRetry, { AbortError } from 'p-retry'
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/companion-client/src/SearchProvider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

import type { Body, Meta } from '@uppy/utils/lib/UppyFile.ts'
import type { Uppy } from '@uppy/core'
import type { CompanionClientSearchProvider } from '@uppy/utils/lib/CompanionClientProvider'
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/companion-client/src/tokenStorage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

/**
* This module serves as an Async wrapper for LocalStorage
*/
Expand Down
2 changes: 0 additions & 2 deletions packages/@uppy/react/src/nonHtmlPropsHaveChanged.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

export default function nonHtmlPropsHaveChanged (props, prevProps) {
return Object.keys(props).some(key => !Object.hasOwn(props, key) && props[key] !== prevProps[key])
}
Loading