diff --git a/package.json b/package.json index 963a0d9072..00c3fbbacd 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,6 @@ "eventemitter3": "^5.0.1", "fast-deep-equal": "^3.1.3", "fast-json-patch": "^3.1.1", - "fetch-ponyfill": "^7.1.0", "idb": "^7.1.1", "inputmask": "^5.0.8", "ismobilejs": "^1.1.1", diff --git a/src/utils/utils.js b/src/utils/utils.js index 82ad54566e..462d001359 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -1,7 +1,6 @@ /* global jQuery */ import _ from 'lodash'; -import fetchPonyfill from 'fetch-ponyfill'; import jsonLogic from 'json-logic-js'; import moment from 'moment-timezone/moment-timezone'; import jtz from 'jstimezonedetect'; @@ -11,9 +10,6 @@ import { getValue } from './formUtils'; import { Evaluator } from './Evaluator'; import ConditionOperators from './conditionOperators'; const interpolate = Evaluator.interpolate; -const { fetch } = fetchPonyfill({ - Promise: Promise -}); export * from './formUtils';