Skip to content

Commit

Permalink
fix: revert to normal lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
shrugs committed Jun 12, 2019
1 parent e9170e5 commit 0e75cbc
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 17 deletions.
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"jszip": "^3.1.5",
"keccak": "^1.4.0",
"keythereum": "^1.0.4",
"lodash-es": "^4.17.11",
"lodash": "^4.17.11",
"more-entropy": "^0.0.7",
"prop-types": "^15.6.2",
"react": "^16.8.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Root.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { get } from 'lodash-es';
import { get } from 'lodash';

import Bridge from './bridge/Bridge';
import Walletgen from './walletgen/Walletgen';
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/Bridge.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Just, Nothing } from 'folktale/maybe';
import { includes } from 'lodash-es';
import { includes } from 'lodash';

import Footer from './components/Footer';
import Header from './components/Header';
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/components/PointList.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { chunk } from 'lodash-es';
import { chunk } from 'lodash';

import { Row } from './Base';
import RenderedPoint from './RenderedPoint';
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/components/ReactSVGComponents.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { get, map } from 'lodash-es';
import { get, map } from 'lodash';

const ReactSVGComponents = {
svg: (p, key) => {
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/components/Spacing.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { isUndefined } from 'lodash-es';
import { isUndefined } from 'lodash';

const Spacing = ({ className, children, h, w }) => {
const h_cn = isUndefined(h) ? '' : `mt-${h}`;
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/lib/wallet.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as bip32 from 'bip32';
import * as bip39 from 'bip39';
import keccak from 'keccak';
import { reduce } from 'lodash-es';
import { reduce } from 'lodash';
import Maybe from 'folktale/maybe';
import * as secp256k1 from 'secp256k1';
import * as ob from 'urbit-ob';
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/store/history.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { forwardRef, useContext, useState, useEffect } from 'react';
import { last, includes } from 'lodash-es';
import { last, includes } from 'lodash';

import { BRIDGE_ERROR } from '../lib/error';
import { ROUTE_NAMES } from '../lib/routeNames';
Expand Down
2 changes: 1 addition & 1 deletion src/walletgen/Walletgen.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { find } from 'lodash-es';
import { find } from 'lodash';

import Header from './components/Header';
import Footer from './components/Footer';
Expand Down
2 changes: 1 addition & 1 deletion src/walletgen/components/ReactSVGComponents.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { get, map } from 'lodash-es';
import { get, map } from 'lodash';

const ReactSVGComponents = {
svg: p => {
Expand Down
2 changes: 1 addition & 1 deletion src/walletgen/lib/lib.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as ob from 'urbit-ob';
import * as kg from 'urbit-key-generation/dist/index';
import * as more from 'more-entropy';
import { chunk, flatMap, zipWith } from 'lodash-es';
import { chunk, flatMap, zipWith } from 'lodash';
import {
MIN_STAR,
MIN_PLANET,
Expand Down
2 changes: 1 addition & 1 deletion src/walletgen/views/Download.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import saveAs from 'file-saver';
import { get } from 'lodash-es';
import { get } from 'lodash';
import JSZip from 'jszip';

import Button from '../components/Button';
Expand Down

0 comments on commit 0e75cbc

Please sign in to comment.