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

[stable6.1] Fix npm audit #4324

Open
wants to merge 1 commit into
base: stable6.1
Choose a base branch
from
Open
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
5,589 changes: 3,373 additions & 2,216 deletions package-lock.json

Large diffs are not rendered by default.


Unchanged files with check annotations Beta

<!-- org, title -->
<template #subtitle>
<template v-if="isReadOnly">
<span v-html="formattedSubtitle" />

Check warning on line 51 in src/components/ContactDetails.vue

GitHub Actions / NPM lint

'v-html' directive can lead to XSS attack
</template>
<template v-else>
<input id="contact-title"
<IconAccount :size="20" />
</template>
</ActionButton>
<ActionLink v-for="emailAddress in emailAddressList"

Check warning on line 91 in src/components/ContactDetails.vue

GitHub Actions / NPM lint

Variable 'emailAddress' is already declared in the upper scope
:key="emailAddress"
class="quick-action"
:href="'mailto:' + emailAddress">
/**
* Update this.localContact and set this.fixed
*
* @param {Contact} contact the contact to clone

Check warning on line 957 in src/components/ContactDetails.vue

GitHub Actions / NPM lint

The type 'Contact' is undefined
*/
async updateLocalContact(contact) {
// create empty contact and copy inner data
/**
* Should display the property
*
* @param {Property} property the property to check

Check warning on line 1008 in src/components/ContactDetails.vue

GitHub Actions / NPM lint

The type 'Property' is undefined
* @return {boolean}
*/
canDisplay(property) {
/**
* On toggle, add or remove the config bitwise
*
* @param {CircleConfig} config the circle config to manage

Check warning on line 68 in src/components/CircleDetails/CircleConfigs.vue

GitHub Actions / NPM lint

The type 'CircleConfig' is undefined
* @param {boolean} checked checked or not
*/
async onChange(config, checked) {
<p>{{ t('contacts', 'Anything shared with this team will show up here') }}</p>
<div v-for="provider in resourceProviders" :key="provider.id">
<ContentHeading>
<span v-show="false" class="provider__icon" v-html="provider.icon" /> {{ provider.name }}

Check warning on line 116 in src/components/CircleDetails.vue

GitHub Actions / NPM lint

'v-html' directive can lead to XSS attack
</ContentHeading>
<ul>
<span v-if="resource.iconEmoji" class="resource__icon">
{{ resource.iconEmoji }}
</span>
<span v-else-if="resource.iconSvg" class="resource__icon" v-html="resource.iconSvg" />

Check warning on line 129 in src/components/CircleDetails.vue

GitHub Actions / NPM lint

'v-html' directive can lead to XSS attack
<span v-else-if="resource.iconURL" class="resource__icon">
<img :src="resource.iconURL" alt="">
</span>
methods: {
/**
* @param groups

Check warning on line 139 in src/components/AppNavigation/GroupNavigationItem.vue

GitHub Actions / NPM lint

Missing JSDoc @param "groups" description
* @param groupId

Check warning on line 140 in src/components/AppNavigation/GroupNavigationItem.vue

GitHub Actions / NPM lint

Missing JSDoc @param "groupId" description
*/
isInGroup(groups, groupId) {
return groups.includes(groupId)
* Open mailto: for contacts in a group
*
* @param {object} group of contacts to be emailed
* @param {string} mode

Check warning on line 239 in src/components/AppNavigation/GroupNavigationItem.vue

GitHub Actions / NPM lint

Missing JSDoc @param "mode" description
*/
emailGroup(group, mode = 'to') {
const emails = []