From 18bf73d6c65b86119f659c6d30509114d8e1a849 Mon Sep 17 00:00:00 2001 From: Travis Tidwell Date: Wed, 10 Jul 2024 08:34:45 -0500 Subject: [PATCH] Removing fetch ponyfill since it is no longer needed. --- package.json | 1 - src/utils/utils.js | 4 ---- 2 files changed, 5 deletions(-) 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';