feat: remove polyfill-object.fromentries dependency
BREAKING CHANGE: You must support `Object.fromEntries`
This commit is contained in:
		
							
								
								
									
										13
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										13
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -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", | ||||
|   | ||||
| @@ -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", | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import React, { useRef } from 'react' | ||||
| import 'polyfill-object.fromentries' | ||||
|  | ||||
| export interface FormDataObject { | ||||
|   [key: string]: FormDataEntryValue | ||||
|   | ||||
		Reference in New Issue
	
	Block a user