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

Webpack builds! #608

Closed
wants to merge 181 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
0a35386
Webpack builds!
gesa Mar 18, 2020
e4b1aac
Use HTML loader for jest tests
gesa Mar 18, 2020
a4f70d2
Add eslint to builds
gesa Mar 18, 2020
528e887
dev server!
gesa Mar 21, 2020
f4de169
fixup: use server logging method
gesa Oct 9, 2020
5a9aeae
fixup: ignoring these eslint warns for now anyway
gesa Oct 9, 2020
baee3dd
Remove version reference variables from finished product
gesa Oct 9, 2020
b5a4ba9
scrub version placeholders
gesa Oct 10, 2020
ad0828d
fixup: package-lock update
gesa Oct 12, 2020
b623238
fixup: not using del package anymore
gesa Oct 12, 2020
e66b630
remove browserify
gesa Oct 12, 2020
ac375b3
remove gulp
gesa Oct 12, 2020
3bf6455
Update copy & fix jsdoc destination
gesa Oct 12, 2020
471dc0d
Webpack 5
gesa Oct 14, 2020
23f52a4
Update symlink plugin version
gesa Oct 14, 2020
859769e
Updated jsdoc template allows us to drop that plugin i cobbled together
gesa Oct 15, 2020
0db8c12
Delete unused packages
gesa Oct 15, 2020
4c85fab
additional retired packages
gesa Oct 15, 2020
c587c77
don't need interpolator now that we have postprocessor
gesa Oct 15, 2020
060732d
Simplify the eslintrc. I tried to use the next v5 but it definitely *…
gesa Oct 16, 2020
bd1eb0c
production builds?
gesa Oct 16, 2020
b08bbd6
Rewrite html transformer to work on linux too
gesa Oct 16, 2020
04f671b
feat: add support for Venmo Desktop (#684)
crookedneighbor Jan 8, 2021
b7efb42
chore: update dependencies (#685)
crookedneighbor Jan 13, 2021
0044c61
chore: update version numbers
crookedneighbor Jan 13, 2021
9d532d8
1.26.0
crookedneighbor Jan 13, 2021
6574421
chore: Update Google Pay mark to match brand guidelines
braintreeps Jan 22, 2021
a69cafe
Update braintree-web to v3.71.1
braintreeps Jan 27, 2021
f16fa18
chore: update braintree-web to v3.72.0
braintreeps Feb 4, 2021
0310f41
chore: update braintree-web to 3.73.1 (#696)
crookedneighbor Feb 17, 2021
0821333
chore: update dev dependencies
braintreeps Feb 23, 2021
a7acd64
chore: update version to 1.26.1
braintreeps Feb 23, 2021
c491a0c
1.26.1
braintreeps Feb 23, 2021
9fde9c4
chore: update package-lock.json
braintreeps Mar 2, 2021
1febabe
chore: add additional csp rules for PayPal SDK
braintreeps Mar 2, 2021
6ea163b
chore: clean up typo in 3ds test
braintreeps Mar 2, 2021
36860d4
refactor: adjust 3ds to pass in model instead of config
braintreeps Mar 2, 2021
31b241f
fix: issue with passing custom button option to Google Pay (#702)
crookedneighbor Mar 2, 2021
dcfc4f2
Fix race condition (#704)
crookedneighbor Mar 4, 2021
36ade7f
feat: add 3ds events (#703)
crookedneighbor Mar 4, 2021
eefa041
chore: update braintree-web to v3.74.0
braintreeps Mar 5, 2021
0259689
Update version to 1.27.0
jplukarski Mar 9, 2021
57786f8
1.27.0
jplukarski Mar 9, 2021
9e72db2
chore: add major version note
braintreeps Mar 16, 2021
b172271
Update braintree-web to 3.75.0 (#711)
jplukarski Mar 18, 2021
08a02f3
chore: update wdio to v7 (#712)
crookedneighbor Mar 19, 2021
122b4c6
Update dropin-model.js
crackedeggs1 Mar 13, 2021
84a7654
chore: update minor dependencies
braintreeps Mar 22, 2021
e083afe
chore: skip event tests for ie
braintreeps Mar 22, 2021
0e3a54f
chore: update braintree-web to v3.76.0
braintreeps Mar 22, 2021
0f6533d
chore: update [email protected]
braintreeps Mar 31, 2021
8748e4c
chore: update dev dependencies
braintreeps Mar 31, 2021
4f48035
chore: update braintree-web to v3.76.2
braintreeps Apr 7, 2021
6858db2
refactor: rewrite payment method view test
braintreeps Apr 19, 2021
9725ca3
chore: update dependencies
braintreeps Apr 19, 2021
efe3f8d
Accessibility updates (#722)
jplukarski Apr 21, 2021
569b281
merge in v2_breaking_changes
gesa Apr 22, 2021
cca4cef
chore: update minor dev dependnecies
braintreeps Apr 23, 2021
5e337be
Update webpack packages bc of serve bug
gesa Apr 23, 2021
48538ef
Fix eslint failure
gesa Apr 23, 2021
022bbc0
Replace loops with jest loops; fix dep check tests
gesa Apr 23, 2021
8391fdb
Fix issue where vertical scrollbar appears for saved payment method (…
jplukarski Apr 28, 2021
0f36ec1
fix: correct initialization logic for determining async dependencies …
crookedneighbor Apr 28, 2021
3cf4eaf
feat: add `changeActiveView` event (#705)
crookedneighbor Apr 29, 2021
5b8f8c7
feat: add option to opt out of vaulting PayPal accounts (#730)
crookedneighbor Apr 29, 2021
1fde7e0
chore: update braintree-web to v3.76.3
braintreeps Apr 30, 2021
42a9af7
chore: update version in changelog and readme
braintreeps Apr 30, 2021
28c875e
1.28.0
braintreeps Apr 30, 2021
4736449
chore: update dev deps
braintreeps May 10, 2021
2182047
chore: update braintree-web to v3.76.4
braintreeps May 11, 2021
a03edde
chore(deps): update dev dependencies
braintreeps May 12, 2021
585770c
feat: add threeDSecure.cardinalSDKConfig to drop-in create (#733)
jplukarski May 13, 2021
e3ed524
fix: correct handling for a failed 3ds authentication (#734)
crookedneighbor May 14, 2021
e51c543
chore: update changelog
braintreeps May 14, 2021
404141e
1.29.0
braintreeps May 14, 2021
eeab5af
chore: update references from master to main
braintreeps May 25, 2021
d32654e
fix: use cursor: pointer for apple pay button
braintreeps Jun 2, 2021
4b39fca
chore: update changelog
braintreeps Jun 2, 2021
5adc6a1
fix: drop-in doesn't load when payment option priority is set (#740)
jplukarski Jun 3, 2021
0d4305b
chore: update braintree-web to v3.77.0
braintreeps Jun 3, 2021
65acd9c
chore: update packages
braintreeps Jun 8, 2021
f224175
chore: update changelog and readme
braintreeps Jun 8, 2021
1f98b8f
1.30.0
braintreeps Jun 8, 2021
898f875
chore: update [email protected]
braintreeps Jun 8, 2021
de57ffc
fix: remove console statements
braintreeps Jun 15, 2021
98b25a3
Apple pay fix (#744)
crookedneighbor Jun 15, 2021
6b2fce7
chore: update braintree-web to v3.78.2
braintreeps Jun 15, 2021
722a4e8
chore: update dependencies
braintreeps Jun 15, 2021
aac4b0b
refactor: simplify integration test for IE
braintreeps Jun 15, 2021
b3a6a12
chore: update version
braintreeps Jun 17, 2021
3eecf72
1.30.1
braintreeps Jun 17, 2021
7e61283
Add CSP: style-src -> assets.braintreegateway.com (#746)
juanmirocks Jun 24, 2021
e32b060
chore: update braintree-web
braintreeps Jun 25, 2021
33d4b16
Merge branch 'main' of github.com:braintree/braintree-web-drop-in int…
braintreeps Jun 25, 2021
10f124d
Add button role to payment option buttons for screen readers (#747)
jplukarski Jun 30, 2021
933b74d
chore: update braintree-web to v3.79.0
braintreeps Jul 8, 2021
a9e19bd
chore: update [email protected]
braintreeps Jul 12, 2021
0013711
chore: update changelog
braintreeps Jul 12, 2021
4e27dd8
chore: set version in changelog
braintreeps Jul 12, 2021
af1e6ca
1.31.0
braintreeps Jul 12, 2021
d1b7626
chore: update version in readme
braintreeps Jul 12, 2021
eeb24e4
chore: update dev dependencies (#750)
crookedneighbor Jul 12, 2021
94e4675
fix: add oncancel handler for Apple Pay payment sheet (#756)
crookedneighbor Jul 30, 2021
cccb7b8
chore: update version to v1.31.1
braintreeps Jul 30, 2021
17d80d0
1.31.1
braintreeps Jul 30, 2021
22a64db
fix: correct value for max-height (#758)
crookedneighbor Aug 5, 2021
872e290
chore: update [email protected]
crookedneighbor Aug 9, 2021
c5237aa
fix: correct issue where Drop-in could get into unusable state (#759)
crookedneighbor Aug 11, 2021
2a1dd65
chore: update dev dependencies
crookedneighbor Aug 11, 2021
b1ab932
fix: send requestable event when card view is opened (#763)
crookedneighbor Aug 11, 2021
ae5e98b
chore: update version
crookedneighbor Aug 11, 2021
cef644b
1.31.2
crookedneighbor Aug 11, 2021
5863ff3
chore: update braintree-web to 3.81.0
braintreeps Aug 18, 2021
4ef6496
Update braintree-web to 3.81.1 (#771)
jplukarski Sep 23, 2021
935d1b3
chore: update browser-detection to v1.12.1
crookedneighbor Sep 28, 2021
210b7e8
chore: update braintree-web to v3.82.0
crookedneighbor Sep 29, 2021
1c41a9e
Update version to 1.32.0
jplukarski Sep 30, 2021
e4ef3e4
1.32.0
jplukarski Sep 30, 2021
f029d7b
chore: update dev dependencies
braintreeps Oct 27, 2021
981ec88
chore: npm audit fix
braintreeps Oct 27, 2021
b25211e
chore: ensure npm 8 installed (#774)
crookedneighbor Oct 27, 2021
d80045a
fix: stop passing card true to CardView
the133448 Nov 2, 2021
08231a7
chore: update dependencies
crookedneighbor Nov 2, 2021
4c75370
Minor de_DE translation fix (#777)
FallenRiteMonk Nov 4, 2021
08bcf03
chore: update changelog
crookedneighbor Nov 8, 2021
9a96f57
1.32.1
crookedneighbor Nov 8, 2021
e26b79d
chore: update version number in readme
crookedneighbor Nov 8, 2021
ab5d6bc
Merge branch 'main' of github.com:braintree/braintree-web-drop-in int…
braintreeps Nov 8, 2021
8ff5eab
fix(#770): Removed inline styles within SVGs that were causing CSP vi…
idontusenumbers Nov 9, 2021
250061e
Dep updates (#780)
crookedneighbor Nov 30, 2021
288efc9
Update pp developer links (#783)
danielpuent3 Jan 4, 2022
6343f2a
Update braintree-web to 3.85.0 (#784)
cgdibble Jan 7, 2022
9a9e83e
Braintree web 3.85.1 (#787)
jplukarski Jan 13, 2022
c7ea60c
Update CSP documentation for 3DS 2 (#782)
kmaurisak Jan 18, 2022
48a6524
Update Braintree-Web 3.85.2 (#789)
jplukarski Jan 21, 2022
a981bd7
Add Support for UnionPay (#791)
jplukarski Jan 25, 2022
3b001e7
Add elo and hiper (#788)
jplukarski Feb 1, 2022
16efb1d
Update Dependencies (#796)
jplukarski Feb 2, 2022
99097a7
Update version to 1.33.0
saralvasquez Feb 3, 2022
06a67f7
1.33.0
saralvasquez Feb 3, 2022
9e184e0
Update Vault Manager Documentation (#800)
jaxdesmarais Feb 10, 2022
637124b
Update docs links to point to PayPal domain (#803)
Epreuve Feb 17, 2022
aaf736f
fix: incorrect applepay paymentRequest properties (#808)
jplukarski Mar 21, 2022
5dc252a
chore: pin Firefox version to v96.0 to allow builds to pass
jplukarski Mar 22, 2022
0eb2f87
chore: update dependencies (#802)
jplukarski Mar 22, 2022
bf05e9a
chore: update translations
crookedneighbor Apr 4, 2022
672d090
Fix hiper icon visibility that spoils card list (#812)
tamtamchik Apr 6, 2022
139a01a
Fix hiper icon visibility that spoils card list (#812)
tamtamchik Apr 6, 2022
f895a48
chore: add changelog for #812
crookedneighbor Apr 6, 2022
ee29d84
chore: update braintree-web
crookedneighbor Apr 6, 2022
df57483
Fix: Drop-In inputs escape Drop-In container when there are errors on…
jplukarski Apr 7, 2022
58adad6
chore: Update version to 1.33.1
crookedneighbor Apr 7, 2022
ae2118e
1.33.1
crookedneighbor Apr 7, 2022
8a30dc3
chore: update VISA icon (SVG) (#817)
armandodlvr May 27, 2022
337d755
Release version 1.33.2
cgdibble May 27, 2022
33a084b
1.33.2
cgdibble May 27, 2022
ce3e355
Update version to 1.33.2
cgdibble May 27, 2022
25f5529
1.33.2
cgdibble May 27, 2022
84d5cd4
Merge branch 'release' into main
braintreeps May 27, 2022
800a9e5
fix: test app accessibility errors (#818)
armandodlvr Jun 3, 2022
696684a
chore: update braintree-web to 3.85.5 (#821)
cgdibble Jul 25, 2022
c6103f9
Update version to 1.33.3
cgdibble Jul 25, 2022
c89bb75
1.33.3
cgdibble Jul 25, 2022
a42cb70
chore: update to braintree-web 3.86.0 (#822)
cgdibble Aug 12, 2022
89cad35
Update version to 1.33.4
braintreeps Aug 12, 2022
2607b2a
1.33.4
braintreeps Aug 12, 2022
8e9a1b7
chore: update dependencies (#835)
crookedneighbor Oct 28, 2022
1a58708
chore: run npm audit fix
crookedneighbor Oct 28, 2022
cdc3f0a
chore: remove hint (#839)
crookedneighbor Oct 28, 2022
12adf79
chore: update braintree-web to 3.88.3 (#840)
cgdibble Nov 4, 2022
d7eefed
Update version to 1.33.5
cgdibble Nov 4, 2022
6b587f2
1.33.5
cgdibble Nov 4, 2022
df0ee6b
Update version to 1.33.6
Nov 8, 2022
044c209
1.33.6
Nov 8, 2022
ff34521
fix: update check for PayPal Credit presence (#843)
crookedneighbor Nov 14, 2022
857398d
fix: hide field errors and check for validity again on blur events (#…
kniemasik Nov 14, 2022
1dbc3e4
Update version to 1.33.7
braintreeps Nov 14, 2022
b06b3ef
1.33.7
braintreeps Nov 14, 2022
b060046
update to webpack 5.75.0 and dependencies
Nov 15, 2022
bdd736f
clean up webpack and eslint conf
armandodlvr Nov 15, 2022
b5a79d7
Merge branch 'main' into webpack
armandodlvr Nov 15, 2022
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
6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
requireParamDescription: true
requireReturnDescription: true

overrides:
- files: "src/translations/*"
rules:
key-spacing: 0

globals:
__dirname: true
process: true
Promise: true # inevitable merge conflict: delete me
82 changes: 82 additions & 0 deletions .github/workflows/ci-integration-tests-ie.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: "Integration Tests - Internet Explorer"

on: [push]

env:
PAYPAL_USERNAME: ${{ secrets.PAYPAL_USERNAME }}
PAYPAL_PASSWORD: ${{ secrets.PAYPAL_PASSWORD }}

jobs:
non-paypal-on-ie:
name: "Non-PayPal Tests on Internet Explorer"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "BrowserStack Env Setup"
uses: "browserstack/github-actions/setup-env@master"
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
build-name: BUILD_INFO
project-name: REPO_NAME
- name: "BrowserStackLocal Setup"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: start
local-identifier: random
- name: "Node Setup"
uses: "actions/setup-node@v1"
with:
node-version: "14.x"
- name: "Demo App Setup"
run: |
npm install
rm -rf node_modules/@types/mocha
sudo echo "127.0.0.1 bs-local.com" | sudo tee -a /etc/hosts
npm run development & echo "starting integration app"
- name: "Non-PayPal tests on Internet Explorer"
env:
ONLY_BROWSERS: ie
run: npm run test:integration:paypal-skipped
- name: "BrowserStackLocal Stop"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: stop

paypal-on-ie:
if: always()
needs: non-paypal-on-ie
name: "PayPal Tests on Internet Explorer"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "BrowserStack Env Setup"
uses: "browserstack/github-actions/setup-env@master"
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
build-name: BUILD_INFO
project-name: REPO_NAME
- name: "BrowserStackLocal Setup"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: start
local-identifier: random
- name: "Node Setup"
uses: "actions/setup-node@v1"
with:
node-version: "14.x"
- name: "Demo App Setup"
run: |
npm install
rm -rf node_modules/@types/mocha
sudo echo "127.0.0.1 bs-local.com" | sudo tee -a /etc/hosts
npm run development & echo "starting integration app"
- name: "PayPal tests on Internet Explorer"
env:
ONLY_BROWSERS: ie
run: npm run test:integration:paypal-only
- name: "BrowserStackLocal Stop"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: stop
87 changes: 82 additions & 5 deletions .github/workflows/ci-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
with:
local-testing: stop

paypal-on-sensible-browsers:
paypal-on-firefox:
if: always()
needs: non-paypal-on-sensible-browsers
name: "PayPal Tests on Chrome, Firefox and Safari"
name: "PayPal Tests on Firefox"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -68,18 +68,95 @@ jobs:
- name: "Node Setup"
uses: "actions/setup-node@v1"
with:
node-version: "12.x"
node-version: "14.x"
- name: "Demo App Setup"
run: |
npm install
rm -rf node_modules/@types/mocha
sudo echo "127.0.0.1 bs-local.com" | sudo tee -a /etc/hosts
npm run development & echo "starting integration app"
- name: "PayPal tests on Chrome, Safari and Firefox"
- name: "PayPal tests on Firefox"
env:
ONLY_BROWSERS: chrome,safari,firefox
ONLY_BROWSERS: firefox
run: npm run test:integration:paypal-only
- name: "BrowserStackLocal Stop"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: stop

paypal-on-chrome:
if: always()
needs: paypal-on-firefox
name: "PayPal Tests on Chrome"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "BrowserStack Env Setup"
uses: "browserstack/github-actions/setup-env@master"
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
build-name: BUILD_INFO
project-name: REPO_NAME
- name: "BrowserStackLocal Setup"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: start
local-identifier: random
- name: "Node Setup"
uses: "actions/setup-node@v1"
with:
node-version: "14.x"
- name: "Demo App Setup"
run: |
npm install
rm -rf node_modules/@types/mocha
sudo echo "127.0.0.1 bs-local.com" | sudo tee -a /etc/hosts
npm run development & echo "starting integration app"
- name: "PayPal tests on Chrome"
env:
ONLY_BROWSERS: chrome
run: npm run test:integration:paypal-only
- name: "BrowserStackLocal Stop"
uses: "browserstack/github-actions/setup-local@master"
with:
local-testing: stop

# safari is struggling to open the PayPal popup for some reason
# paypal-on-safari:
# if: always()
# needs: paypal-on-chrome
# name: "PayPal Tests on Safari"
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: "BrowserStack Env Setup"
# uses: "browserstack/github-actions/setup-env@master"
# with:
# username: ${{ secrets.BROWSERSTACK_USERNAME }}
# access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
# build-name: BUILD_INFO
# project-name: REPO_NAME
# - name: "BrowserStackLocal Setup"
# uses: "browserstack/github-actions/setup-local@master"
# with:
# local-testing: start
# local-identifier: random
# - name: "Node Setup"
# uses: "actions/setup-node@v1"
# with:
# node-version: "14.x"
# - name: "Demo App Setup"
# run: |
# npm install
# rm -rf node_modules/@types/mocha
# sudo echo "127.0.0.1 bs-local.com" | sudo tee -a /etc/hosts
# npm run development & echo "starting integration app"
# - name: "PayPal tests on Safari"
# env:
# ONLY_BROWSERS: safari
# run: npm run test:integration:paypal-only
# - name: "BrowserStackLocal Stop"
# uses: "browserstack/github-actions/setup-local@master"
# with:
# local-testing: stop
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ coverage/
.DS_Store

.env
sauce_connect.ready

hint-report/
6 changes: 0 additions & 6 deletions .hintrc

This file was deleted.

Loading