Skip to content

Commit 16c60a0

Browse files
authored
fix: URLSearchParams polyfill via core-js upgrade (outline#2059)
* fix: URLSearchParams polyfill via core-js upgrade * deduplicate * testing, remove manual imports * chore: bump rme
1 parent 1a183ba commit 16c60a0

File tree

4 files changed

+29
-72
lines changed

4 files changed

+29
-72
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@babel/preset-env",
77
{
88
"corejs": {
9-
"version": "2",
9+
"version": "3",
1010
"proposals": true
1111
},
1212
"useBuiltIns": "usage"

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
"@babel/plugin-proposal-decorators": "^7.10.5",
6969
"@babel/plugin-transform-destructuring": "^7.10.4",
7070
"@babel/plugin-transform-regenerator": "^7.10.4",
71-
"@babel/polyfill": "^7.10.4",
7271
"@babel/preset-env": "^7.11.0",
7372
"@babel/preset-flow": "^7.10.4",
7473
"@babel/preset-react": "^7.10.4",
@@ -92,7 +91,7 @@
9291
"chalk": "^4.1.0",
9392
"compressorjs": "^1.0.7",
9493
"copy-to-clipboard": "^3.0.6",
95-
"core-js": "2",
94+
"core-js": "^3.10.2",
9695
"date-fns": "1.29.0",
9796
"dd-trace": "^0.30.6",
9897
"debug": "^4.1.1",
@@ -137,7 +136,7 @@
137136
"mobx-react": "^6.2.5",
138137
"natural-sort": "^1.0.0",
139138
"nodemailer": "^4.4.0",
140-
"outline-icons": "^1.24.0",
139+
"outline-icons": "^1.25.1",
141140
"oy-vey": "^0.10.0",
142141
"passport": "^0.4.1",
143142
"passport-google-oauth2": "^0.2.0",
@@ -166,7 +165,8 @@
166165
"react-waypoint": "^9.0.2",
167166
"react-window": "^1.8.6",
168167
"reakit": "^1.3.6",
169-
"rich-markdown-editor": "^11.6.2",
168+
"regenerator-runtime": "^0.13.7",
169+
"rich-markdown-editor": "^11.6.7",
170170
"semver": "^7.3.2",
171171
"sequelize": "^6.3.4",
172172
"sequelize-cli": "^6.2.0",
@@ -225,9 +225,9 @@
225225
"workbox-webpack-plugin": "^6.1.0"
226226
},
227227
"resolutions": {
228-
"outline-icons": "1.24.0",
228+
"outline-icons": "1.25.1",
229229
"dot-prop": "^5.2.0",
230230
"js-yaml": "^3.13.1"
231231
},
232232
"version": "0.54.0"
233-
}
233+
}

