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

updating from base #5

Merged
merged 232 commits into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
e6c819b
referer changes (#4072)
derberbaby Aug 11, 2019
aa828d1
kargo adapter track request count (#4074)
samuelhorwitz Aug 11, 2019
d6c394e
tlbidadapter missing semicolons (#4076)
cdsmith16 Aug 11, 2019
8bd2ac0
VIS.X adapter: don't use utils.getTopWindowUrl() (#4078)
mk0x9 Aug 11, 2019
1f08933
Multiple sizes handling in adYouLike adaptor (#4013)
guiann Aug 11, 2019
ec4a641
Criteo Adapter - Code cleaning & added missing tests to increase code…
leonardlabat Aug 12, 2019
0bd5d61
update to use dlv/index to fix webpack sourcemaps (#4071)
snapwich Aug 13, 2019
f4db14c
Yieldmo unified id (#4041)
Aug 13, 2019
0511807
Add video support to LoopMe adapter (#4079)
EpanchinE Aug 13, 2019
74a6ea5
Criteo Adapter - Added support of deals (#4085)
leonardlabat Aug 15, 2019
874b99c
2.28.0 release
mkendall07 Aug 15, 2019
c1aa4e4
2.29.0-pre
mkendall07 Aug 15, 2019
d6bf9aa
Merge pull request #3 from prebid/master
vladgurgov Aug 16, 2019
d61756d
Add bid adapter for Sublime (#3960)
SublimeJeremy Aug 16, 2019
72ff0e4
Identity Link - Use ats library for retrieving envelope (#4077)
mamatic Aug 19, 2019
511a38b
OPT-1949 Update prebid.js to pass in window.href & add keyword proces…
raguilar-ias Aug 19, 2019
f622bdc
Fix #4059 - ensure native keys are not seen as custom targeting keys …
jsnellbaker Aug 20, 2019
7ee3eb2
New Adapter request : cosmos (#4096)
dev-cosmos Aug 20, 2019
dca695f
Banner e2e (#4092)
Fawke Aug 20, 2019
99e3e52
Add Meazy bid adapter (#4015)
Aug 20, 2019
b8565e7
Prebid 2.29.0 Release
Aug 20, 2019
6467bba
Increment pre version
Aug 20, 2019
c0c1b3e
enable withCredentials on unifiedId ajax call (#4090)
minh-daole-ttd Aug 21, 2019
2096980
Rubicon adapter doc: adding video example (#4091)
bretg Aug 21, 2019
35e4b2b
Collect info about which ad units receive bids (#4094)
bjorn-lw Aug 21, 2019
801f0fb
s2sTesting: random number moved to global (#3851)
bretg Aug 21, 2019
bc3987d
consolidate logic around common chunk inclusions (#4087)
snapwich Aug 21, 2019
e798c0c
Updates to RDN Adapter (#4080)
snapwich Aug 24, 2019
60501c8
Gamoshi: Add 9MediaOnline new adaptor alias (#4108)
Aug 26, 2019
d6ba289
remove comment since we're out of depcrecation phase (#4093)
Fawke Aug 27, 2019
d5ee713
GumGum: add DigiTrust module (#4109)
susyt Aug 27, 2019
11801ba
Add GDPR and UID module support to Undertone adapter (#4102)
omerko Aug 27, 2019
9c128af
Add placement support to beachfront adapter (#4117)
jsalis Aug 27, 2019
18543d6
fix typo on size parameter (#4122)
guiann Aug 28, 2019
761226f
Long form video price bucket bugfix (#4125)
jaiminpanchal27 Aug 28, 2019
2005af4
Prebid 2.30.0 release
Aug 28, 2019
099a723
Increment pre version
Aug 28, 2019
87e84b8
Optimera added optional device param (#4105). (#4106)
mcallari Aug 29, 2019
a7ad5ef
SupplyChain object support in Prebid (#4084)
pm-harshad-mane Aug 30, 2019
3fe149a
Auto detect if we can bust out of iframe (#15) (#4099)
epechuzal Sep 3, 2019
eaffc3d
Rubicon adapter: added sizes (#4147)
hdeodhar Sep 3, 2019
3f556dc
add logic to prefer prebid modules over external modules in build pro…
jsnellbaker Sep 3, 2019
a49d89b
Improve Digital adapter: adding bid floor, referrer, more native fiel…
jbartek25 Sep 3, 2019
80cbd2c
YIELDONE adapter - change urls to adapt https (#4139)
koji-eguchi Sep 3, 2019
e61b246
Added SupplyChain Object support and an onTimeout Callback (#4137)
telariaEng Sep 3, 2019
fe0c9e8
Revert "Added SupplyChain Object support and an onTimeout Callback (#…
Sep 3, 2019
deeb4c0
Nobid Prebid Adapter commit (#4050)
robdubois Sep 4, 2019
e897d47
update outstream prod url (#4104)
sumit116 Sep 4, 2019
7e43220
support pubcid and uids (#4143)
nwlosinski Sep 4, 2019
f125ac7
Fix misspelling and minor cleanup of schain docs (#4150)
Sep 4, 2019
777d031
Prebid 2.31.0 Release
bretg Sep 4, 2019
c716dd9
Increment pre version
bretg Sep 4, 2019
ff0a8a6
Rubicon: tuning logged messages (#4157)
bretg Sep 5, 2019
c47bb80
Rubicon Video COPPA fix (#4155)
umbrella-artem-seryak Sep 5, 2019
67e3a9c
Playground XYZ adapter - iframe usersync bug fix (#4141)
monofonik Sep 5, 2019
0cbe57c
update nvmrc file (#4162)
jsnellbaker Sep 5, 2019
7a0bf6e
update gulp-footer package (#4160)
jsnellbaker Sep 5, 2019
f828b84
Datablocks bid/analytics adapter (#4128)
htang555 Sep 6, 2019
2bdbb12
update logic of ad_types field in appnexusBidAdapter (#4065)
jsnellbaker Sep 6, 2019
02cd6e4
Shorten SomoAudience to just Somo (#4163)
SuprPhatAnon Sep 8, 2019
69107fe
Quantcast: Fix for empty video parameters (#4145)
dpapworth-qc Sep 8, 2019
97fab61
One Video adding Rewarded Video Feature (#4142)
DeepthiNeeladri Sep 8, 2019
25b6471
Module to pass User Ids to DFP (#4140)
pm-harshad-mane Sep 9, 2019
c520176
Buzzoola bid adapter (#4127)
VanCyric Sep 10, 2019
8b92b1f
E2e tests for Native and Outstream video Ad formats. (#4116)
Fawke Sep 10, 2019
276e1f7
Update LockerDome adUnitId bid param (#4176)
margsliu Sep 10, 2019
2d0b75c
fix several issues in appnexus video bids (#4154)
jsnellbaker Sep 10, 2019
7990f4b
S2s testing disable client side (#4123)
tjeastmond Sep 10, 2019
730c561
New option to Include deal KVPs when enableSendAllBids === false (#4136)
robertrmartinez Sep 10, 2019
958859a
Prebid 2.32.0 Release
jsnellbaker Sep 10, 2019
1b5f68f
increment pre version
jsnellbaker Sep 10, 2019
fa21ea0
Rubicon doc: changing video test zone (#4187)
bretg Sep 11, 2019
f3bcfb6
added schain support to sonobi adapter (#4173)
JonGoSonobi Sep 12, 2019
3915517
if schain config is not defined then error should not be thrown (#4165)
pm-harshad-mane Sep 13, 2019
e4cc081
Rubicon: updating test params (#4190)
bretg Sep 13, 2019
59532e4
myTargetBidAdapter: support currency config (#4188)
vfedoseev Sep 16, 2019
29066dd
Update README.md (#4193)
djrosenbaum Sep 16, 2019
f60799f
cedato bid adapter instream video support (#4153)
alexkh13 Sep 16, 2019
c456472
Added adxpremium prebid analytics adapter (#4181)
adxpremium Sep 16, 2019
b50a95f
feat(OAFLO-186): added support for schain (#4194)
jimee02 Sep 16, 2019
017a8f0
Sonobi - send entire userid payload (#4196)
JonGoSonobi Sep 16, 2019
94488e4
OpenX Adapter fix: updating outdated video examples (#4198)
jimee02 Sep 16, 2019
e981849
userId - Add support for refreshing the cached user id (#4082)
padurgeat Sep 17, 2019
17969da
Prebid 2.33.0 Release
Sep 17, 2019
3524709
Increment pre version
Sep 17, 2019
a3cd6e6
SupplyChainObject support and fires a pixel onTimeout (#4152)
telariaEng Sep 17, 2019
313bdc8
Feature/add profile parameter (#4185)
ujuettner Sep 17, 2019
ebf4272
EMXDigital Bid Adapter: Add video dimensions in request (#4174)
EMXDigital Sep 18, 2019
fa0019c
Added keywords parameter support in TrustX Bid Adapter (#4183)
PWyrembak Sep 18, 2019
53a13f2
rubicon: avoid passing unknown position (#4207)
bretg Sep 19, 2019
93874d8
correctly reference bidrequest and determine mediatype of bidresponse…
EMXDigital Sep 20, 2019
def7138
GumGum: only send gdprConsent when found (#4205)
susyt Sep 20, 2019
1e03b4b
LKQD: Use refererInfo.referer as fallback pageurl (#4210)
mrcrawfo Sep 20, 2019
f1642f1
[UserId] - ID5 - Fixed case when consentData is undefined (No CMP) (#…
padurgeat Sep 20, 2019
eb841b2
create stubs for localStorage in widespaceBidAdapter test file (#4208)
jsnellbaker Sep 23, 2019
e817865
added adId property to adRenderFailed event (#4097)
Sep 23, 2019
495baa9
OpenX Adapter: Forcing https requests and adding UserID module suppor…
jimee02 Sep 23, 2019
562a889
PubMatic to support userId sub-modules (#4191)
pm-harshad-mane Sep 23, 2019
f81b567
TripleLift support for UnifiedId and IdentityLink (#4197)
willchapin Sep 23, 2019
8544dbf
Added lemma adapter (#4126)
lm-abhijit Sep 23, 2019
5651800
Adkernel adapter new alias (#4221)
ckbo3hrk Sep 24, 2019
991b94d
Force https scheme for Criteo Bidder (#4227)
leonardlabat Sep 24, 2019
4be8495
Add Video Support for Datablocks Bid Adapter (#4195)
htang555 Sep 24, 2019
2ab711b
update adUnit, bidRequest and bidResponse object (#4180)
Fawke Sep 24, 2019
0ad0bd3
3 display banner and video vast support for rads (#4209)
onlsol Sep 24, 2019
925f1b1
UserId - Add SameSite and server-side pubcid support (#3869)
pycnvr Sep 25, 2019
112c953
added schain to appnexus bid adapter (#4229)
mkendall07 Sep 25, 2019
74ff666
update doubleclick url (#4179)
MikeSperone Sep 25, 2019
124a2be
Prebid 2.34.0 release
jsnellbaker Sep 25, 2019
0274410
increment pre version
jsnellbaker Sep 25, 2019
d79483b
Rubi Analytics handles > 1 bidResponse per bidRequest (#4224)
robertrmartinez Sep 26, 2019
25e5fd0
videoNow bid adapter (#4088)
sdbaron Sep 27, 2019
91146b6
djax new bidder adapter (#4192)
djaxbidder Sep 27, 2019
21f1275
Added Turk Telekom Bid Adapter (#4203)
turktelssp Sep 30, 2019
3ed4ba2
MicroAd: Use HTTPS in all requests (#4220)
strong-zero Sep 30, 2019
3921f98
Schain: avoiding Object.values as it is breaking on IE11 (#4238)
pm-harshad-mane Sep 30, 2019
696f1e9
3952 delay auction for ids (#4115)
mutdmour Sep 30, 2019
4691c7c
Feature: adUnitBidLimit (#3906)
Oct 1, 2019
fdc8e78
Update Rubicon Adapter netRevenue default (#4242)
Oct 2, 2019
88e3825
Removed AdastaMadia from alias (#4255)
Adasta2019 Oct 3, 2019
fbd6a0b
Update appnexusBidAdapter.js (#4251)
Adasta2019 Oct 3, 2019
976718f
IdentityLink - change expiration time to 30 days (#4239)
mamatic Oct 3, 2019
1aecd87
Add coppa support for AppNexus adapter (#4253)
mkendall07 Oct 3, 2019
4ac3582
add new longform e2e tests (#4206)
jsnellbaker Oct 7, 2019
214efe8
Konduit module (#4184)
konduit-dev Oct 7, 2019
bc855ed
Circle CI runs e2e tests on every push (#4200)
Fawke Oct 7, 2019
2121f18
Outcon bid adapter. (#4161)
TinchoF Oct 8, 2019
3ee0d97
Adding workflow to run end to end tests (#4230)
jaiminpanchal27 Oct 8, 2019
6af3e5f
update prebid path for e2e test pages (#4274)
jaiminpanchal27 Oct 8, 2019
6b16b73
Prebid 2.35.0 release
Oct 8, 2019
f7e5de7
Increment pre version
Oct 8, 2019
dceba37
Add usersync to adpone adapter (#4245)
seergiioo6 Oct 10, 2019
64f6718
Revert GumGum Adapter 2.28 resizing changes (#4277)
WayneYang1 Oct 10, 2019
57c6666
SpotX Bid Adapter: Support schain, ID5 object, Google consent object,…
codybonney Oct 11, 2019
842e45f
Update Rubicon Analytics Adapter `bidId` to match PBS (#4156)
Oct 11, 2019
b3371df
SmartRTB adapter update (#4246)
evanmsmrtb Oct 14, 2019
ba6c303
Support Vast Track (#4276)
tjeastmond Oct 14, 2019
aafd041
Added 1000x250 size (#4295)
hdeodhar Oct 14, 2019
3f3e743
prepare vidazoo adapter for v3.0 (#4291)
thewizarodofoz Oct 14, 2019
715f7c3
Improve Digital adapter: support schain (#4286)
jbartek25 Oct 14, 2019
b7d9f9f
LiveIntent Identity Module. (#4178)
jankoulaga Oct 14, 2019
e27fc40
updating liveintent eids source (#4300)
bretg Oct 14, 2019
7823e5b
fix appnexusBidAdapter view-script regex (#4289)
jsnellbaker Oct 15, 2019
c3ba14c
33Across adding bidder specific extension field (#4298)
thomas-33across Oct 15, 2019
56b611f
PubMatic to support LiveIntent User Id sub-module (#4306)
pm-harshad-mane Oct 15, 2019
ae63dde
Finteza Analytics Adapter: fix cookies (#4292)
finteza Oct 15, 2019
3965d3a
Update LockerDome adapter to support Prebid 3.0 (#4301)
margsliu Oct 15, 2019
31b3c1d
Returning the `IdResponse` type with an obj + callback. Fix for 4304…
jankoulaga Oct 15, 2019
46bfb02
ShowHeroes adapter - expanded outstream support (#4222)
vadim-mazzherin Oct 15, 2019
e4d3ff5
[Orbidder-Adapter] Add bidRequestCount and remove bid.params.keyValue…
Oct 15, 2019
6fb6706
PulsePoint: remove usage of deprecated utils method / prep for 3.0 (#…
anand-venkatraman Oct 15, 2019
d549a40
Use isArray method (#4288)
jaiminpanchal27 Oct 15, 2019
fceb471
Add Parrable ID submodule (#4266)
eyas-ranjous Oct 15, 2019
29520f3
Prebid 2.36.0 Release
bretg Oct 15, 2019
f498ba8
Increment pre version
bretg Oct 15, 2019
b363e97
Support schain module and send bidfloor param in Sharethrough adapter…
madma Oct 15, 2019
493bd5e
Platform One Analytics Adapter (#4233)
hbanalytics Oct 15, 2019
44192a8
Fix parrable id integration example (#4317)
eyas-ranjous Oct 16, 2019
cb3c457
Improve Digital adapter: support for video (#4318)
jbartek25 Oct 16, 2019
fd865b1
Gamoshi: Update aliases list. Add support for userSync. (#4319)
Oct 16, 2019
0fed339
fix for userSync endpoint getting called with bidder alias names, ins…
Fawke Oct 17, 2019
315bd19
modify ixBidAdapater to always use the secure endpoint (#4323)
ix-prebid-support Oct 17, 2019
64bd851
PubMatic to support Parrable User Id sub-module (#4324)
pm-harshad-mane Oct 17, 2019
b89d006
VISX: currency validation & fix double escape of referer (#4299)
mk0x9 Oct 18, 2019
cde90dc
PubMatic to support coppa (#4336)
pm-harshad-mane Oct 21, 2019
ab91441
vuble: outstream has fullscreen option (#4320)
Roffray Oct 21, 2019
f919f58
EMXDigital: hotfix to resolve URIError from decodeURIComponent (#4333)
EMXDigital Oct 21, 2019
56d6c59
Specify second parameter for parseInt for pubmaticBidAdapter (#4347)
rumesh Oct 21, 2019
a65a11b
Remove usage of getTopWindowUrl in Prebid Adapter (#4341)
bmwcmw Oct 22, 2019
b5f3c99
Conversant Bid Adapter update for 3.0 (#4284)
pycnvr Oct 22, 2019
f92650f
Add cpmDistribution function for Google Analytics adapter (#4240)
muuki88 Oct 22, 2019
2318453
fixing SRA p_pos (#4337)
robertrmartinez Oct 22, 2019
23fad51
In Sonobi Adapter, only read sizes from bid.mediaTypes (#4311)
JonGoSonobi Oct 22, 2019
8b85edc
Fix mediaTypes (#4332)
TinchoF Oct 22, 2019
d4e09b4
Prebid 2.37.0 release
jsnellbaker Oct 22, 2019
f2ee258
increment pre version
jsnellbaker Oct 22, 2019
efc90a6
Add vast xml support and other minor changes to Beachfront adapter (#…
jsalis Oct 23, 2019
be6704b
Update smartrtbBidAdapter (#4362)
evanmsmrtb Oct 23, 2019
04b8105
Revert "Update smartrtbBidAdapter (#4362)" (#4368)
jsnellbaker Oct 23, 2019
02f6cbc
Add userSync in onetagBidAdapter (#4358)
onetag-dev Oct 23, 2019
6114a3d
Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgr…
aprakash-sovrn Oct 23, 2019
f69ec24
Add bid adapter for ablida (#4256)
Oct 24, 2019
df020d7
AdKernel: added waardex_ak alias (#4290)
romanantropov Oct 24, 2019
ea2fc95
Revert "Sovrn adapter updates: schain, digitrust, pixel syncing, and …
msm0504 Oct 24, 2019
2376a7f
Vrtcal Markets Inc. Bid Adapter Addition (#4259)
vrtcal-dev Oct 24, 2019
6c908ce
Update schain path in ORTB path for spotxBidAdapter (#4377)
codybonney Oct 25, 2019
59a3229
Update Grid Bid Adapter (#4379)
TheMediaGrid Oct 25, 2019
275c56e
TripleLift: Sending schain (#4375)
colbertk Oct 25, 2019
52e663a
DistrictmDMX: adding support for schain and remove content type to de…
stevealliance Oct 25, 2019
6aa49a6
Support for ID5 + receive meta data (#4352)
bjorn-lw Oct 25, 2019
45bd063
Rubicon Adapter: Always make requests using HTTPS (#4380)
msm0504 Oct 28, 2019
322f12b
7xbid adapter (#4328)
7XBID00 Oct 28, 2019
be48754
- update 33across adapter cookie sync end point (#4345)
thomas-33across Oct 29, 2019
dcdd457
Adform adapter: add renderer for outstream bids (#4363)
bratrahim Oct 29, 2019
f539e74
Prebid 2.38.0 Release
Oct 29, 2019
741b489
Increment pre version
Oct 29, 2019
4b3bfaf
Adagio: update with external js (#4217)
osazos Oct 29, 2019
e1a62ae
add viewdeosDX whitelabel (#4231)
GeneGenie Oct 29, 2019
3ea73d4
One video display ad (#4344)
DeepthiNeeladri Oct 30, 2019
f77c0c2
fix double-urlecoded referrer (#4386)
onlsol Oct 30, 2019
2c1a8be
fix double-urlecoded referrer (#4387)
onlsol Oct 30, 2019
3f2b2c2
fix double-urlecoded referer (#4388)
onlsol Oct 30, 2019
9409959
PulsePoint Adapter - update for ttl logic (#4400)
anand-venkatraman Oct 30, 2019
1231f72
IdentityLink - add logic for sending consent string (#4346)
mamatic Oct 30, 2019
6659a88
Fix adagio analytics adapter circleci (#4409)
Oct 31, 2019
a629797
Feature/7xbid remove unneeded params (#4402)
7XBID00 Nov 1, 2019
2f62690
Remove none ssl (#4406)
stevealliance Nov 1, 2019
328cc3a
fixed reference to global object (#4412)
monofonik Nov 1, 2019
4f9ee48
ucfunnel adapter support supply chain (#4383)
Nov 1, 2019
6893745
LiveIntent support in RP Adapter and PBS Adapter update to pass segme…
Nov 1, 2019
f7adc4e
Rubicon Adapter: Add multiple sizes to sizeMap (#4407)
ACannuniRP Nov 1, 2019
5b2d298
Add Utils to remove item in LocalStorage (#4355)
Swiiip Nov 4, 2019
726f0e1
Making originalCpm and originalCurrency fields in bid object always a…
pm-harshad-mane Nov 4, 2019
96694a2
Placement and inventory (#4353)
DeepthiNeeladri Nov 4, 2019
e4cf432
Fixes for Platform One Analytics Adapter (#4359)
hbanalytics Nov 4, 2019
855df1c
Added protocol to url (#4395)
skazedo Nov 4, 2019
8564b09
Update emoteev endpoints (#4329)
piotr-yuxuan Nov 4, 2019
dfabf6d
JustPremium: Update to Prebid 3.0 (#4410)
Nov 4, 2019
70cec05
Update underdogmedia adapter for pbjs 3.0 (#4390)
mash-a Nov 5, 2019
af47dbf
Update Consumable adapter for Prebid.js 3.0 (#4401)
djcsdy Nov 5, 2019
23c2eba
CriteoId User Module (#4287)
Swiiip Nov 5, 2019
afdce98
2019/10/18 Create Mobsmart bidder adapter (#4339)
kpis-msa Nov 5, 2019
b231d1e
Adpod deal support (#4389)
jaiminpanchal27 Nov 5, 2019
d9ae40d
remove querystringify package (#4422)
jaiminpanchal27 Nov 5, 2019
5ee05be
Browsi real time data module (#4114)
omerDotan Nov 6, 2019
19ab269
Prebid 2.39.0 Release
jsnellbaker Nov 6, 2019
01ee2da
increment pre version
jsnellbaker Nov 6, 2019
00abeec
OpenX Adapter: Prebid 3.0 Compatibility Update (#4413)
jimee02 Nov 7, 2019
04ba41a
GumGum: use mediaTypes.banner.sizes (#4416)
susyt Nov 7, 2019
4dc5326
RTBhouse Bid Adapter update for 3.0 (#4428)
Marcian123 Nov 7, 2019
bb39e29
add viewable rendering format (#4201)
koji-eguchi Nov 7, 2019
aa28f03
Merge pull request #4 from prebid/master
vladgurgov Nov 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
128 changes: 86 additions & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,93 @@
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#

aliases:
- &environment
docker:
# specify the version you desire here
- image: circleci/node:8.9.0

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/Prebid.js

- &restore_dep_cache
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- &save_dep_cache
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- &install
name: Install gulp cli
command: sudo npm install -g gulp-cli

- &run_unit_test
name: BrowserStack testing
command: gulp test --browserstack --nolintfix

- &run_endtoend_test
name: BrowserStack End to end testing
command: echo "127.0.0.1 test.localhost" | sudo tee -a /etc/hosts && gulp e2e-test --host=test.localhost

# Download and run BrowserStack local
- &setup_browserstack
name : Download BrowserStack Local binary and start it.
command : |
# Download the browserstack binary file
wget "https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip"
# Unzip it
unzip BrowserStackLocal-linux-x64.zip
# Run the file with user's access key
./BrowserStackLocal ${BROWSERSTACK_ACCESS_KEY} &

- &unit_test_steps
- checkout
- restore_cache: *restore_dep_cache
- run: npm install
- save_cache: *save_dep_cache
- run: *install
- run: *setup_browserstack
- run: *run_unit_test

- &endtoend_test_steps
- checkout
- restore_cache: *restore_dep_cache
- run: npm install
- save_cache: *save_dep_cache
- run: *install
- run: *setup_browserstack
- run: *run_endtoend_test

version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10
<<: *environment
steps: *unit_test_steps

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4

working_directory: ~/Prebid.js

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: sudo npm install -g gulp-cli
# Download and run BrowserStack local
- run:
name : Download BrowserStack Local binary and start it.
command : |
# Download the browserstack binary file
wget "https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip"
# Unzip it
unzip BrowserStackLocal-linux-x64.zip
# Run the file with user's access key
./BrowserStackLocal ${BROWSERSTACK_ACCESS_KEY} &
# run tests!
- run:
name: BrowserStack testing
command: gulp test --browserstack --nolintfix
e2etest:
<<: *environment
steps: *endtoend_test_steps

workflows:
version: 2
commit:
jobs:
- build
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- e2etest
32 changes: 5 additions & 27 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@

const sharedWhiteList = [
"core-js/library/fn/array/find", // no ie11
"core-js/library/fn/array/includes", // no ie11
"core-js/library/fn/set", // ie11 supports Set but not Set#values
"core-js/library/fn/string/includes", // no ie11
"core-js/library/fn/number/is-integer", // no ie11,
"core-js/library/fn/array/from" // no ie11
];
const allowedModules = require("./allowedModules");

module.exports = {
"env": {
Expand Down Expand Up @@ -45,25 +38,10 @@ module.exports = {
"no-undef": "off",
"no-useless-escape": "off",
},
"overrides": [{
"files": "modules/**/*.js",
"overrides": Object.keys(allowedModules).map((key) => ({
"files": key + "/**/*.js",
"rules": {
"prebid/validate-imports": ["error", [
...sharedWhiteList,
"jsencrypt",
"crypto-js"
]]
"prebid/validate-imports": ["error", allowedModules[key]]
}
}, {
"files": "src/**/*.js",
"rules": {
"prebid/validate-imports": ["error", [
...sharedWhiteList,
"fun-hooks/no-eval",
"just-clone",
"dlv",
"dset"
]]
}
}]
}))
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ build/coverage/
.idea/
# if you remove the above rule, at least ignore the following:

# VS Code
.vscode/

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0
8.9
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
}
```

Or for Babel 6 and/or Node v8.6.0 and less:
Or for Babel 6:
```javascript
// you must manually install and specify the presets and plugins yourself
options: {
Expand Down Expand Up @@ -112,9 +112,9 @@ prebid.requestBids({
$ cd Prebid.js
$ npm install

*Note:* You need to have `NodeJS` 6.x or greater installed.
*Note:* You need to have `NodeJS` 8.9.x or greater installed.

*Note:* In the 1.24.0 release of Prebid.js we have transitioned to using gulp 4.0 from using gulp 3.9.1. To compily with gulp's recommended setup for 4.0, you'll need to have `gulp-cli` installed globally prior to running the general `npm install`. This shouldn't impact any other projects you may work on that use an earlier version of gulp in it's setup.
*Note:* In the 1.24.0 release of Prebid.js we have transitioned to using gulp 4.0 from using gulp 3.9.1. To comply with gulp's recommended setup for 4.0, you'll need to have `gulp-cli` installed globally prior to running the general `npm install`. This shouldn't impact any other projects you may work on that use an earlier version of gulp in its setup.

If you have a previous version of `gulp` installed globally, you'll need to remove it before installing `gulp-cli`. You can check if this is installed by running `gulp -v` and seeing the version that's listed in the `CLI` field of the output. If you have the `gulp` package installed globally, it's likely the same version that you'll see in the `Local` field. If you already have `gulp-cli` installed, it should be a lower major version (it's at version `2.0.1` at the time of the transition).

Expand Down
24 changes: 24 additions & 0 deletions allowedModules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

const sharedWhiteList = [
"core-js/library/fn/array/find", // no ie11
"core-js/library/fn/array/includes", // no ie11
"core-js/library/fn/set", // ie11 supports Set but not Set#values
"core-js/library/fn/string/includes", // no ie11
"core-js/library/fn/number/is-integer", // no ie11,
"core-js/library/fn/array/from" // no ie11
];

module.exports = {
'modules': [
...sharedWhiteList,
'jsencrypt',
'crypto-js'
],
'src': [
...sharedWhiteList,
'fun-hooks/no-eval',
'just-clone',
'dlv',
'dset'
]
};
26 changes: 13 additions & 13 deletions browsers.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"bs_edge_16_windows_10": {
"bs_edge_17_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "edge",
"browser_version": "16.0",
"browser_version": "17.0",
"device": null,
"os": "Windows"
},
"bs_edge_17_windows_10": {
"bs_edge_16_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "edge",
"browser_version": "17.0",
"browser_version": "16.0",
"device": null,
"os": "Windows"
},
Expand All @@ -23,35 +23,35 @@
"device": null,
"os": "Windows"
},
"bs_chrome_72_windows_10": {
"bs_chrome_74_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "chrome",
"browser_version": "72.0",
"browser_version": "74.0",
"device": null,
"os": "Windows"
},
"bs_chrome_71_windows_10": {
"bs_chrome_75_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "chrome",
"browser_version": "71.0",
"browser_version": "75.0",
"device": null,
"os": "Windows"
},
"bs_firefox_65_windows_10": {
"bs_firefox_66_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "firefox",
"browser_version": "65.0",
"browser_version": "66.0",
"device": null,
"os": "Windows"
},
"bs_firefox_64_windows_10": {
"bs_firefox_67_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "firefox",
"browser_version": "64.0",
"browser_version": "67.0",
"device": null,
"os": "Windows"
},
Expand All @@ -71,4 +71,4 @@
"device": null,
"os": "OS X"
}
}
}
5 changes: 4 additions & 1 deletion gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ module.exports = {
}
return Object.assign(externalModules.reduce((memo, module) => {
try {
var modulePath = require.resolve(module);
// prefer internal project modules before looking at project dependencies
var modulePath = require.resolve(module, {paths: ['./modules']});
if (modulePath === '') modulePath = require.resolve(module);

memo[modulePath] = module;
} catch (err) {
// do something
Expand Down
29 changes: 24 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,35 @@ function bundle(dev, moduleArr) {
// If --browserstack is given, it will run the full suite of currently supported browsers.
// If --browsers is given, browsers can be chosen explicitly. e.g. --browsers=chrome,firefox,ie9
// If --notest is given, it will immediately skip the test task (useful for developing changes with `gulp serve --notest`)

function test(done) {
if (argv.notest) {
done();
} else if (argv.e2e) {
let wdioCmd = path.join(__dirname, 'node_modules/.bin/wdio');
let wdioConf = path.join(__dirname, 'wdio.conf.js');
let wdioOpts = [
wdioConf
];
return execa(wdioCmd, wdioOpts, { stdio: 'inherit' });
let wdioOpts;

if (argv.file) {
wdioOpts = [
wdioConf,
`--spec`,
`${argv.file}`
]
} else {
wdioOpts = [
wdioConf
];
}
execa(wdioCmd, wdioOpts, { stdio: 'inherit' })
.then(stdout => {
done();
process.exit(0);
})
.catch(err => {
done(new Error(`Tests failed with error: ${err}`));
process.exit(1);
});
} else {
var karmaConf = karmaConfMaker(false, argv.browserstack, argv.watch, argv.file);

Expand Down Expand Up @@ -315,7 +334,7 @@ gulp.task('build-postbid', gulp.series(escapePostbidConfig, buildPostbid));
gulp.task('serve', gulp.series(clean, lint, gulp.parallel('build-bundle-dev', watch, test)));
gulp.task('default', gulp.series(clean, makeWebpackPkg));

gulp.task('e2e-test', gulp.series(clean, setupE2e, gulp.parallel('build-bundle-dev', watch), test))
gulp.task('e2e-test', gulp.series(clean, setupE2e, gulp.parallel('build-bundle-prod', watch), test))
// other tasks
gulp.task(bundleToStdout);
gulp.task('bundle', gulpBundle.bind(null, false)); // used for just concatenating pre-built files with no build step
Expand Down
Loading