diff options
Diffstat (limited to 'FrontEnd/.yarn/sdks/eslint')
-rw-r--r-- | FrontEnd/.yarn/sdks/eslint/lib/api.js | 40 | ||||
-rw-r--r-- | FrontEnd/.yarn/sdks/eslint/package.json | 12 |
2 files changed, 26 insertions, 26 deletions
diff --git a/FrontEnd/.yarn/sdks/eslint/lib/api.js b/FrontEnd/.yarn/sdks/eslint/lib/api.js index dd6df163..bbcd99d6 100644 --- a/FrontEnd/.yarn/sdks/eslint/lib/api.js +++ b/FrontEnd/.yarn/sdks/eslint/lib/api.js @@ -1,20 +1,20 @@ -#!/usr/bin/env node
-
-const {existsSync} = require(`fs`);
-const {createRequire, createRequireFromPath} = require(`module`);
-const {resolve} = require(`path`);
-
-const relPnpApiPath = "../../../../.pnp.js";
-
-const absPnpApiPath = resolve(__dirname, relPnpApiPath);
-const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
-
-if (existsSync(absPnpApiPath)) {
- if (!process.versions.pnp) {
- // Setup the environment to be able to require eslint/lib/api.js
- require(absPnpApiPath).setup();
- }
-}
-
-// Defer to the real eslint/lib/api.js your application uses
-module.exports = absRequire(`eslint/lib/api.js`);
+#!/usr/bin/env node + +const {existsSync} = require(`fs`); +const {createRequire, createRequireFromPath} = require(`module`); +const {resolve, dirname} = require(`path`); + +const relPnpApiPath = "../../../../.pnp.js"; + +const absPnpApiPath = resolve(__dirname, relPnpApiPath); +const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); + +if (existsSync(absPnpApiPath)) { + if (!process.versions.pnp) { + // Setup the environment to be able to require eslint/lib/api.js + require(absPnpApiPath).setup(); + } +} + +// Defer to the real eslint/lib/api.js your application uses +module.exports = absRequire(`eslint/lib/api.js`); diff --git a/FrontEnd/.yarn/sdks/eslint/package.json b/FrontEnd/.yarn/sdks/eslint/package.json index b7d1fe0e..d57cb9c3 100644 --- a/FrontEnd/.yarn/sdks/eslint/package.json +++ b/FrontEnd/.yarn/sdks/eslint/package.json @@ -1,6 +1,6 @@ -{
- "name": "eslint",
- "version": "7.5.0-pnpify",
- "main": "./lib/api.js",
- "type": "commonjs"
-}
\ No newline at end of file +{ + "name": "eslint", + "version": "7.12.1-pnpify", + "main": "./lib/api.js", + "type": "commonjs" +} |