refactor(core): Replace lodash's "soft-deprecated" individual packages with lodash to resolve CVE (no-changelog) (#6450)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Chris Wu
2023-06-16 07:26:35 -07:00
committed by GitHub
parent 16f707d5c4
commit 1111c915f2
101 changed files with 213 additions and 1086 deletions

View File

@@ -17,7 +17,7 @@ import { NodeApiError, NodeOperationError } from 'n8n-workflow';
import { DateTime } from 'luxon';
import isEmpty from 'lodash.isempty';
import isEmpty from 'lodash/isEmpty';
export interface IEmail {
from?: string;

View File

@@ -28,7 +28,7 @@ import { labelFields, labelOperations } from './LabelDescription';
import { draftFields, draftOperations } from './DraftDescription';
import isEmpty from 'lodash.isempty';
import isEmpty from 'lodash/isEmpty';
import { oldVersionNotice } from '../../../../utils/descriptions';

View File

@@ -3,8 +3,8 @@ import { apiRequest } from './v2/transport';
import type { SheetDataRow, SheetRangeData } from './v2/helpers/GoogleSheets.types';
import * as XLSX from 'xlsx';
import isEqual from 'lodash.isequal';
import zip from 'lodash.zip';
import isEqual from 'lodash/isEqual';
import zip from 'lodash/zip';
export const BINARY_MIME_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';

View File

@@ -5,7 +5,7 @@ import { googleApiRequest } from './GenericFunctions';
import { utils as xlsxUtils } from 'xlsx';
import get from 'lodash.get';
import get from 'lodash/get';
export interface ISheetOptions {
scope: string[];

View File

@@ -7,7 +7,7 @@ import type {
import { NodeOperationError } from 'n8n-workflow';
import { apiRequest } from '../transport';
import { utils as xlsxUtils } from 'xlsx';
import get from 'lodash.get';
import get from 'lodash/get';
import type {
ILookupValues,
ISheetUpdateData,