Browse Source

chore(deps): update react packages to v16.x

Update react and related dependencies to the latest 16.x versions.
renovate/lint-staged-8.x
Tom Kirkpatrick 7 years ago
parent
commit
4b98b5a1fc
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 47
      package.json
  2. 5
      test/components/AnimatedCheckmark.spec.js
  3. 5
      test/components/CryptoIcon.spec.js
  4. 5
      test/components/CurrencyIcon.spec.js
  5. 5
      test/components/Form.spec.js
  6. 5
      test/components/Form/Pay.spec.js
  7. 5
      test/components/Form/Request.spec.js
  8. 6
      test/components/LoadingBolt.spec.js
  9. 1406
      yarn.lock

47
package.json

@ -217,8 +217,9 @@
"electron-builder": "^20.26.0",
"electron-devtools-installer": "^2.2.4",
"electron-updater": "^3.0.3",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.0.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^2.9.0",
@ -229,31 +230,31 @@
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.17.0",
"eslint-plugin-json": "^1.2.1",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-prettier": "^2.6.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.10.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"fbjs-scripts": "^0.8.0",
"fbjs-scripts": "^0.8.3",
"file-loader": "^1.1.11",
"flow-bin": "^0.77.0",
"flow-bin": "^0.78.0",
"flow-runtime": "^0.17.0",
"flow-typed": "^2.5.1",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.18.0",
"husky": "^1.0.0-rc.9",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.1.0",
"jsdom": "^11.0.0",
"jest": "^23.4.2",
"jsdom": "^11.12.0",
"koa-connect": "^2.0.1",
"lint-staged": "^7.2.0",
"lnd-binary": "^0.3.4",
"minimist": "^1.2.0",
"node-sass": "^4.9.0",
"prettier": "^1.13.5",
"react-addons-test-utils": "^15.6.0",
"react-test-renderer": "^15.6.1",
"react-addons-test-utils": "^15.6.2",
"react-test-renderer": "^16.4.2",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.3",
@ -281,26 +282,26 @@
"electron-is-dev": "^0.3.0",
"electron-store": "^2.0.0",
"font-awesome": "^4.7.0",
"history": "^4.6.3",
"history": "^4.7.2",
"javascript-state-machine": "^3.1.0",
"lodash.get": "^4.4.2",
"moment": "^2.22.2",
"prop-types": "^15.5.10",
"prop-types": "^15.6.2",
"ps-node": "^0.1.6",
"qrcode.react": "0.8.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-hot-loader": "3.0.0-beta.6",
"react-inlinesvg": "^0.6.2",
"react-modal": "^2.2.2",
"react-moment": "^0.6.0",
"react-redux": "^5.0.5",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"react-router-redux": "^5.0.0-alpha.6",
"redux": "^3.7.1",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-hot-loader": "^4.3.4",
"react-inlinesvg": "^0.8.1",
"react-modal": "^3.5.1",
"react-moment": "^0.7.9",
"react-redux": "^5.0.7",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-router-redux": "^5.0.0-alpha.9",
"redux": "^4.0.0",
"redux-electron-ipc": "^1.1.13",
"redux-thunk": "^2.2.0",
"redux-thunk": "^2.3.0",
"reselect": "^3.0.1",
"satoshi-bitcoin": "^1.0.4",
"source-map-support": "^0.5.6",

5
test/components/AnimatedCheckmark.spec.js

@ -1,10 +1,13 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Isvg from 'react-inlinesvg'
import AnimatedCheckmark from '../../app/components/AnimatedCheckmark'
import checkmarkIcon from '../../app/components/AnimatedCheckmark/checkmark.svg'
configure({ adapter: new Adapter() })
describe('component.AnimatedCheckmark', () => {
describe('default', () => {
it('should render default component', () => {

5
test/components/CryptoIcon.spec.js

@ -1,11 +1,14 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Isvg from 'react-inlinesvg'
import CryptoIcon from '../../app/components/CryptoIcon'
import skinnyBitcoinIcon from '../../app/icons/skinny_bitcoin.svg'
import litecoinIcon from '../../app/icons/litecoin.svg'
configure({ adapter: new Adapter() })
const defaultProps = {
currency: 'bch',
styles: {}

5
test/components/CurrencyIcon.spec.js

@ -1,9 +1,12 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import FaDollar from 'react-icons/lib/fa/dollar'
import CryptoIcon from '../../app/components/CryptoIcon'
import CurrencyIcon from '../../app/components/CurrencyIcon'
configure({ adapter: new Adapter() })
const defaultProps = {
currency: '',
crypto: '',

5
test/components/Form.spec.js

@ -1,10 +1,13 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Form from '../../app/components/Form'
import Pay from '../../app/components/Form/Pay'
import Request from '../../app/components/Form/Request'
configure({ adapter: new Adapter() })
const payFormProps = {
payform: {
amount: 0,

5
test/components/Form/Pay.spec.js

@ -1,8 +1,11 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Pay from '../../../app/components/Form/Pay'
configure({ adapter: new Adapter() })
const defaultProps = {
payform: {
amount: 0,

5
test/components/Form/Request.spec.js

@ -1,8 +1,11 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Request from '../../../app/components/Form/Request'
configure({ adapter: new Adapter() })
const defaultProps = {
requestform: {},
ticker: {},

6
test/components/LoadingBolt.spec.js

@ -1,9 +1,13 @@
import React from 'react'
import { shallow } from 'enzyme'
import { configure, shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Isvg from 'react-inlinesvg'
import LoadingBolt from '../../app/components/LoadingBolt'
import cloudboltIcon from '../../app/icons/cloudbolt.svg'
configure({ adapter: new Adapter() })
describe('component.LoadingBolt', () => {
const el = shallow(<LoadingBolt />)
it('should show defaults', () => {

1406
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save