Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

element-internals-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-internals-polyfill - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.1.8](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.1.7...v0.1.8) (2021-02-19)
### Bug Fixes
* **setFormValue:** accept empty strings like Chrome ([#23](https://github.com/calebdwilliams/element-internals-polyfill/issues/23)) ([8f41892](https://github.com/calebdwilliams/element-internals-polyfill/commit/8f41892f6de7c494be880bcf193870a3c519ee5c))
### [0.1.7](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.1.6...v0.1.7) (2021-02-11)

@@ -7,0 +14,0 @@

4

dist/index.js

@@ -439,3 +439,3 @@ (function () {

removeHiddenInputs(this);
if (value && !(value instanceof FormData)) {
if (value != null && !(value instanceof FormData)) {
if (ref.getAttribute('name')) {

@@ -446,3 +446,3 @@ const hiddenInput = createHiddenInput(ref, this);

}
else if (value && value instanceof FormData) {
else if (value != null && value instanceof FormData) {
value.forEach((formDataValue, formDataKey) => {

@@ -449,0 +449,0 @@ if (typeof formDataValue === 'string') {

{
"name": "element-internals-polyfill",
"version": "0.1.7",
"version": "0.1.8",
"description": "A polyfill for the element internals specification",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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