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.6 to 0.1.7

7

CHANGELOG.md

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

### [0.1.7](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.1.6...v0.1.7) (2021-02-11)
### Bug Fixes
* polyfill accepts non-string values like Chrome ([9ac948e](https://github.com/calebdwilliams/element-internals-polyfill/commit/9ac948e78a6ee7403f0d3515c5c8181b34bc366e))
### [0.1.6](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.1.5...v0.1.6) (2021-02-10)

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

4

dist/index.js

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

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

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

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

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

{
"name": "element-internals-polyfill",
"version": "0.1.6",
"version": "0.1.7",
"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