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-dev): bump mime from 4.0.4 to 4.0.6 #49952

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Changes from 1 commit
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
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -171,7 +171,7 @@
"karma-jasmine-sinon": "^1.0.4",
"karma-spec-reporter": "^0.0.36",
"karma-viewport": "^1.0.9",
"mime": "^4.0.3",
"mime": "^4.0.6",
"puppeteer": "^23.10.4",
"raw-loader": "^4.0.2",
"regextras": "^0.8.0",

Unchanged files with check annotations Beta

* @param action The action to open the file picker for
* @param dir The directory to start the file picker in
* @param nodes The nodes to move/copy
* @return The picked destination or false if cancelled by user

Check warning on line 210 in apps/files/src/actions/moveOrCopyAction.ts

GitHub Actions / NPM lint

Missing JSDoc @return type
*/
async function openFilePickerForAction(
action: MoveCopyAction,
}
// This is mocking a file tree using the FileSystem API
const buildFileSystemDirectoryEntry = (path: string, tree: any): FileSystemDirectoryEntry => {

Check warning on line 25 in apps/files/src/services/DropServiceUtils.spec.ts

GitHub Actions / NPM lint

Unexpected any. Specify a different type
const entries = Object.entries(tree).map(([name, contents]) => {
const fullPath = join(path, name)
if (Array.isArray(contents)) {
return new FileSystemDirectoryEntry(path, entries)
}
const buildDataTransferItemArray = (path: string, tree: any, isFileSystemAPIAvailable = true): DataTransferItemMock[] => {

Check warning on line 37 in apps/files/src/services/DropServiceUtils.spec.ts

GitHub Actions / NPM lint

Unexpected any. Specify a different type
return Object.entries(tree).map(([name, contents]) => {
const fullPath = join(path, name)
if (Array.isArray(contents)) {
getters: {
/**
* Get a file or folder by its source
* @param state

Check warning on line 27 in apps/files/src/store/files.ts

GitHub Actions / NPM lint

Missing JSDoc @param "state" description
*/
getNode: (state) => (source: FileSource): Node|undefined => state.files[source],
/**
* Get a list of files or folders by their IDs
* Note: does not return undefined values
* @param state

Check warning on line 34 in apps/files/src/store/files.ts

GitHub Actions / NPM lint

Missing JSDoc @param "state" description
*/
getNodes: (state) => (sources: FileSource[]): Node[] => sources
.map(source => state.files[source])
* Get files or folders by their file ID
* Multiple nodes can have the same file ID but different sources
* (e.g. in a shared context)
* @param state

Check warning on line 44 in apps/files/src/store/files.ts

GitHub Actions / NPM lint

Missing JSDoc @param "state" description
*/
getNodesById: (state) => (fileId: number): Node[] => Object.values(state.files).filter(node => node.fileid === fileId),
/**
* Get the root folder of a service
* @param state

Check warning on line 50 in apps/files/src/store/files.ts

GitHub Actions / NPM lint

Missing JSDoc @param "state" description
*/
getRoot: (state) => (service: Service): Folder|undefined => state.roots[service],
},
*
* @param service The service (files view)
* @param path The path relative within the service
* @return Array of cached nodes within the path

Check warning on line 61 in apps/files/src/store/files.ts

GitHub Actions / NPM lint

Missing JSDoc @return type
*/
getNodesByPath(service: string, path?: string): Node[] {
const pathsStore = usePathsStore()
* Observe various events and save the current
* special keys states. Useful for checking the
* current status of a key when executing a method.
* @param {...any} args

Check warning on line 12 in apps/files/src/store/keyboard.ts

GitHub Actions / NPM lint

Missing JSDoc @param "args" description
*/
export const useKeyboardStore = function(...args) {
const store = defineStore('keyboard', {
/**
* Execute the renaming.
* This will rename the node set as `renamingNode` to the configured new name `newName`.
* @return true if success, false if skipped (e.g. new and old name are the same)

Check warning on line 94 in apps/files/src/store/renaming.ts

GitHub Actions / NPM lint

Missing JSDoc @return type
* @throws Error if renaming fails, details are set in the error message
*/
async rename(): Promise<boolean> {