Fix #814 - Resolve syntax error related to import renaming in ESM version build

This commit is contained in:
Faisal Salman
2025-12-10 11:21:45 +07:00
parent 7bc177de79
commit 41dd83f27a
3 changed files with 6 additions and 3 deletions

View File

@@ -232,9 +232,9 @@
"fuzz": "jazzer ./test/fuzz/redos.js --sync",
"test": "./script/test-all.sh",
"test:dts-lint": "tsd --typings src/main/ua-parser.d.ts --files test/static/dts-lint.ts",
"test:eslint": "eslint src && eslint script",
"test:eslint": "eslint --no-config-lookup src",
"test:jshint": "jshint src/main",
"test:lockfile-lint": "npx lockfile-lint -p package-lock.json",
"test:lockfile-lint": "lockfile-lint -p package-lock.json",
"test:mocha": "mocha --recursive test/unit",
"test:playwright": "npx playwright install && playwright test test/e2e --browser all"
},
@@ -247,7 +247,9 @@
"@babel/parser": "7.15.8",
"@babel/traverse": "7.23.2",
"@playwright/test": "^1.57.0",
"eslint": "^9.39.1",
"jshint": "~2.13.6",
"lockfile-lint": "^4.14.1",
"mocha": "~8.2.0",
"requirejs": "2.3.2",
"safe-regex": "^2.1.1",