diff --git a/packages/wmr/package.json b/packages/wmr/package.json index 27ac74c95..666a83eb1 100644 --- a/packages/wmr/package.json +++ b/packages/wmr/package.json @@ -60,7 +60,7 @@ "cssnano": "^4.1.10", "devcert": "^1.1.2", "errorstacks": "^2.3.2", - "es-module-lexer": "^0.4.1", + "es-module-lexer": "^0.7.0", "jest": "^26.1.0", "jest-puppeteer": "^5.0.4", "kolorist": "^1.5.0", diff --git a/patches/es-module-lexer+0.4.1.patch b/patches/es-module-lexer+0.4.1.patch deleted file mode 100644 index d5103875e..000000000 --- a/patches/es-module-lexer+0.4.1.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/node_modules/es-module-lexer/package.json b/node_modules/es-module-lexer/package.json -index 0c49d6e..4b9d388 100755 ---- a/node_modules/es-module-lexer/package.json -+++ b/node_modules/es-module-lexer/package.json -@@ -5,6 +5,14 @@ - "main": "dist/lexer.cjs", - "module": "dist/lexer.js", - "types": "types/lexer.d.ts", -+ "exports": { -+ ".": { -+ "import": "./dist/lexer.js", -+ "require": "./dist/lexer.cjs" -+ }, -+ "./package.json": "./package.json", -+ "./": "./" -+ }, - "scripts": { - "test": "NODE_OPTIONS=\"--experimental-modules\" mocha -b -u tdd test/*.cjs", - "build": "node --experimental-modules build.js && babel dist/lexer.js | terser -o dist/lexer.cjs", diff --git a/yarn.lock b/yarn.lock index 1138e33b0..decb7e328 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3259,10 +3259,10 @@ es-module-lexer@^0.3.18: resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.3.26.tgz#7b507044e97d5b03b01d4392c74ffeb9c177a83b" integrity sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA== -es-module-lexer@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.4.1.tgz#dda8c6a14d8f340a24e34331e0fab0cb50438e0e" - integrity sha512-ooYciCUtfw6/d2w56UVeqHPcoCFAiJdz5XOkYpv/Txl1HMUozpXjz/2RIQgqwKdXNDPSF1W7mJCFse3G+HDyAA== +es-module-lexer@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.7.0.tgz#33b22fd35548f4e27c3d5292622b512b2a9391f8" + integrity sha512-btzZZ1QNjAMk3p71kK0gBALmqmva0W+gyegNWyrmAHQA/Sf5XrkpB0ZeyUMVDDJWLQHRw1p7WeZDFd2VKvmoPg== es-to-primitive@^1.2.1: version "1.2.1"