From 96e27f3a11602babc1af8af956f2b96fba8dcde4 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 5 Apr 2023 16:17:07 +0200 Subject: [PATCH] Fix the hb-subset.example.node.js with older node versions --- examples/hb-subset.example.node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/hb-subset.example.node.js b/examples/hb-subset.example.node.js index b357c60..4073c98 100644 --- a/examples/hb-subset.example.node.js +++ b/examples/hb-subset.example.node.js @@ -2,6 +2,7 @@ // Which was based on https://github.com/harfbuzz/harfbuzzjs/issues/9#issuecomment-507622485 const { readFile, writeFile } = require('fs').promises; const { join, extname, basename } = require('path'); +const { performance } = require('node:perf_hooks'); const SUBSET_TEXT = 'abc';