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): Bump body-parser and express #1367

Closed
wants to merge 1 commit into from
Closed
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
220 changes: 130 additions & 90 deletions package-lock.json

Unchanged files with check annotations Beta

}
private function getListAttrs(string $attributeName, array $values) : array {
$default = $this->config->getAppValue(Application::APP_ID, $attributeName, $values[0]);

Check warning on line 70 in lib/Service/SettingsService.php

GitHub Actions / lint-php (max)

Call to deprecated function \OCP\IConfig::getAppValue() defined at vendor/nextcloud/ocp/OCP/IConfig.php:134 (Deprecated because: 29.0.0 Use {@see IAppConfig} directly)
return [
'default' => $default,
}
public function getDefaultNotesPath(string $uid) : string {
$defaultFolder = $this->config->getAppValue(Application::APP_ID, 'defaultFolder', 'Notes');

Check warning on line 85 in lib/Service/SettingsService.php

GitHub Actions / lint-php (max)

Call to deprecated function \OCP\IConfig::getAppValue() defined at vendor/nextcloud/ocp/OCP/IConfig.php:134 (Deprecated because: 29.0.0 Use {@see IAppConfig} directly)
$defaultExists = $this->root->getUserFolder($uid)->nodeExists($defaultFolder);
if ($defaultExists) {
return $defaultFolder;
if ($value !== null && array_key_exists($name, $this->attrs)) {
$settings[$name] = $value = $this->attrs[$name]['validate']($value);
}
$default = is_callable($this->attrs[$name]['default']) ? $this->attrs[$name]['default']($uid) : $this->attrs[$name]['default'];

Check warning on line 110 in lib/Service/SettingsService.php

GitHub Actions / lint-php (min)

Line exceeds 120 characters; contains 139 characters

Check warning on line 110 in lib/Service/SettingsService.php

GitHub Actions / lint-php (max)

Line exceeds 120 characters; contains 139 characters
if (!$writeDefaults && (!array_key_exists($name, $this->attrs)
|| $value === null
|| $value === $default
}
public function run(IOutput $output) {
$appVersion = $this->config->getAppValue('notes', 'installed_version');

Check warning on line 49 in lib/Migration/EditorHint.php

GitHub Actions / lint-php (max)

Call to deprecated function \OCP\IConfig::getAppValue() defined at vendor/nextcloud/ocp/OCP/IConfig.php:134 (Deprecated because: 29.0.0 Use {@see IAppConfig} directly)
if (!$appVersion || version_compare($appVersion, '4.7.0') !== -1) {
return;