auth0 / express-jwt

connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing dist

conor-mac-aoidh opened this issue · comments

Description

The 7.x versions of this package contain a package.json which has a main pointing to ./dist, but this folder is not included in the package.

Reproduction

  1. npm i express-jwt@7.0.0
  2. read the package:
$ cat node_modules/express-jwt/package.json | grep main
  "main": "./dist",
  1. list the package dir:
$ ls node_modules/express-jwt
bin  CHANGELOG.md  LICENSE  package.json  README.md  src  test  tsconfig.json

wow that's really bad.

Fixed in v7.4.1. Thanks for the heads up!!