ldd / better-package-json

VS Code Extension for a better experience using package.json files
6 stars 1 forks source link

Results appear on incorrect lines #22

Open longzheng opened 3 years ago

longzheng commented 3 years ago

If I run Analyze package.json, numerous package have their results appearing on the wrong line.

image

I also see results in my scripts section which is weird

image

Version: 1.58.2 (user setup)
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:10:15.214Z (2 wks ago)
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19043
ldd commented 3 years ago

Nice finds!

longzheng commented 3 years ago

Here's the package.json in case you needed for repro

{
    "name": "XXX",
    "version": "1.0.0",
    "private": true,
    "dependencies": {
        "@apollo/client": "^3.3.20",
        "@datadog/browser-rum": "^3.0.2",
        "@date-io/date-fns": "1.x",
        "@emotion/react": "^11.4.0",
        "@emotion/styled": "^11.3.0",
        "@formatjs/intl-listformat": "^6.2.6",
        "@googlemaps/js-api-loader": "^1.12.1",
        "@material-ui/core": "^4.11.4",
        "@material-ui/lab": "^4.0.0-alpha.57",
        "@material-ui/pickers": "^3.3.10",
        "@mdi/js": "^5.9.55",
        "@mdi/react": "^1.5.0",
        "@sentry/react": "^6.9.0",
        "@sentry/tracing": "^6.9.0",
        "@ungap/url-search-params": "^0.2.2",
        "ace-builds": "^1.4.12",
        "apollo-link-sentry": "^3.0.2",
        "colors": "^1.4.0",
        "date-fns": "^2.22.1",
        "dotenv": "^10.0.0",
        "fp-ts": "^2.10.5",
        "graphql": "^15.5.0",
        "highlight-words-core": "^1.2.2",
        "io-ts": "^2.2.16",
        "jest-junit": "^12.0.0",
        "jsonwebtoken": "^8.5.1",
        "notistack": "^1.0.9",
        "react": "^17.0.2",
        "react-ace": "^9.4.1",
        "react-app-polyfill": "^2.0.0",
        "react-dom": "^17.0.2",
        "react-number-format": "^4.6.4",
        "react-resize-detector": "^6.7.4",
        "react-router-dom": "^5.2.0",
        "react-scripts": "^4.0.3",
        "react-syntax-highlighter": "^15.4.3",
        "react-test-renderer": "^17.0.2",
        "react-window": "^1.8.6",
        "react-window-infinite-loader": "^1.0.7",
        "typescript": "^4.3.5"
    },
    "devDependencies": {
        "@datadog/datadog-ci": "^0.13.3",
        "@emotion/eslint-plugin": "^11.0.0",
        "@graphql-codegen/cli": "^1.21.5",
        "@graphql-codegen/near-operation-file-preset": "^1.18.1",
        "@graphql-codegen/typed-document-node": "^1.18.6",
        "@graphql-codegen/typescript": "^1.22.1",
        "@graphql-codegen/typescript-operations": "^1.18.0",
        "@graphql-typed-document-node/core": "^3.1.0",
        "@sentry/cli": "^1.66.0",
        "@testing-library/react": "^12.0.0",
        "@testing-library/react-hooks": "^7.0.0",
        "@types/google.maps": "^3.45.2",
        "@types/gtag.js": "^0.0.5",
        "@types/highlight-words-core": "^1.2.0",
        "@types/jest": "^26.0.23",
        "@types/react": "^17.0.7",
        "@types/react-dom": "^17.0.3",
        "@types/react-router-dom": "^5.1.7",
        "@types/react-syntax-highlighter": "^13.5.0",
        "@types/react-window": "^1.8.3",
        "@types/react-window-infinite-loader": "^1.0.3",
        "@typescript-eslint/eslint-plugin": "^4.28.4",
        "@typescript-eslint/parser": "^4.28.4",
        "chokidar-cli": "^2.1.0",
        "cross-env": "^7.0.3",
        "env-cmd": "^10.1.0",
        "eslint": "^7.31.0",
        "eslint-config-prettier": "^8.3.0",
        "eslint-config-react-app": "^6.0.0",
        "eslint-import-resolver-typescript": "^2.4.0",
        "eslint-plugin-flowtype": "^5.7.2",
        "eslint-plugin-import": "^2.23.4",
        "eslint-plugin-jest": "^24.3.6",
        "eslint-plugin-jsx-a11y": "^6.4.1",
        "eslint-plugin-prettier": "^3.4.0",
        "eslint-plugin-react": "^7.24.0",
        "eslint-plugin-react-hooks": "^4.2.0",
        "eslint-plugin-tap-eslint": "file:tap-eslint",
        "eslint-plugin-testing-library": "^4.2.0",
        "http-proxy-middleware": "^1.3.1",
        "prettier": "2.3.1",
        "rimraf": "^3.0.2",
        "shx": "^0.3.3"
    },
    "scripts": {
    }
}