Skip to content

Commit 6adf773

Browse files
authored
[no-ticket] change lodash for lodash.merge (#7)
1 parent 98b33a6 commit 6adf773

File tree

3 files changed

+29
-21
lines changed

3 files changed

+29
-21
lines changed

package-lock.json

Lines changed: 24 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-observers",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "ESLint plugin for preventing memory leaks around observers (ResizeObserver, IntersectionObserver, MutationObserver)",
55
"main": "lib/index.js",
66
"scripts": {
@@ -29,17 +29,18 @@
2929
"url": "https://github.com/gquinteros93/eslint-plugin-observers/issues"
3030
},
3131
"homepage": "https://github.com/gquinteros93/eslint-plugin-observers",
32-
"private": true,
32+
"private": false,
3333
"peerDependencies": {
3434
"eslint": ">=0.8.0"
3535
},
3636
"dependencies": {
37-
"lodash": "4.17.21"
37+
"lodash.merge": "4.6.2"
3838
},
3939
"devDependencies": {
4040
"@types/eslint": "^6.8.1",
4141
"@types/estree": "0.0.39",
4242
"@types/lodash": "4.14.179",
43+
"@types/lodash.merge": "^4.6.7",
4344
"@types/node": "^14.0.12",
4445
"@typescript-eslint/eslint-plugin": "^5.54.1",
4546
"@typescript-eslint/parser": "^5.54.1",

src/rules/observers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
getDescription,
1818
isNewExpression,
1919
} from '../utils'
20-
import merge = require('lodash/merge');
20+
import merge = require('lodash.merge')
2121

2222
enum ObserversTypes {
2323
MutationObserver = 'MutationObserver',

0 commit comments

Comments
 (0)