From 349803de0507f20b6d60577798dcbdc906748eb0 Mon Sep 17 00:00:00 2001 From: ssube Date: Sat, 1 Aug 2020 10:16:31 -0500 Subject: [PATCH] lint: remove lodash --- package.json | 1 - src/type/Regexp.ts | 3 +-- yarn.lock | 5 ----- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/package.json b/package.json index 2c2c148..3c968a3 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "eslint-plugin-sonarjs": "0.5.0", "esm": "3.2.25", "js-yaml": "3.14.0", - "lodash": "4.17.19", "mocha": "8.1.0", "noicejs": "3.0.1", "nyc": "15.1.0", diff --git a/src/type/Regexp.ts b/src/type/Regexp.ts index 2c32869..f74d47f 100644 --- a/src/type/Regexp.ts +++ b/src/type/Regexp.ts @@ -1,6 +1,5 @@ -import { InvalidArgumentError } from '@apextoaster/js-utils'; +import { InvalidArgumentError, isNil } from '@apextoaster/js-utils'; import { Type as YamlType } from 'js-yaml'; -import { isNil } from 'lodash'; export const REGEXP_REGEXP = /^\/(.+)\/([gimsuy]*)$/; diff --git a/yarn.lock b/yarn.lock index d58b8b5..f1355d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2480,11 +2480,6 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@4.17.19: - version "4.17.19" - resolved "https://artifacts.apextoaster.com/repository/group-npm/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b" - integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== - lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@~4.17.15: version "4.17.15" resolved "https://artifacts.apextoaster.com/repository/group-npm/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"