Skip to content

Commit 0a6afec

Browse files
author
Eduardo Campaña
committed
fix(lodash): removes lodash-es and installs lodash
fixes frontity/frontity#63
1 parent 98b699a commit 0a6afec

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"fastdom": "^1.0.8",
32-
"lodash-es": "^4.17.11"
32+
"lodash": "^4.17.11"
3333
},
3434
"devDependencies": {
3535
"@commitlint/cli": "^7.1.2",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable react/jsx-filename-extension */
22
import React, { Children, Component } from 'react';
33
import PropTypes from 'prop-types';
4-
import { debounce, throttle } from 'lodash-es';
4+
import { debounce, throttle } from 'lodash';
55
import inViewport from './utils/inViewport';
66

77
export default class LazyFastdom extends Component {

0 commit comments

Comments
 (0)