summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-18 15:48:42 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-18 15:50:24 +0100
commit0987e7661d0216ff3b9943dcf5e9533029bb9afe (patch)
treeb47d581d95d5c3401389a0a75abac614ad216d6b
parent3bb3320a49b5396479cf13ce9447f9c4b6ac09d8 (diff)
downloadgitlab-ce-0987e7661d0216ff3b9943dcf5e9533029bb9afe.tar.gz
Remove es6-map and es6-set infavour of existing core-js
-rw-r--r--app/assets/javascripts/test_utils/index.js4
-rw-r--r--package.json2
-rw-r--r--yarn.lock4
3 files changed, 4 insertions, 6 deletions
diff --git a/app/assets/javascripts/test_utils/index.js b/app/assets/javascripts/test_utils/index.js
index 6f9c744b20f..8875590f0f2 100644
--- a/app/assets/javascripts/test_utils/index.js
+++ b/app/assets/javascripts/test_utils/index.js
@@ -1,5 +1,5 @@
-import 'es6-map/implement';
-import 'es6-set/implement';
+import 'core-js/es6/map';
+import 'core-js/es6/set';
import simulateDrag from './simulate_drag';
// Export to global space for rspec to use
diff --git a/package.json b/package.json
index 63148b3d5a9..16497ba0ea5 100644
--- a/package.json
+++ b/package.json
@@ -28,8 +28,6 @@
"document-register-element": "^1.3.0",
"dropzone": "^4.2.0",
"emoji-unicode-version": "^0.2.1",
- "es6-map": "^0.1.5",
- "es6-set": "^0.1.5",
"eslint-plugin-html": "^2.0.1",
"exports-loader": "^0.6.4",
"file-loader": "^0.11.1",
diff --git a/yarn.lock b/yarn.lock
index e24d65150ca..fc94fa2f3fa 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1887,7 +1887,7 @@ es6-iterator@2, es6-iterator@~2.0.1:
es5-ext "^0.10.14"
es6-symbol "^3.1"
-es6-map@^0.1.3, es6-map@^0.1.5:
+es6-map@^0.1.3:
version "0.1.5"
resolved "https://registry.yarnpkg.com/es6-map/-/es6-map-0.1.5.tgz#9136e0503dcc06a301690f0bb14ff4e364e949f0"
dependencies:
@@ -1902,7 +1902,7 @@ es6-promise@^3.0.2, es6-promise@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.0.2.tgz#010d5858423a5f118979665f46486a95c6ee2bb6"
-es6-set@^0.1.5, es6-set@~0.1.5:
+es6-set@~0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/es6-set/-/es6-set-0.1.5.tgz#d2b3ec5d4d800ced818db538d28974db0a73ccb1"
dependencies: