Chore: Upgrade yarn and editor sdks (#42847)

This commit is contained in:
Zoltán Bedi
2021-12-08 14:40:24 +01:00
committed by GitHub
parent 8ca36b76cf
commit 328b922a58
9 changed files with 169 additions and 162 deletions

View File

@@ -11,10 +11,10 @@ const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require eslint/lib/api.js
// Setup the environment to be able to require eslint
require(absPnpApiPath).setup();
}
}
// Defer to the real eslint/lib/api.js your application uses
module.exports = absRequire(`eslint/lib/api.js`);
// Defer to the real eslint your application uses
module.exports = absRequire(`eslint`);

View File

@@ -1,6 +1,6 @@
{
"name": "eslint",
"version": "7.21.0-sdk",
"version": "7.28.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
}