Skip to content

Commit

Permalink
Updated new files from master to also be compatible with core-js v3.
Browse files Browse the repository at this point in the history
  • Loading branch information
barslev committed Apr 3, 2020
1 parent 609df12 commit b2ae8d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modules/gdprEnforcement.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import * as utils from '../src/utils.js';
import { config } from '../src/config.js';
import { hasDeviceAccess } from '../src/utils.js';
import adapterManager, { gdprDataHandler } from '../src/adapterManager.js';
import find from 'core-js/library/fn/array/find.js';
import includes from 'core-js/library/fn/array/includes.js';
import find from 'core-js-pure/features/array/find';
import includes from 'core-js-pure/features/array/includes';
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/hybridBidAdapter.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 { auctionManager } from '../src/auctionManager.js'
import { BANNER, VIDEO } from '../src/mediaTypes.js'
import {Renderer} from '../src/Renderer.js';
import find from 'core-js/library/fn/array/find';
import find from 'core-js-pure/features/array/find';

const BIDDER_CODE = 'hybrid';
const DSP_ENDPOINT = 'https://hbe198.hybrid.ai/prebidhb';
Expand Down
2 changes: 1 addition & 1 deletion modules/platformioBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as utils from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import includes from 'core-js/library/fn/array/includes.js';
import includes from 'core-js-pure/features/array/includes';

const NATIVE_DEFAULTS = {
TITLE_LEN: 100,
Expand Down
2 changes: 1 addition & 1 deletion modules/priceFloors.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import events from '../src/events.js';
import CONSTANTS from '../src/constants.json';
import { getHook } from '../src/hook.js';
import { createBid } from '../src/bidfactory.js';
import find from 'core-js/library/fn/array/find.js';
import find from 'core-js-pure/features/array/find';
import { parse as urlParse } from '../src/url.js';
import { getRefererInfo } from '../src/refererDetection.js';

Expand Down
2 changes: 1 addition & 1 deletion src/storageManager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { hook } from './hook.js';
import * as utils from './utils.js';
import includes from 'core-js/library/fn/array/includes.js';
import includes from 'core-js-pure/features/array/includes';

const moduleTypeWhiteList = ['core', 'prebid-module'];

Expand Down

0 comments on commit b2ae8d9

Please sign in to comment.