Skip to content

Commit 43bca6f

Browse files
authored
Merge pull request #56 from theodo/remove-deprecation-warning
Remove deprecation warning on front build
2 parents b194cbf + c69e408 commit 43bca6f

3 files changed

Lines changed: 15 additions & 8 deletions

File tree

frontend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"@types/redux-mock-store": "^1.0.1",
1212
"babel-polyfill": "6.26.0",
1313
"connected-react-router": "5.0.1",
14+
"core-js": "^3.3.3",
1415
"dayjs": "^1.8.8",
1516
"env-cmd": "8.0.2",
1617
"formik": "1.3.2",
@@ -136,7 +137,7 @@
136137
"tslint": "^5.18.0",
137138
"tslint-config-prettier": "^1.17.0",
138139
"tslint-react": "^3.6.0",
139-
"typescript": "^3.2.2",
140+
"typescript": "~3.4.0",
140141
"webpack-manifest-plugin": "^2.0.4"
141142
}
142143
}

frontend/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import 'babel-polyfill';
1+
import "core-js/stable";
2+
import "regenerator-runtime/runtime";
3+
24
import dayjs from 'dayjs';
35
import 'dayjs/locale/fr';
46
import relativeTime from 'dayjs/plugin/relativeTime';

frontend/yarn.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,8 +2673,6 @@ classnames@^2.2.3, classnames@^2.2.5:
26732673
clean-css@4.2.x:
26742674
version "4.2.1"
26752675
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.1.tgz#2d411ef76b8569b6d0c84068dabe85b0aa5e5c17"
2676-
dependencies:
2677-
source-map "~0.6.0"
26782676

26792677
cli-cursor@^1.0.2:
26802678
version "1.0.2"
@@ -2985,6 +2983,11 @@ core-js@^3.1.4:
29852983
version "3.1.4"
29862984
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.1.4.tgz#3a2837fc48e582e1ae25907afcd6cf03b0cc7a07"
29872985

2986+
core-js@^3.3.3:
2987+
version "3.3.3"
2988+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.3.3.tgz#b7048d3c6c1a52b5fe55a729c1d4ccdffe0891bb"
2989+
integrity sha512-0xmD4vUJRY8nfLyV9zcpC17FtSie5STXzw+HyYw2t8IIvmDnbq7RJUULECCo+NstpJtwK9kx8S+898iyqgeUow==
2990+
29882991
core-util-is@1.0.2, core-util-is@~1.0.0:
29892992
version "1.0.2"
29902993
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
@@ -10089,7 +10092,7 @@ source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7:
1008910092
version "0.5.7"
1009010093
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
1009110094

10092-
source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
10095+
source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:
1009310096
version "0.6.1"
1009410097
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
1009510098

@@ -10911,9 +10914,10 @@ typesafe-actions@^3.0.0:
1091110914
version "3.4.0"
1091210915
resolved "https://registry.yarnpkg.com/typesafe-actions/-/typesafe-actions-3.4.0.tgz#cdf925941eafc75a659ebc2d584b673b86a1a5ab"
1091310916

10914-
typescript@^3.2.2:
10915-
version "3.5.2"
10916-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.2.tgz#a09e1dc69bc9551cadf17dba10ee42cf55e5d56c"
10917+
typescript@~3.4.0:
10918+
version "3.4.5"
10919+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99"
10920+
integrity sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw==
1091710921

1091810922
ua-parser-js@^0.7.18:
1091910923
version "0.7.20"

0 commit comments

Comments
 (0)