Browse Source

Add babel-runtime in dep, update polyfill to v7

master
Loëck Vézien 7 years ago
parent
commit
53b947ef3c
No known key found for this signature in database GPG Key ID: CBCDCE384E853AC4
  1. 3
      package.json
  2. 2
      src/main/bridge.js
  3. 2
      src/renderer/index.js
  4. 9
      yarn.lock

3
package.json

@ -51,6 +51,7 @@
"@ledgerhq/hw-transport-node-hid": "^4.7.6",
"@ledgerhq/wallet-common": "^0.13.2",
"axios": "^0.18.0",
"babel-runtime": "^6.26.0",
"bcryptjs": "^2.4.3",
"bitcoinjs-lib": "^3.3.2",
"bs58check": "^2.1.1",
@ -97,6 +98,7 @@
},
"devDependencies": {
"@babel/core": "7.0.0-beta.42",
"@babel/polyfill": "7.0.0-beta.42",
"@babel/preset-env": "7.0.0-beta.42",
"@babel/preset-flow": "7.0.0-beta.42",
"@babel/preset-react": "7.0.0-beta.42",
@ -113,7 +115,6 @@
"babel-loader": "^8.0.0-beta.2",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-styled-components": "^1.5.0",
"babel-polyfill": "^6.26.0",
"chalk": "^2.3.1",
"chance": "^1.0.13",
"concurrently": "^3.5.1",

2
src/main/bridge.js

@ -1,6 +1,6 @@
// @flow
import 'babel-polyfill'
import '@babel/polyfill'
import { fork } from 'child_process'
import { BrowserWindow, ipcMain } from 'electron'
import objectPath from 'object-path'

2
src/renderer/index.js

@ -1,4 +1,4 @@
require('babel-polyfill')
require('@babel/polyfill')
const Raven = require('raven-js')
require('../env')

9
yarn.lock

@ -734,6 +734,13 @@
"@babel/helper-regex" "7.0.0-beta.42"
regexpu-core "^4.1.3"
"@babel/polyfill@7.0.0-beta.42":
version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.0.0-beta.42.tgz#f7b0166370b4e0b407919bdf81ee4d0fcefbe77b"
dependencies:
core-js "^2.5.3"
regenerator-runtime "^0.11.1"
"@babel/preset-env@7.0.0-beta.42", "@babel/preset-env@^7.0.0-beta.42":
version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.0.0-beta.42.tgz#671e688057c010b22a7811b965f7da5d79c472d3"
@ -10563,7 +10570,7 @@ regenerator-runtime@^0.10.5:
version "0.10.5"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658"
regenerator-runtime@^0.11.0:
regenerator-runtime@^0.11.0, regenerator-runtime@^0.11.1:
version "0.11.1"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"

Loading…
Cancel
Save