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

add lodash as dependency #1174

Merged
merged 1 commit into from
May 4, 2017
Merged

add lodash as dependency #1174

merged 1 commit into from
May 4, 2017

Conversation

snapwich
Copy link
Collaborator

@snapwich snapwich commented May 3, 2017

Type of change

  • Bugfix

Description of change

AOL is using lodash but not declaring it as a dependency. Lodash is already a dependency of another dependency so the build still works fine with npm 3 but breaks in npm 2 which doesn't use a flat dependency tree. I've already fixed this once in #1055 here: https://github.com/prebid/Prebid.js/pull/1055/files?diff=unified#diff-baeaea56bb14bac6f8ad04712f1b02bcL2 but they undid my changes and added it back in their latest pulll request #1115 here: https://github.com/prebid/Prebid.js/pull/1115/files?diff=unified#diff-baeaea56bb14bac6f8ad04712f1b02bcR2

Since it's already a dependency of a dependency there's really no harm in just adding it as a first-class dependency, so that's what this pull-request is.

@protonate
Copy link
Collaborator

AOL is only using lodash in build, then? If so then great! If in runtime they should not most likely.

A thought for 1.0 is to use lodash path imports to get concise functions in the runtime as well.

@snapwich
Copy link
Collaborator Author

snapwich commented May 3, 2017

Yeah, just the build; which I'm fine with because in my modules 1.0 pull-request I'll also be using lodash in some gulp functions. I agree on using path imports for runtime inclusion of lodash if we decide to use it there at all.

@dbemiller dbemiller merged commit 73dfa73 into prebid:master May 4, 2017
outoftime pushed a commit to Genius/Prebid.js that referenced this pull request May 4, 2017
…built

* 'master' of https://github.com/prebid/Prebid.js: (21 commits)
  add lodash as dependency (prebid#1174)
  fix size mapping for s2s (prebid#1175)
  Improve footer styling (prebid#1171)
  Bugfix: internal bids requested overwritten (prebid#1173)
  pre-release version bump
  Prebid 0.23.0 Release
  Yieldbot adapter - multiple requestBids per pageview (prebid#1146)
  Widespace adapter validate size fix (prebid#1140)
  Audience Network: bid when at least one valid slot size (prebid#1148)
  Quantcast adaptor (prebid#1063)
  AOL Adapter - ONE Mobile endpoint implemented. (prebid#1115)
  Prebid Server to Server (prebid#1165)
  Pubgears Header Bidding Adapter (prebid#953)
  remove old adloader#trackPixel (prebid#1159)
  added audit beacon to detect misuse of this bidder.  Detects auctions… (prebid#1134)
  Bidfluence CDN endpoint URL update (prebid#1163)
  AdSupply adapter (prebid#1162)
  Sonobi Adapter - Enable size overrides (prebid#1141)
  Added an editorconfig file to match jshint and jssrc files. (prebid#1147)
  force cpm to be a number (prebid#1161)
  ...
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request May 25, 2017
…21.0 to aolgithub-master

* commit '4d573b42c5fbbabf23fed48fa042b75a72dd16b2': (31 commits)
  Added prebidServer in aolPartnersIds.json.
  Added adapters in aolPartnersIds.json.
  Added changelog entry.
  Prebid 0.23.1 Release
  Add trafficSourceCode + test (prebid#1184)
  Clear cookie sync to prevent multiple calls (prebid#1181)
  change s2s adapter to filter out units with empty sizes array (prebid#1179)
  Sharethrough: Change to using a closure for the callback from ajax to preserve bidObj (prebid#1108)
  check array length when mapping sizes (prebid#1180)
  Bugfix/encoding url (prebid#1178)
  add lodash as dependency (prebid#1174)
  fix size mapping for s2s (prebid#1175)
  Improve footer styling (prebid#1171)
  Bugfix: internal bids requested overwritten (prebid#1173)
  pre-release version bump
  Prebid 0.23.0 Release
  Yieldbot adapter - multiple requestBids per pageview (prebid#1146)
  Widespace adapter validate size fix (prebid#1140)
  Audience Network: bid when at least one valid slot size (prebid#1148)
  Quantcast adaptor (prebid#1063)
  ...
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
@robertrmartinez robertrmartinez deleted the lodash branch July 5, 2023 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants