-
const protect = asyncHandler(async (req, res, next) => {
try {
const token = req.token;
if (!token) {
res.status(401);
throw new Error(" Not Authorized, Please login...…
-
I want using regex on route, when support ?
Thanks.
-
Hi,
I was trying out cloning this repo and doing install locally, npm install indicated 99 vulnerabilities found.
Reporting issue - so this does not fall out of track. (**master** branch)
```…
-
I've got a `foobarUpdated` subscription, but I need to authorize the users who subscribe to it as well as validate the variable (if the given id is not a valid foobar id, subscription doesn't make sen…
-
1. tns plugin add nativescript-nodeify
2. tns build android or tns run android
Error is: Cannot find module 'file-system/file-system-access'.
Reinstall node_modules and add platforms again does…
-
# Issue summary
I am building an embedded admin app where I am fetching some data from an external API in the app._index.tasx -
```tsx
export const loader = async ({ request }: LoaderFunctionArgs…
-
I cannot install karma coverage
npm WARN package.json Dependency 'requirejs' exists in both dependencies and dev
Dependencies, using 'requirejs@^2.1.18' from dependencies
npm WARN engine coffee-scrip…
-
Vulnerable Library - express-jwt-0.1.3.tgz
JWT authentication middleware.
Library home page: https://registry.npmjs.org/express-jwt/-/express-jwt-0.1.3.tgz
Path to dependency file: /package.json
Pat…
-
Hi all.
A really nice app but unfortunately I get the following error with session on landing page:
![screenshot from 2018-12-31 17-33-21](https://user-images.githubusercontent.com/11687381/5056…
-
Repro:
- wrangler@3.60.2
- `compat_flags = ["experimental:nodejs_compat_v2"]`
- install and use `jws`https://www.npmjs.com/package/jws (or use `https://www.npmjs.com/package/jsonwebtoken` which u…