Merge pull request #36323 from openedx/feanil/drop-whatwg-fetch

build: Drop the `whatwg-fetch` polyfill.
This commit is contained in:
Feanil Patel
2025-03-05 10:11:06 -05:00
committed by GitHub
7 changed files with 0 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
import Cookies from 'js-cookie';
import 'whatwg-fetch';
const COURSE_BLOCKS_API = '/api/courses/v1/blocks/';

View File

@@ -1,4 +1,3 @@
import 'whatwg-fetch';
import Cookies from 'js-cookie';
const HEADERS = {

View File

@@ -1,4 +1,3 @@
import 'whatwg-fetch';
import Cookies from 'js-cookie';
import { entitlementApi } from './endpoints';

View File

@@ -1,4 +1,3 @@
import 'whatwg-fetch';
import Cookies from 'js-cookie';
const deactivate = (password) => fetch('/api/user/v1/accounts/deactivate_logout/', {

View File

@@ -1,6 +1,5 @@
/* globals gettext */
import 'whatwg-fetch';
import PropTypes from 'prop-types';
import React from 'react';

1
package-lock.json generated
View File

@@ -72,7 +72,6 @@
"webpack": "^5.90.3",
"webpack-bundle-tracker": "0.4.3",
"webpack-merge": "4.2.2",
"whatwg-fetch": "2.0.4",
"which-country": "1.0.0"
},
"devDependencies": {

View File

@@ -98,7 +98,6 @@
"webpack": "^5.90.3",
"webpack-bundle-tracker": "0.4.3",
"webpack-merge": "4.2.2",
"whatwg-fetch": "2.0.4",
"which-country": "1.0.0"
},
"devDependencies": {