1
1
mirror of https://github.com/theoludwig/react-component-form.git synced 2024-07-17 07:30:13 +02:00

feat: remove polyfill-object.fromentries dependency

BREAKING CHANGE: You must support `Object.fromEntries`
This commit is contained in:
divlo 2021-06-17 19:27:37 +02:00
parent c90742b200
commit fd166db46c
3 changed files with 0 additions and 17 deletions

13
package-lock.json generated
View File

@ -7,9 +7,6 @@
"": {
"version": "1.3.0",
"license": "MIT",
"dependencies": {
"polyfill-object.fromentries": "1.0.1"
},
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
@ -11100,11 +11097,6 @@
"integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==",
"dev": true
},
"node_modules/polyfill-object.fromentries": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/polyfill-object.fromentries/-/polyfill-object.fromentries-1.0.1.tgz",
"integrity": "sha512-zlEL/n2S73hX7BQXIPapzirQw4yM/VC7slrcOyfbsH0ZyUQ/lLh4NF9wshSJ354v0F3KDMC8FCxeTQ7UUPpu9g=="
},
"node_modules/posix-character-classes": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
@ -23004,11 +22996,6 @@
"integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==",
"dev": true
},
"polyfill-object.fromentries": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/polyfill-object.fromentries/-/polyfill-object.fromentries-1.0.1.tgz",
"integrity": "sha512-zlEL/n2S73hX7BQXIPapzirQw4yM/VC7slrcOyfbsH0ZyUQ/lLh4NF9wshSJ354v0F3KDMC8FCxeTQ7UUPpu9g=="
},
"posix-character-classes": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",

View File

@ -37,9 +37,6 @@
"peerDependencies": {
"react": ">=16"
},
"dependencies": {
"polyfill-object.fromentries": "1.0.1"
},
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",

View File

@ -1,5 +1,4 @@
import React, { useRef } from 'react'
import 'polyfill-object.fromentries'
export interface FormDataObject {
[key: string]: FormDataEntryValue