From 1a75b029cd576b3613feccf8b03e979a4167c81d Mon Sep 17 00:00:00 2001 From: barslev Date: Wed, 18 Mar 2020 19:04:42 +0100 Subject: [PATCH] Updates core-js to version 3. --- package.json | 2 +- src/Entity.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6749526..f8e5d2d 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "sinon": "^4.0.1" }, "dependencies": { - "core-js": "^2.5.1", + "core-js": "^3.0.0", "lodash": "^4.17.4", "sert-schema": "^0.1.3" } diff --git a/src/Entity.js b/src/Entity.js index 88be1c7..7c12815 100644 --- a/src/Entity.js +++ b/src/Entity.js @@ -1,5 +1,5 @@ -import 'core-js/fn/array/is-array'; -import 'core-js/fn/object/entries'; +import 'core-js/features/array/is-array'; +import 'core-js/features/object/entries'; import _ from 'lodash/fp'; import Sert from 'sert-schema';