mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Destructure Lodash requires
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
const Path = require('path');
|
||||
|
||||
const compose = require('lodash/fp/compose');
|
||||
const escapeRegExp = require('lodash/escapeRegExp');
|
||||
const isRegExp = require('lodash/isRegExp');
|
||||
const isString = require('lodash/isString');
|
||||
const {
|
||||
escapeRegExp,
|
||||
isRegExp,
|
||||
isString,
|
||||
} = require('lodash');
|
||||
const { compose } = require('lodash/fp');
|
||||
|
||||
|
||||
const PHONE_NUMBER_PATTERN = /\+\d{7,12}(\d{3})/g;
|
||||
|
||||
Reference in New Issue
Block a user