aboutsummaryrefslogtreecommitdiff
path: root/dev/lib/ucs2length.js
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-08 03:11:35 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-11-08 03:23:17 +0900
commit0f4d36938fd0d844f548aa5a7f7e7842df8dfb41 (patch)
tree5b6be3620a557d0b9177047003f6d742d9d2a32d /dev/lib/ucs2length.js
parentef79eab44bfd000792c610b968b5ceefd41e76a0 (diff)
Switch to vitest for ESM support; other fixes
Diffstat (limited to 'dev/lib/ucs2length.js')
-rw-r--r--dev/lib/ucs2length.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/lib/ucs2length.js b/dev/lib/ucs2length.js
index 2e4a01cd..3b370493 100644
--- a/dev/lib/ucs2length.js
+++ b/dev/lib/ucs2length.js
@@ -14,5 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-export {ucs2length} from 'ajv/dist/runtime/ucs2length';
+import ucs2length from 'ajv/dist/runtime/ucs2length.js';
+const ucs2length2 = ucs2length.default;
+export {ucs2length2 as ucs2length};