on master help sign in
fix: revert to normal lodash
commitbe37331db7566d3ad01dade2e36f23f6a5a890f7 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateWed 12 Jun 2019, 15:38 (7 years ago) parent795e055
13 files changed+12−17
package-lock.json−5 package.json+1−1 src/Root.js+1−1 src/bridge/Bridge.js+1−1 src/bridge/components/PointList.js+1−1 src/bridge/components/ReactSVGComponents.js+1−1 src/bridge/components/Spacing.js+1−1 src/bridge/lib/wallet.js+1−1 src/bridge/store/history.js+1−1 src/walletgen/Walletgen.js+1−1 src/walletgen/components/ReactSVGComponents.js+1−1 src/walletgen/lib/lib.js+1−1 src/walletgen/views/Download.js+1−1
package-lock.json−5
@@ -11283,11 +11283,6 @@
1128311283 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
1128411284 "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
1128511285 },
11286− "lodash-es": {
11287− "version": "4.17.11",
11288− "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.11.tgz",
11289− "integrity": "sha512-DHb1ub+rMjjrxqlB3H56/6MXtm1lSksDp2rA2cNWjG8mlDUYFhUj3Di2Zn5IwSU87xLv8tNIQ7sSwE/YOX/D/Q=="
11290− },
1129111286 "lodash._reinterpolate": {
1129211287 "version": "3.0.0",
1129311288 "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
package.json+1−1
@@ -31,7 +31,7 @@
3131 "jszip": "^3.1.5",
3232 "keccak": "^1.4.0",
3333 "keythereum": "^1.0.4",
34− "lodash-es": "^4.17.11",
34+ "lodash": "^4.17.11",
3535 "more-entropy": "^0.0.7",
3636 "prop-types": "^15.6.2",
3737 "react": "^16.8.6",
src/Root.js+1−1
@@ -1,5 +1,5 @@
11import React from 'react';
2−import { get } from 'lodash-es';
2+import { get } from 'lodash';
33
44import Bridge from './bridge/Bridge';
55import Walletgen from './walletgen/Walletgen';
src/bridge/Bridge.js+1−1
@@ -1,6 +1,6 @@
11import React from 'react';
22import { Just, Nothing } from 'folktale/maybe';
3−import { includes } from 'lodash-es';
3+import { includes } from 'lodash';
44
55import Footer from './components/Footer';
66import Header from './components/Header';
src/bridge/components/PointList.js+1−1
@@ -1,5 +1,5 @@
11import React from 'react';
2−import { chunk } from 'lodash-es';
2+import { chunk } from 'lodash';
33
44import { Row } from './Base';
55import RenderedPoint from './RenderedPoint';
src/bridge/components/ReactSVGComponents.js+1−1
@@ -1,5 +1,5 @@
11import React from 'react';
2−import { get, map } from 'lodash-es';
2+import { get, map } from 'lodash';
33
44const ReactSVGComponents = {
55 svg: (p, key) => {
src/bridge/components/Spacing.js+1−1
@@ -1,6 +1,6 @@
11import React from 'react';
22import PropTypes from 'prop-types';
3−import { isUndefined } from 'lodash-es';
3+import { isUndefined } from 'lodash';
44
55const Spacing = ({ className, children, h, w }) => {
66 const h_cn = isUndefined(h) ? '' : `mt-${h}`;
src/bridge/lib/wallet.js+1−1
@@ -1,7 +1,7 @@
11import * as bip32 from 'bip32';
22import * as bip39 from 'bip39';
33import keccak from 'keccak';
4−import { reduce } from 'lodash-es';
4+import { reduce } from 'lodash';
55import Maybe from 'folktale/maybe';
66import * as secp256k1 from 'secp256k1';
77import * as ob from 'urbit-ob';
src/bridge/store/history.js+1−1
@@ -5,7 +5,7 @@ import React, {
55 useState,
66 useEffect,
77} from 'react';
8−import { last, includes } from 'lodash-es';
8+import { last, includes } from 'lodash';
99
1010import { BRIDGE_ERROR } from '../lib/error';
1111import { ROUTE_NAMES } from '../lib/routeNames';
src/walletgen/Walletgen.js+1−1
@@ -1,5 +1,5 @@
11import React from 'react';
2−import { find } from 'lodash-es';
2+import { find } from 'lodash';
33
44import Header from './components/Header';
55import Footer from './components/Footer';
src/walletgen/components/ReactSVGComponents.js+1−1
@@ -1,5 +1,5 @@
11import React from 'react';
2−import { get, map } from 'lodash-es';
2+import { get, map } from 'lodash';
33
44const ReactSVGComponents = {
55 svg: p => {
src/walletgen/lib/lib.js+1−1
@@ -1,7 +1,7 @@
11import * as ob from 'urbit-ob';
22import * as kg from 'urbit-key-generation/dist/index';
33import * as more from 'more-entropy';
4−import { chunk, flatMap, zipWith } from 'lodash-es';
4+import { chunk, flatMap, zipWith } from 'lodash';
55import {
66 MIN_STAR,
77 MIN_PLANET,
src/walletgen/views/Download.js+1−1
@@ -1,6 +1,6 @@
11import React from 'react';
22import saveAs from 'file-saver';
3−import { get } from 'lodash-es';
3+import { get } from 'lodash';
44import JSZip from 'jszip';
55
66import Button from '../components/Button';