Skip to content

Commit a47deb4

Browse files
author
Strakhov Sergey
committed
fix(compatibility): change position of import to top of file
1 parent ec41147 commit a47deb4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Import all polyfills for backward compatibility
2+
import './lib/compatibility/objectEntries';
3+
14
import toDate from './lib/toDate';
25
import toFloat from './lib/toFloat';
36
import toInt from './lib/toInt';
@@ -129,8 +132,6 @@ import isLicensePlate from './lib/isLicensePlate';
129132
import isStrongPassword from './lib/isStrongPassword';
130133

131134
import isVAT from './lib/isVAT';
132-
// Import all polyfills for backward compatibility
133-
import './lib/compatibility/objectEntries';
134135

135136
const version = '13.15.15';
136137

0 commit comments

Comments
 (0)