eslint-plugin-jsdoc
Advanced tools
Comparing version 48.9.2 to 48.9.3
@@ -155,3 +155,3 @@ { | ||
}, | ||
"version": "48.9.2" | ||
"version": "48.9.3" | ||
} |
// Todo: Support TS by fenced block type | ||
import {readFileSync} from 'fs'; | ||
import {readFileSync} from 'node:fs'; | ||
import { dirname, join } from 'node:path'; | ||
import { fileURLToPath } from 'node:url'; | ||
import * as espree from 'espree'; | ||
@@ -16,5 +18,7 @@ import { | ||
const __dirname = dirname(fileURLToPath(import.meta.url)); | ||
const {version} = JSON.parse( | ||
// @ts-expect-error `Buffer` is ok for `JSON.parse` | ||
readFileSync('./package.json') | ||
readFileSync(join(__dirname, '../package.json')) | ||
); | ||
@@ -21,0 +25,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2031095
33299
4