From e1447f2c60b54f4ba2594873c85683d2975c240f Mon Sep 17 00:00:00 2001 From: Han Date: Wed, 25 Mar 2020 14:43:30 +0800 Subject: [PATCH] fix(deps): update babel (#150) * chore(deps): update babel * test: update snapshot --- .travis.yml | 3 ++- template/framework-base/_package.json | 2 +- test/snapshots/index.test.js.md | 4 ++-- test/snapshots/index.test.js.snap | Bin 3785 -> 3787 bytes 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e0c7ea8..25393b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,9 @@ install: script: - yarn test - yarn generate + - yarn build # https://stackoverflow.com/questions/37544306/travis-different-script-for-different-branch - - test "$TRAVIS_BRANCH" = "dev" && yarn build && ./lhci.sh || echo skip + - test "$TRAVIS_BRANCH" = "dev" && ./lhci.sh || echo skip - test "$TRAVIS_BRANCH" = "master" && yarn zip || echo skip addons: chrome: stable diff --git a/template/framework-base/_package.json b/template/framework-base/_package.json index 5c30576..c41b024 100644 --- a/template/framework-base/_package.json +++ b/template/framework-base/_package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "@babel/core": "7.8.3", - "@babel/preset-env": "7.8.3", + "@babel/preset-env": "7.8.7", "@babel/plugin-proposal-optional-chaining": "7.8.3", "@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3", "@commitlint/cli": "8.2.0", diff --git a/test/snapshots/index.test.js.md b/test/snapshots/index.test.js.md index b21216f..07a585a 100644 --- a/test/snapshots/index.test.js.md +++ b/test/snapshots/index.test.js.md @@ -119,7 +119,7 @@ Generated by [AVA](https://ava.li). '@babel/core': '7.8.3', '@babel/plugin-proposal-nullish-coalescing-operator': '7.8.3', '@babel/plugin-proposal-optional-chaining': '7.8.3', - '@babel/preset-env': '7.8.3', + '@babel/preset-env': '7.8.7', '@commitlint/cli': '8.2.0', '@commitlint/config-conventional': '8.2.0', 'babel-eslint': '8.2.6', @@ -294,7 +294,7 @@ Generated by [AVA](https://ava.li). '@babel/core': '7.8.3', '@babel/plugin-proposal-nullish-coalescing-operator': '7.8.3', '@babel/plugin-proposal-optional-chaining': '7.8.3', - '@babel/preset-env': '7.8.3', + '@babel/preset-env': '7.8.7', '@commitlint/cli': '8.2.0', '@commitlint/config-conventional': '8.2.0', 'babel-eslint': '8.2.6', diff --git a/test/snapshots/index.test.js.snap b/test/snapshots/index.test.js.snap index 0e498a35ace107524e0b7324156b24eaaa3162b8..5259205450d4fa2b0f14737cf9ff0533bee58871 100644 GIT binary patch delta 3727 zcmV;A4sh|w9m^eEK~_N^Q*L2!b7*gLAa*he0sxCnRT%&>rFlKre7*qrKAs59)kdhzZ1+Vbk%X(ZeW0i!5L6n&vAX=e{xU+4}fRE8z2_uxIN%T@E~{&ya_r{ z%Z%rsd@@+m1^%*t+hJ&{)v6{_5DDNV^` z>2e#~w3c{I6AeQWwNh&uOV!nlqAc1qc2k?&)TYC`w(mT+E1pfeNzHE3!jziLqQ1x& zw?jeHtHle}tnMYMiklqqnylpK1G2Yzf3?dAsW~AdQn}mQ)Q+608!27)7troXqPmvq z7jja+q@=}pLJ@Tp7q|*dL~&-v771C0D_i8sbWtlvDe-`$8-%XY3yY=GbtfU&8dp01T|xctL$Qw0tTp<#m9Id?~TKy<rcSWnFkMoZ{6l+!UW@1{n54$DYD zID1@CXGxS2G%Aw4R3mInMpe@~pT-jSkuS(RwT9WEe{7Ld#Hntu z6{=>=64_jx2xULjuQ@r7X9WaffDVQu!>UI_H9@U(o@QQB$tf{N^^vQZmShY#Qa405 z!O@i_Zb`X`j+vt@2$X1;s+?{JhLrL*bA+m#qnZ{9)(VRsu5Ofiq@!b(;W0*}22F!; zDzLVQ-H|p^n!F*&x=*vke`}v1Vg+&IY5qc}wtC~$Qe{NrFy^tS?GSX))eYF6Q{u?U=U1!Y{)rDg{P9UV#+X&QqIR{G|GiqxljuiY72#KgV3!< zgE@m$O}7%hLL@|zntBX7s%{QgEA^*jYFf;Rh=7ukL_6XFdqNCf*(0h;0 zX;MKjMCiB5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