Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Unexpected token '.' #715

@dep

Description

@dep

Bug Description

This just started appearing today without warning in our CI builds. I'm not sure why, we haven't changed anything related to depcheck.

Code snippets

npx depcheck

Where the dependency is listed in package.json:

"devDependencies": {
  "@honeybadger-io/js": "3.2.7",
  "@storybook/preset-scss": "1.0.3",
  "@storybook/react": "6.4.22",
  "@storybook/storybook-deployer": "2.8.11",
  "backbone": "1.1.2",
  "bootstrap": "4.3.1",
  "chromatic": "6.5.4",
  "depcheck": "1.4.3",
  "formik": "^1.5.8",
  "graphql": "15.8.0",
  "graphql-tag": "2.12.6",
  "html-webpack-plugin": "5.5.0",
  "react": "17.0.2",
  "react-dom": "17.0.2",
  "reactstrap": "8.10.1",
  "sass-loader": "10.2.1",
  "storybook-addon-designs": "6.2.1"
}

Versions

  • node -v: v10.15.0
  • npm -v: 6.4.1
  • depcheck --version: 1.4.3

Extra info

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions