New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

braintree-web-drop-in

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

braintree-web-drop-in - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

7

CHANGELOG.md
CHANGELOG
=========
1.3.1
-----
- Use version 3.19.0 of braintree-web
- Autoprefix CSS, fixing issues in older browsers
- Add aria-invalid attribute for cards
1.3.0

@@ -13,2 +19,3 @@ ------

- Allow card overrides with Hosted Fields
- Use npm scoped version of browser-detection

@@ -15,0 +22,0 @@ 1.2.0

2

dropin.js

@@ -30,3 +30,3 @@ 'use strict';

var DEFAULT_CHECKOUTJS_LOG_LEVEL = 'warn';
var VERSION = "1.3.0";
var VERSION = "1.3.1";

@@ -33,0 +33,0 @@ /**

@@ -38,3 +38,3 @@ 'use strict';

var VERSION = "1.3.0";
var VERSION = "1.3.1";

@@ -41,0 +41,0 @@ /**

{
"name": "braintree-web-drop-in",
"version": "1.3.0",
"version": "1.3.1",
"main": "index.js",

@@ -31,2 +31,3 @@ "scripts": {

"gulp": "3.9.1",
"gulp-autoprefixer": "4.0.0",
"gulp-brfs": "0.1.0",

@@ -61,3 +62,3 @@ "gulp-clean-css": "2.0.13",

"dependencies": {
"braintree-web": "3.18.0",
"braintree-web": "3.19.0",
"@braintree/browser-detection": "1.4.1",

@@ -64,0 +65,0 @@ "promise-polyfill": "6.0.2"

@@ -33,3 +33,3 @@ # Braintree Web Drop-in

<script src="https://js.braintreegateway.com/web/dropin/1.3.0/js/dropin.min.js"></script>
<script src="https://js.braintreegateway.com/web/dropin/1.3.1/js/dropin.min.js"></script>

@@ -36,0 +36,0 @@ <script>

@@ -293,2 +293,8 @@ 'use strict';

fieldError.textContent = errorMessage;
this.hostedFieldsInstance.setAttribute({
field: field,
attribute: 'aria-invalid',
value: true
});
};

@@ -304,2 +310,7 @@

classlist.remove(fieldGroup, 'braintree-form__field-group--has-error');
this.hostedFieldsInstance.removeAttribute({
field: field,
attribute: 'aria-invalid'
});
};

@@ -306,0 +317,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc