Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Multiple Adapters & Modules: replace corejs polyfills with simpler stubs (#7942)" #8028

Merged
merged 1 commit into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions allowedModules.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@

const sharedWhiteList = [
'prebidjs-polyfill/arrayFrom',
'prebidjs-polyfill/find',
'prebidjs-polyfill/findIndex',
'prebidjs-polyfill/includes',
'core-js-pure/features/array/find', // no ie11
'core-js-pure/features/array/includes', // no ie11
'core-js-pure/features/set', // ie11 supports Set but not Set#values
'core-js-pure/features/string/includes', // no ie11
'core-js-pure/features/number/is-integer', // no ie11,
'core-js-pure/features/array/from', // no ie11
'core-js-pure/web/url-search-params' // no ie11
];

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion modules/adagioBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import {
isInteger, isArray, deepAccess, mergeDeep, logWarn, logInfo, logError, getWindowTop, getWindowSelf, generateUUID, _map,
getDNT, parseUrl, getUniqueIdentifierStr, isNumber, cleanObj, isFn, inIframe, deepClone, getGptSlotInfoForAdUnitCode
Expand Down
4 changes: 2 additions & 2 deletions modules/adbookpspBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import includes from 'prebidjs-polyfill/includes.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import find from 'core-js-pure/features/array/find';
import { config } from '../src/config.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import { getStorageManager } from '../src/storageManager.js';
Expand Down
2 changes: 1 addition & 1 deletion modules/adhashBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { registerBidder } from '../src/adapters/bidderFactory.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';
import { BANNER } from '../src/mediaTypes.js';

const VERSION = '1.0';
Expand Down
4 changes: 2 additions & 2 deletions modules/adkernelBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
} from '../src/utils.js';
import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import {config} from '../src/config.js';

/*
Expand Down
2 changes: 1 addition & 1 deletion modules/adlooxAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { loadExternalScript } from '../src/adloader.js';
import { auctionManager } from '../src/auctionManager.js';
import { AUCTION_COMPLETED } from '../src/auction.js';
import CONSTANTS from '../src/constants.json';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import {
deepAccess, logInfo, isPlainObject, logError, isStr, isNumber, getGptSlotInfoForAdUnitCode,
isFn, mergeDeep, logMessage, insertElement, logWarn, getUniqueIdentifierStr, parseUrl
Expand Down
2 changes: 1 addition & 1 deletion modules/adlooxRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
getAdUnitSizes, logInfo, isPlainObject, logError, isStr, isInteger, isArray, isBoolean, mergeDeep, deepAccess,
_each, deepSetValue, logWarn, getGptSlotInfoForAdUnitCode
} from '../src/utils.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

const MODULE_NAME = 'adloox';
const MODULE = `${MODULE_NAME}RtdProvider`;
Expand Down
2 changes: 1 addition & 1 deletion modules/adnowBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { NATIVE, BANNER } from '../src/mediaTypes.js';
import { parseSizesInput, deepAccess, parseQueryStringParameters } from '../src/utils.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

const BIDDER_CODE = 'adnow';
const ENDPOINT = 'https://n.ads3-adnow.com/a';
Expand Down
4 changes: 2 additions & 2 deletions modules/adomikAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import adapter from '../src/AnalyticsAdapter.js';
import CONSTANTS from '../src/constants.json';
import adapterManager from '../src/adapterManager.js';
import { logInfo } from '../src/utils.js';
import find from 'prebidjs-polyfill/find.js';
import findIndex from 'prebidjs-polyfill/findIndex.js';
import find from 'core-js-pure/features/array/find.js';
import findIndex from 'core-js-pure/features/array/find-index.js';

// Events used in adomik analytics adapter
const auctionInit = CONSTANTS.EVENTS.AUCTION_INIT;
Expand Down
10 changes: 5 additions & 5 deletions modules/adotBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Renderer } from '../src/Renderer.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import { isFn, isArray, isBoolean, isStr, isPlainObject, logError, replaceAuctionPrice } from '../src/utils.js';
import find from 'prebidjs-polyfill/find.js';
import {Renderer} from '../src/Renderer.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js';
import {isStr, isFn, isArray, isPlainObject, isBoolean, logError, replaceAuctionPrice} from '../src/utils.js';
import find from 'core-js-pure/features/array/find.js';
import { config } from '../src/config.js';
import { OUTSTREAM } from '../src/video.js';

Expand Down
5 changes: 3 additions & 2 deletions modules/adpod.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ import { setupBeforeHookFnOnce, module } from '../src/hook.js';
import { store } from '../src/videoCache.js';
import { config } from '../src/config.js';
import { ADPOD } from '../src/mediaTypes.js';
import find from 'prebidjs-polyfill/find.js';
import Set from 'core-js-pure/features/set';
import find from 'core-js-pure/features/array/find.js';
import { auctionManager } from '../src/auctionManager.js';
import CONSTANTS from '../src/constants.json';

const from = require('prebidjs-polyfill/arrayFrom.js');
const from = require('core-js-pure/features/array/from.js');

const TARGETING_KEY_PB_CAT_DUR = 'hb_pb_cat_dur';
const TARGETING_KEY_CACHE_ID = 'hb_cache_id';
Expand Down
4 changes: 2 additions & 2 deletions modules/adrelevantisBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
import { config } from '../src/config.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import { OUTSTREAM, INSTREAM } from '../src/video.js';

const BIDDER_CODE = 'adrelevantis';
Expand Down
2 changes: 1 addition & 1 deletion modules/adtargetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { deepAccess, isArray, chunk, _map, flatten, logError, parseSizesInput }
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
import { config } from '../src/config.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';

const ENDPOINT = 'https://ghb.console.adtarget.com.tr/v2/auction/';
const BIDDER_CODE = 'adtarget';
Expand Down
2 changes: 1 addition & 1 deletion modules/adtelligentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js';
import { ADPOD, BANNER, VIDEO } from '../src/mediaTypes.js';
import { config } from '../src/config.js';
import { Renderer } from '../src/Renderer.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';

const subdomainSuffixes = ['', 1, 2];
const AUCTION_PATH = '/v2/auction/';
Expand Down
4 changes: 2 additions & 2 deletions modules/advangelistsBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { isEmpty, deepAccess, isFn, parseSizesInput, generateUUID, parseUrl } fr
import { config } from '../src/config.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { VIDEO, BANNER } from '../src/mediaTypes.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';

const ADAPTER_VERSION = '1.0';
const BIDDER_CODE = 'advangelists';
Expand Down
2 changes: 1 addition & 1 deletion modules/adxpremiumAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ajax } from '../src/ajax.js';
import adapter from '../src/AnalyticsAdapter.js';
import adapterManager from '../src/adapterManager.js';
import CONSTANTS from '../src/constants.json';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

const analyticsType = 'endpoint';
const defaultUrl = 'https://adxpremium.services/graphql';
Expand Down
2 changes: 1 addition & 1 deletion modules/adyoulikeBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { deepAccess, buildUrl, parseSizesInput } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { config } from '../src/config.js';
import { createEidsArray } from './userId/eids.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js';

const VERSION = '1.0';
Expand Down
2 changes: 1 addition & 1 deletion modules/afpBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import includes from 'prebidjs-polyfill/includes.js'
import includes from 'core-js-pure/features/array/includes.js'
import { registerBidder } from '../src/adapters/bidderFactory.js'
import { Renderer } from '../src/Renderer.js'
import { BANNER, VIDEO } from '../src/mediaTypes.js'
Expand Down
4 changes: 2 additions & 2 deletions modules/appnexusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { config } from '../src/config.js';
import { registerBidder, getIabSubCategory } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO, ADPOD } from '../src/mediaTypes.js';
import { auctionManager } from '../src/auctionManager.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import { OUTSTREAM, INSTREAM } from '../src/video.js';
import { getStorageManager } from '../src/storageManager.js';
import { bidderSettings } from '../src/bidderSettings.js';
Expand Down
4 changes: 2 additions & 2 deletions modules/beachfrontBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { config } from '../src/config.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { Renderer } from '../src/Renderer.js';
import { VIDEO, BANNER } from '../src/mediaTypes.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';

const ADAPTER_VERSION = '1.19';
const ADAPTER_NAME = 'BFIO_PREBID';
Expand Down
2 changes: 1 addition & 1 deletion modules/betweenBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const BIDDER_CODE = 'between';
let ENDPOINT = 'https://ads.betweendigital.com/adjson?t=prebid';
const CODE_TYPES = ['inpage', 'preroll', 'midroll', 'postroll'];

const includes = require('prebidjs-polyfill/includes.js');
const includes = require('core-js-pure/features/array/includes.js');
export const spec = {
code: BIDDER_CODE,
aliases: ['btw'],
Expand Down
2 changes: 1 addition & 1 deletion modules/bidViewability.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import CONSTANTS from '../src/constants.json';
import { logWarn, isFn, triggerPixel } from '../src/utils.js';
import { getGlobal } from '../src/prebidGlobal.js';
import adapterManager, { gdprDataHandler, uspDataHandler } from '../src/adapterManager.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';

const MODULE_NAME = 'bidViewability';
const CONFIG_ENABLED = 'enabled';
Expand Down
2 changes: 1 addition & 1 deletion modules/bluebillywigBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { deepAccess, deepSetValue, deepClone, logWarn, logError } from '../src/utils.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { VIDEO } from '../src/mediaTypes.js';
import { config } from '../src/config.js';
Expand Down
2 changes: 1 addition & 1 deletion modules/bridgewellBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { _each, inIframe, deepSetValue } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE } from '../src/mediaTypes.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';

const BIDDER_CODE = 'bridgewell';
const REQUEST_ENDPOINT = 'https://prebid.scupio.com/recweb/prebid.aspx?cb=';
Expand Down
4 changes: 2 additions & 2 deletions modules/browsiRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import {submodule} from '../src/hook.js';
import {ajaxBuilder} from '../src/ajax.js';
import {loadExternalScript} from '../src/adloader.js';
import {getStorageManager} from '../src/storageManager.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import {getGlobal} from '../src/prebidGlobal.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

const storage = getStorageManager();

Expand Down
2 changes: 1 addition & 1 deletion modules/cleanmedianetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js';
import {config} from '../src/config.js';
import {Renderer} from '../src/Renderer.js';
import {BANNER, VIDEO} from '../src/mediaTypes.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

export const helper = {
getTopWindowDomain: function (url) {
Expand Down
2 changes: 1 addition & 1 deletion modules/connectIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import {ajax} from '../src/ajax.js';
import {submodule} from '../src/hook.js';
import {logError, formatQS} from '../src/utils.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

const MODULE_NAME = 'connectId';
const VENDOR_ID = 25;
Expand Down
5 changes: 3 additions & 2 deletions modules/consentManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
import { logInfo, isFn, getAdUnitSizes, logWarn, isStr, isPlainObject, logError, isNumber } from '../src/utils.js';
import { config } from '../src/config.js';
import { gdprDataHandler } from '../src/adapterManager.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';
import strIncludes from 'core-js-pure/features/string/includes.js';

const DEFAULT_CMP = 'iab';
const DEFAULT_CONSENT_TIMEOUT = 10000;
Expand Down Expand Up @@ -248,7 +249,7 @@ function lookupIabConsent(cmpSuccess, cmpError, hookConfig) {

function readPostMessageResponse(event) {
let cmpDataPkgName = `${apiName}Return`;
let json = (typeof event.data === 'string' && includes(event.data, cmpDataPkgName)) ? JSON.parse(event.data) : event.data;
let json = (typeof event.data === 'string' && strIncludes(event.data, cmpDataPkgName)) ? JSON.parse(event.data) : event.data;
if (json[cmpDataPkgName] && json[cmpDataPkgName].callId) {
let payload = json[cmpDataPkgName];
// TODO - clean up this logic (move listeners?); we have duplicate messages responses because 2 eventlisteners are active from the 2 cmp requests running in parallel
Expand Down
4 changes: 2 additions & 2 deletions modules/craftBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { logError, convertTypes, convertCamelToUnderscore, isArray, deepAccess,
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import { auctionManager } from '../src/auctionManager.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import { getStorageManager } from '../src/storageManager.js';
import {ajax} from '../src/ajax.js';

Expand Down
2 changes: 1 addition & 1 deletion modules/criteoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {loadExternalScript} from '../src/adloader.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import {config} from '../src/config.js';
import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import { verify } from 'criteo-direct-rsa-validate/build/verify.js'; // ref#2
import { getStorageManager } from '../src/storageManager.js';

Expand Down
2 changes: 1 addition & 1 deletion modules/cwireBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
logWarn,
} from '../src/utils.js';
import { Renderer } from '../src/Renderer.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';

// ------------------------------------
const BIDDER_CODE = 'cwire';
Expand Down
2 changes: 1 addition & 1 deletion modules/dailyhuntBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js';
import * as mediaTypes from '../src/mediaTypes.js';
import {deepAccess, _map, isEmpty} from '../src/utils.js';
import { ajax } from '../src/ajax.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';
import { OUTSTREAM, INSTREAM } from '../src/video.js';

const BIDDER_CODE = 'dailyhunt';
Expand Down
2 changes: 1 addition & 1 deletion modules/dchain.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';
import { config } from '../src/config.js';
import { getHook } from '../src/hook.js';
import { _each, isStr, isArray, isPlainObject, hasOwn, deepClone, deepAccess, logWarn, logError } from '../src/utils.js';
Expand Down
4 changes: 2 additions & 2 deletions modules/emx_digitalBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { isArray, logWarn, logError, parseUrl, deepAccess, isStr, _each, getBidI
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
import { Renderer } from '../src/Renderer.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import find from 'core-js-pure/features/array/find.js';

const BIDDER_CODE = 'emx_digital';
const ENDPOINT = 'hb.emxdgt.com';
Expand Down
1 change: 1 addition & 0 deletions modules/fluctBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { _each, isEmpty } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import URLSearchParams from 'core-js-pure/web/url-search-params'

const BIDDER_CODE = 'fluct';
const END_POINT = 'https://hb.adingo.jp/prebid';
Expand Down
2 changes: 1 addition & 1 deletion modules/gamoshiBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js';
import {config} from '../src/config.js';
import {Renderer} from '../src/Renderer.js';
import {BANNER, VIDEO} from '../src/mediaTypes.js';
import includes from 'prebidjs-polyfill/includes.js';
import includes from 'core-js-pure/features/array/includes.js';

const ENDPOINTS = {
'gamoshi': 'https://rtb.gamoshi.io'
Expand Down
4 changes: 2 additions & 2 deletions modules/gdprEnforcement.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import { deepAccess, logWarn, isArray, hasDeviceAccess } from '../src/utils.js';
import { config } from '../src/config.js';
import adapterManager, { gdprDataHandler } from '../src/adapterManager.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import { registerSyncInner } from '../src/adapters/bidderFactory.js';
import { getHook } from '../src/hook.js';
import { validateStorageEnforcement } from '../src/storageManager.js';
Expand Down
2 changes: 1 addition & 1 deletion modules/glomexBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { registerBidder } from '../src/adapters/bidderFactory.js'
import find from 'prebidjs-polyfill/find.js'
import find from 'core-js-pure/features/array/find.js'
import { BANNER } from '../src/mediaTypes.js'

const ENDPOINT = 'https://prebid.mes.glomex.cloud/request-bid'
Expand Down
4 changes: 2 additions & 2 deletions modules/goldbachBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import { config } from '../src/config.js';
import { registerBidder, getIabSubCategory } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO, ADPOD } from '../src/mediaTypes.js';
import { auctionManager } from '../src/auctionManager.js';
import find from 'prebidjs-polyfill/find.js';
import includes from 'prebidjs-polyfill/includes.js';
import find from 'core-js-pure/features/array/find.js';
import includes from 'core-js-pure/features/array/includes.js';
import { OUTSTREAM, INSTREAM } from '../src/video.js';

const BIDDER_CODE = 'goldbach';
Expand Down
2 changes: 1 addition & 1 deletion modules/gptPreAuction.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { isGptPubadsDefined, isAdUnitCodeMatchingSlot, deepAccess, pick, logInfo } from '../src/utils.js';
import { config } from '../src/config.js';
import { getHook } from '../src/hook.js';
import find from 'prebidjs-polyfill/find.js';
import find from 'core-js-pure/features/array/find.js';

const MODULE_NAME = 'GPT Pre-Auction';
export let _currentConfig = {};
Expand Down
Loading