8000 chore: migrate lodash from function packages (#1430) · CarsonF/typescript-eslint@c69e402 · GitHub
[go: up one dir, main page]

Skip to content

Commit c69e402

Browse files
armano2bradzacher
authored andcommitted
chore: migrate lodash from function packages (typescript-eslint#1430)
1 parent 9720d2c commit c69e402

File tree

5 files changed

+11
-30
lines changed

5 files changed

+11
-30
lines changed

packages/eslint-plugin-tslint/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
},
3333
"dependencies": {
3434
"@typescript-eslint/experimental-utils": "2.15.0",
35-
"lodash.memoize": "^4.1.2"
35+
"lodash": "^4.17.15"
3636
},
3737
"peerDependencies": {
3838
"eslint": "^5.0.0 || ^6.0.0",
3939
"tslint": "^5.0.0",
4040
"typescript": "*"
4141
},
4242
"devDependencies": {
43-
"@types/lodash.memoize": "^4.1.4",
43+
"@types/lodash": "^4.14.149",
4444
"@typescript-eslint/parser": "2.15.0"
4545
}
4646
}

packages/eslint-plugin-tslint/src/rules/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
ESLintUtils,
33
ParserServices,
44
} from '@typescript-eslint/experimental-utils';
5-
import memoize from 'lodash.memoize';
5+
import memoize from 'lodash/memoize';
66
import { Configuration, RuleSeverity } from 'tslint';
77
import { CustomLinter } from '../custom-linter';
88

packages/typescript-estree/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"eslint-visitor-keys": "^1.1.0",
4444
"glob": "^7.1.6",
4545
"is-glob": "^4.0.1",
46-
"lodash.unescape": "4.0.1",
46+
"lodash": "^4.17.15",
4747
"semver": "^6.3.0",
4848
"tsutils": "^3.17.1"
4949
},
@@ -55,7 +55,7 @@
5555
"@types/debug": "^4.1.5",
5656
"@types/glob": "^7.1.1",
5757
"@types/is-glob": "^4.0.1",
58-
"@types/lodash.unescape": "^4.0.4",
58+
"@types/lodash": "^4.14.149",
5959
"@types/semver": "^6.2.0",
6060
"@types/tmp": "^0.1.0",
6161
"@typescript-eslint/shared-fixtures": "2.15.0",

packages/typescript-estree/src/node-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import unescape from 'lodash.unescape';
1+
import unescape from 'lodash/unescape';
22
import * as ts from 'typescript';
33
import { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree } from './ts-estree';
44

yarn.lock

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,24 +1376,10 @@
13761376
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636"
13771377
integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A==
13781378

1379-
"@types/lodash.memoize@^4.1.4":
1380-
version "4.1.6"
1381-
resolved "https://registry.yarnpkg.com/@types/lodash.memoize/-/lodash.memoize-4.1.6.tgz#3221f981790a415cab1a239f25c17efd8b604c23"
1382-
integrity sha512-mYxjKiKzRadRJVClLKxS4wb3Iy9kzwJ1CkbyKiadVxejnswnRByyofmPMscFKscmYpl36BEEhCMPuWhA1R/1ZQ==
1383-
dependencies:
1384-
"@types/lodash" "*"
1385-
1386-
"@types/lodash.unescape@^4.0.4":
1387-
version "4.0.6"
1388-
resolved "https://registry.yarnpkg.com/@types/lodash.unescape/-/lodash.unescape-4.0.6.tgz#cca470b1ab7736a81ea91bd071b2ed4f21ed4520"
1389-
integrity sha512-9JwlwdieWYlLqr1s/X8M1/Heo9qaFb2lHj6ETFlwJQrU9QyMvKngMnYzz0OYE4qx+VFdZgVP9I7AnBdju8/x0g==
1390-
dependencies:
1391-
"@types/lodash" "*"
1392-
1393-
"@types/lodash@*":
1394-
version "4.14.141"
1395-
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.141.tgz#d81f4d0c562abe28713406b571ffb27692a82ae6"
1396-
integrity sha512-v5NYIi9qEbFEUpCyikmnOYe4YlP8BMUdTcNCAquAKzu+FA7rZ1onj9x80mbnDdOW/K5bFf3Tv5kJplP33+gAbQ==
1379+
"@types/lodash@^4.14.149":
1380+
version "4.14.149"
1381+
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440"
1382+
integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ==
13971383

13981384
"@types/marked@^0.7.1":
13991385
version "0.7.1"
@@ -5473,7 +5459,7 @@ lodash.map@^4.5.1:
54735459
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
54745460
integrity sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=
54755461

5476-
lodash.memoize@4.x, lodash.memoize@^4.1.2:
5462+
lodash.memoize@4.x:
54775463
version "4.1.2"
54785464
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
54795465
integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=
@@ -5503,11 +5489,6 @@ lodash.templatesettings@^4.0.0:
55035489
dependencies:
55045490
lodash._reinterpolate "^3.0.0"
55055491

5506-
lodash.unescape@4.0.1:
5507-
version "4.0.1"
5508-
resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c"
5509-
integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=
5510-
55115492
lodash.uniq@^4.5.0:
55125493
version "4.5.0"
55135494
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"

0 commit comments

Comments
 (0)
0