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:
@@ -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;
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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[];
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user