Skip to content

Commit 9fe778b

Browse files
authored
Merge pull request #276 from conveyal/dev
Patch release
2 parents ac2b279 + 0a8fec1 commit 9fe778b

File tree

5 files changed

+31
-16
lines changed

5 files changed

+31
-16
lines changed

__tests__/lib/build.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
// @flow
2-
2+
// Polyfills to support IE, etc.
3+
// Note: I attempted to update to core-js@3, but ran into issues about ES6
4+
// imports. core-js@2 does not have core-js/stable, which is why we're importing
5+
// the root.
6+
// $FlowFixMe - import required for babel polyfill, see https://babeljs.io/docs/en/babel-polyfill
7+
import 'core-js'
8+
// $FlowFixMe - import required for babel polyfill, see https://babeljs.io/docs/en/babel-polyfill
9+
import 'regenerator-runtime/runtime'
10+
// Imports for test
311
const build = require('../../lib/build')
412
const loadConfig = require('../../lib/load-config')
513
const util = require('../test-utils/util.js')

__tests__/test-utils/mocks/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, {Component} from 'react'
1+
import React, { Component } from 'react'
22
import uuid from 'uuid'
33

44
import png from '../../../mastarm.png'

lib/babel-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = function (env, instrument) {
3131
{
3232
loose: false, // Loose mode breaks spread operator on `Set`s
3333
targets: { browsers },
34-
useBuiltIns: 'usage'
34+
useBuiltIns: 'entry'
3535
}
3636
],
3737
flow,

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"commander": "^2.19.0",
7171
"commitizen": "^3.0.7",
7272
"concat-stream": "^2.0.0",
73+
"core-js": "2",
7374
"cssnano": "^4.1.10",
7475
"cz-conventional-changelog": "^2.1.0",
7576
"envify": "^4.1.0",
@@ -105,6 +106,7 @@
105106
"prettier-eslint-cli": "^4.7.1",
106107
"rimraf": "^2.6.3",
107108
"slack-node": "^0.1.8",
109+
"sshpk": "^1.16.1",
108110
"this-commit": "^1.0.0",
109111
"through2": "^3.0.1",
110112
"uglifyify": "^5.0.1",

yarn.lock

+18-13
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,11 @@ copy-descriptor@^0.1.0:
25182518
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
25192519
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
25202520

2521+
core-js@2:
2522+
version "2.6.9"
2523+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
2524+
integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==
2525+
25212526
core-js@^2.4.0, core-js@^2.5.7:
25222527
version "2.6.5"
25232528
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895"
@@ -5988,7 +5993,7 @@ lodash._createset@~4.0.0:
59885993
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
59895994
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
59905995

5991-
lodash._reinterpolate@~3.0.0:
5996+
lodash._reinterpolate@^3.0.0:
59925997
version "3.0.0"
59935998
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
59945999
integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=
@@ -6044,9 +6049,9 @@ lodash.memoize@~3.0.3:
60446049
integrity sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=
60456050

60466051
lodash.merge@^4.6.0:
6047-
version "4.6.1"
6048-
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54"
6049-
integrity sha512-AOYza4+Hf5z1/0Hztxpm2/xiPZgi/cjMqdnKTUWTBSKchJlxXXuUSxCCl8rJlf4g6yww/j6mA8nC8Hw/EZWxKQ==
6052+
version "4.6.2"
6053+
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
6054+
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
60506055

60516056
lodash.set@^4.3.2:
60526057
version "4.3.2"
@@ -6059,19 +6064,19 @@ lodash.sortby@^4.7.0:
60596064
integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=
60606065

60616066
lodash.template@^4.2.4:
6062-
version "4.4.0"
6063-
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0"
6064-
integrity sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=
6067+
version "4.5.0"
6068+
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab"
6069+
integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==
60656070
dependencies:
6066-
lodash._reinterpolate "~3.0.0"
6071+
lodash._reinterpolate "^3.0.0"
60676072
lodash.templatesettings "^4.0.0"
60686073

60696074
lodash.templatesettings@^4.0.0:
6070-
version "4.1.0"
6071-
resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz#2b4d4e95ba440d915ff08bc899e4553666713316"
6072-
integrity sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=
6075+
version "4.2.0"
6076+
resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33"
6077+
integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==
60736078
dependencies:
6074-
lodash._reinterpolate "~3.0.0"
6079+
lodash._reinterpolate "^3.0.0"
60756080

60766081
lodash.toarray@^4.4.0:
60776082
version "4.4.0"
@@ -9642,7 +9647,7 @@ sprintf-js@~1.0.2:
96429647
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
96439648
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
96449649

9645-
sshpk@^1.7.0:
9650+
sshpk@^1.16.1, sshpk@^1.7.0:
96469651
version "1.16.1"
96479652
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
96489653
integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==

0 commit comments

Comments
 (0)