server/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@babel/preset-env",
77
{
88
"corejs": {
9-
"version": "2",
9+
"version": "3",
1010
"proposals": true
1111
},
1212
"targets": {

yarn.lock

Lines changed: 21 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,13 @@
6767
jsesc "^2.5.1"
6868
source-map "^0.5.0"
6969

70-
"@babel/helper-annotate-as-pure@^7.0.0":
70+
"@babel/helper-annotate-as-pure@^7.0.0", "@babel/helper-annotate-as-pure@^7.10.4":
7171
version "7.12.13"
7272
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab"
7373
integrity sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw==
7474
dependencies:
7575
"@babel/types" "^7.12.13"
7676

77-
"@babel/helper-annotate-as-pure@^7.10.4":
78-
version "7.10.4"
79-
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3"
80-
integrity sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==
81-
dependencies:
82-
"@babel/types" "^7.10.4"
83-
8477
"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4":
8578
version "7.10.4"
8679
resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz#bb0b75f31bf98cbf9ff143c1ae578b87274ae1a3"
@@ -182,20 +175,13 @@
182175
dependencies:
183176
"@babel/types" "^7.12.1"
184177

185-
"@babel/helper-module-imports@^7.0.0":
178+
"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.0.0-beta.49", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1":
186179
version "7.13.12"
187180
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977"
188181
integrity sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==
189182
dependencies:
190183
"@babel/types" "^7.13.12"
191184

192-
"@babel/helper-module-imports@^7.0.0-beta.49", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1":
193-
version "7.12.13"
194-
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz#ec67e4404f41750463e455cc3203f6a32e93fcb0"
195-
integrity sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g==
196-
dependencies:
197-
"@babel/types" "^7.12.13"
198-
199185
"@babel/helper-module-transforms@^7.12.1":
200186
version "7.12.1"
201187
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz#7954fec71f5b32c48e4b303b437c34453fd7247c"
@@ -854,7 +840,7 @@
854840
"@babel/helper-create-regexp-features-plugin" "^7.12.1"
855841
"@babel/helper-plugin-utils" "^7.10.4"
856842

857-
"@babel/polyfill@^7.0.0", "@babel/polyfill@^7.10.4":
843+
"@babel/polyfill@^7.0.0":
858844
version "7.12.1"
859845
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96"
860846
integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==
@@ -1005,16 +991,7 @@
1005991
globals "^11.1.0"
1006992
lodash "^4.17.19"
1007993

1008-
"@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.12.1", "@babel/types@^7.12.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0":
1009-
version "7.12.13"
1010-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.13.tgz#8be1aa8f2c876da11a9cf650c0ecf656913ad611"
1011-
integrity sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ==
1012-
dependencies:
1013-
"@babel/helper-validator-identifier" "^7.12.11"
1014-
lodash "^4.17.19"
1015-
to-fast-properties "^2.0.0"
1016-
1017-
"@babel/types@^7.10.4", "@babel/types@^7.12.13", "@babel/types@^7.13.12":
994+
"@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.12.5", "@babel/types@^7.13.12", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0":
1018995
version "7.13.14"
1019996
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d"
1020997
integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==
@@ -2887,17 +2864,7 @@ babel-plugin-lodash@^3.3.4:
28872864
lodash "^4.17.10"
28882865
require-package-name "^2.0.1"
28892866

2890-
"babel-plugin-styled-components@>= 1":
2891-
version "1.11.1"
2892-
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.11.1.tgz#5296a9e557d736c3186be079fff27c6665d63d76"
2893-
integrity sha512-YwrInHyKUk1PU3avIRdiLyCpM++18Rs1NgyMXEAQC33rIXs/vro0A+stf4sT0Gf22Got+xRWB8Cm0tw+qkRzBA==
2894-
dependencies:
2895-
"@babel/helper-annotate-as-pure" "^7.0.0"
2896-
"@babel/helper-module-imports" "^7.0.0"
2897-
babel-plugin-syntax-jsx "^6.18.0"
2898-
lodash "^4.17.11"
2899-
2900-
babel-plugin-styled-components@^1.11.1:
2867+
"babel-plugin-styled-components@>= 1", babel-plugin-styled-components@^1.11.1:
29012868
version "1.12.0"
29022869
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.12.0.tgz#1dec1676512177de6b827211e9eda5a30db4f9b9"
29032870
integrity sha512-FEiD7l5ZABdJPpLssKXjBUJMYqzbcNzBowfXDCdJhOpbhWiewapUaY+LZGT8R4Jg2TwOjGjG4RKeyrO5p9sBkA==
@@ -4207,15 +4174,15 @@ core-js-pure@^3.0.0:
42074174
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.7.0.tgz#28a57c861d5698e053f0ff36905f7a3301b4191e"
42084175
integrity sha512-EZD2ckZysv8MMt4J6HSvS9K2GdtlZtdBncKAmF9lr2n0c9dJUaUN88PSTjvgwCgQPWKTkERXITgS6JJRAnljtg==
42094176

4210-
core-js@2, core-js@^2.4.0, core-js@^2.6.5:
4177+
core-js@^2.4.0, core-js@^2.6.5:
42114178
version "2.6.11"
42124179
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
42134180
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
42144181

4215-
core-js@^3.1.2, core-js@^3.1.4, core-js@^3.6.0, core-js@^3.6.4:
4216-
version "3.8.3"
4217-
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.8.3.tgz#c21906e1f14f3689f93abcc6e26883550dd92dd0"
4218-
integrity sha512-KPYXeVZYemC2TkNEkX/01I+7yd+nX3KddKwZ1Ww7SKWdI2wQprSgLmrTddT8nw92AjEklTsPBoSdQBhbI1bQ6Q==
4182+
core-js@^3.1.2, core-js@^3.1.4, core-js@^3.10.2, core-js@^3.6.0, core-js@^3.6.4:
4183+
version "3.10.2"
4184+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.10.2.tgz#17cb038ce084522a717d873b63f2b3ee532e2cd5"
4185+
integrity sha512-W+2oVYeNghuBr3yTzZFQ5rfmjZtYB/Ubg87R5YOmlGrIb+Uw9f7qjUbhsj+/EkXhcV7eOD3jiM4+sgraX3FZUw==
42194186

42204187
[email protected], core-util-is@~1.0.0:
42214188
version "1.0.2"
@@ -6484,12 +6451,7 @@ html-encoding-sniffer@^2.0.1:
64846451
dependencies:
64856452
whatwg-encoding "^1.0.5"
64866453

6487-
html-entities@^1.2.0:
6488-
version "1.3.1"
6489-
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.3.1.tgz#fb9a1a4b5b14c5daba82d3e34c6ae4fe701a0e44"
6490-
integrity sha512-rhE/4Z3hIhzHAUKbW8jVcCyuT5oJCXXqhN/6mXXVCpzTmvJnoH2HL/bt3EZ6p55jbFJBeAe1ZNpL5BugLujxNA==
6491-
6492-
html-entities@^1.2.1:
6454+
html-entities@^1.2.0, html-entities@^1.2.1:
64936455
version "1.4.0"
64946456
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc"
64956457
integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==
@@ -8627,12 +8589,7 @@ lodash.uniq@^4.5.0:
86278589
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
86288590
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
86298591

8630-
lodash@^4.0.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5:
8631-
version "4.17.20"
8632-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
8633-
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
8634-
8635-
lodash@^4.17.11:
8592+
lodash@^4.0.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5:
86368593
version "4.17.21"
86378594
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
86388595
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@@ -9617,10 +9574,10 @@ os-tmpdir@~1.0.2:
96179574
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
96189575
integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
96199576

9620-
outline-icons@1.24.0, outline-icons@^1.24.0, outline-icons@^1.25.1-1:
9621-
version "1.24.0"
9622-
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-1.24.0.tgz#d66c3fe036dec4440ef442c0a75ac0ace7fa09ec"
9623-
integrity sha512-B+3f4rKHTr70OVUcfY6G7wtBRDppq1/X2hmraF0Qa+/c8nbi8U+W0xj6wj1Sm2lgrPgiOot77lxBIsKEemGgRQ==
9577+
outline-icons@1.25.1, outline-icons@^1.25.1, outline-icons@^1.25.1-1:
9578+
version "1.25.1"
9579+
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-1.25.1.tgz#9c935aeb2ff0c38ca02a007a18fc271c77a1185c"
9580+
integrity sha512-zmMgW5gnuf7ujkyiC4T4PF3cgb/x4LRGQcs9+MvXyHsuMFJfBgCyKKP8QcKfBRG/tXVeng3h2eMQr9EJcg0SNA==
96249581

96259582
oy-vey@^0.10.0:
96269583
version "0.10.0"
@@ -11110,7 +11067,7 @@ regenerator-runtime@^0.11.0:
1111011067
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
1111111068
integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==
1111211069

11113-
regenerator-runtime@^0.13.3, regenerator-runtime@^0.13.4:
11070+
regenerator-runtime@^0.13.3, regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7:
1111411071
version "0.13.7"
1111511072
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55"
1111611073
integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==
@@ -11404,10 +11361,10 @@ retry-as-promised@^3.2.0:
1140411361
dependencies:
1140511362
any-promise "^1.3.0"
1140611363

11407-
rich-markdown-editor@^11.6.2:
11408-
version "11.6.2"
11409-
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.6.2.tgz#4d005bcd2cf56635ac77a8f0430316331ace39a5"
11410-
integrity sha512-21nIQdrKlFTcdYeTULYpJJFwB6VQPCfr81lObCqUNwAymUXB3R71sw+Iry5Lu+erLqAR9FfPxc3LecefJbKDqg==
11364+
rich-markdown-editor@^11.6.7:
11365+
version "11.6.7"
11366+
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.6.7.tgz#8860a8acae05e7e9e27c7c10f49c71a382df44df"
11367+
integrity sha512-0u7DUD6xFhPh7r2I2LEHNYtL3opiRmZvIXLxGf1vLx1BBjZdYqKDAMeGEv2LLp1LlKZKrdb/Kbx9je5wkIDGpA==
1141111368
dependencies:
1141211369
copy-to-clipboard "^3.0.8"
1141311370
lodash "^4.17.11"

0 commit comments

Comments
 (0)