diff options
Diffstat (limited to '.yarn/sdks/eslint')
-rw-r--r-- | .yarn/sdks/eslint/lib/api.js | 4 | ||||
-rw-r--r-- | .yarn/sdks/eslint/package.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.yarn/sdks/eslint/lib/api.js b/.yarn/sdks/eslint/lib/api.js index fc728d95..653b22ba 100644 --- a/.yarn/sdks/eslint/lib/api.js +++ b/.yarn/sdks/eslint/lib/api.js | |||
@@ -1,13 +1,13 @@ | |||
1 | #!/usr/bin/env node | 1 | #!/usr/bin/env node |
2 | 2 | ||
3 | const {existsSync} = require(`fs`); | 3 | const {existsSync} = require(`fs`); |
4 | const {createRequire, createRequireFromPath} = require(`module`); | 4 | const {createRequire} = require(`module`); |
5 | const {resolve} = require(`path`); | 5 | const {resolve} = require(`path`); |
6 | 6 | ||
7 | const relPnpApiPath = "../../../../.pnp.cjs"; | 7 | const relPnpApiPath = "../../../../.pnp.cjs"; |
8 | 8 | ||
9 | const absPnpApiPath = resolve(__dirname, relPnpApiPath); | 9 | const absPnpApiPath = resolve(__dirname, relPnpApiPath); |
10 | const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); | 10 | const absRequire = createRequire(absPnpApiPath); |
11 | 11 | ||
12 | if (existsSync(absPnpApiPath)) { | 12 | if (existsSync(absPnpApiPath)) { |
13 | if (!process.versions.pnp) { | 13 | if (!process.versions.pnp) { |
diff --git a/.yarn/sdks/eslint/package.json b/.yarn/sdks/eslint/package.json index c2abd332..bca3659d 100644 --- a/.yarn/sdks/eslint/package.json +++ b/.yarn/sdks/eslint/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "eslint", | 2 | "name": "eslint", |
3 | "version": "8.23.0-sdk", | 3 | "version": "8.24.0-sdk", |
4 | "main": "./lib/api.js", | 4 | "main": "./lib/api.js", |
5 | "type": "commonjs" | 5 | "type": "commonjs" |
6 | } | 6 | } |