Selaa lähdekoodia

remove unnecessary `'use strict'` directives (#4943)

Antoine du Hamel 1 vuosi sitten
vanhempi
commit
89a2fc5d24

+ 0 - 2
packages/@uppy/companion-client/src/RequestClient.ts

@@ -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'

+ 0 - 2
packages/@uppy/companion-client/src/SearchProvider.ts

@@ -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'

+ 0 - 2
packages/@uppy/companion-client/src/tokenStorage.ts

@@ -1,5 +1,3 @@
-'use strict'
-
 /**
  * This module serves as an Async wrapper for LocalStorage
  */

+ 0 - 2
packages/@uppy/react/src/nonHtmlPropsHaveChanged.js

@@ -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])
 }