express-authenticators
Advanced tools
Comparing version 1.0.0-pre-5 to 1.0.0
116
package.json
{ | ||
"name": "express-authenticators", | ||
"version": "1.0.0-pre-5", | ||
"description": "Third party authenticators in nodejs. Support various providers. Almost zero dependencies.", | ||
"main": "lib/index.js", | ||
"repository": "github:tranvansang/express-authenticators", | ||
"author": "Tran Sang <me@transa.ng>", | ||
"license": "MIT", | ||
"keywords": [ | ||
"passport", | ||
"passportjs", | ||
"express", | ||
"authenticator", | ||
"authentication", | ||
"github", | ||
"twitter", | ||
"google", | ||
"facebook", | ||
"pinterest", | ||
"foursquare", | ||
"linkedin", | ||
"instagram", | ||
"tumblr", | ||
"oauth", | ||
"oauth2", | ||
"apple" | ||
], | ||
"files": [ | ||
"lib" | ||
], | ||
"scripts": { | ||
"clean": "rm -rf lib coverage", | ||
"build": "yarn tsc", | ||
"test": "yarn jest", | ||
"coverage": "yarn jest --coverage", | ||
"lint": "yarn eslint $(find src -type f ! -name '*.test.ts' | tr '\\n' ' ')", | ||
"lint:fix": "yarn eslint --fix $(find src -type f ! -name '*.test.ts' | tr '\\n' ' ')", | ||
"prepublishOnly": "yarn clean && yarn test && yarn lint && yarn clean && yarn build" | ||
}, | ||
"dependencies": { | ||
"jws": "^4.0.0", | ||
"r3986": "^0.0.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.22.5", | ||
"@babel/plugin-transform-runtime": "^7.22.5", | ||
"@babel/preset-env": "^7.22.5", | ||
"@babel/preset-typescript": "^7.22.5", | ||
"@babel/runtime": "^7.22.5", | ||
"@types/jest": "^29.5.2", | ||
"@types/jws": "^3.2.5", | ||
"@types/node": "^20.3.0", | ||
"@typescript-eslint/eslint-plugin": "^5.59.9", | ||
"@typescript-eslint/parser": "^5.59.9", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^29.5.0", | ||
"eslint": "^8.42.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"jest": "^29.5.0", | ||
"typescript": "^5.1.3" | ||
} | ||
} | ||
"name": "express-authenticators", | ||
"version": "1.0.0", | ||
"description": "Third party authenticators in nodejs. Support various providers. Almost zero dependencies.", | ||
"repository": "https://github.com/tranvansang/dx-server", | ||
"author": "Sang Tran <t@sang.jp>", | ||
"license": "MIT", | ||
"keywords": [ | ||
"passport", | ||
"passportjs", | ||
"express", | ||
"authenticator", | ||
"authentication", | ||
"github", | ||
"twitter", | ||
"google", | ||
"facebook", | ||
"pinterest", | ||
"foursquare", | ||
"linkedin", | ||
"instagram", | ||
"tumblr", | ||
"oauth", | ||
"oauth2", | ||
"apple" | ||
], | ||
"scripts": { | ||
"build": "yarn tsc", | ||
"prepublish": "./compile.sh" | ||
}, | ||
"main": "./cjs/index.js", | ||
"files": [ | ||
"cjs", | ||
"esm" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./esm/index.js", | ||
"require": "./cjs/index.js" | ||
} | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"jws": "^4.0.0", | ||
"r3986": "^0.0.5" | ||
}, | ||
"devDependencies": { | ||
"@types/jws": "^3.2.10", | ||
"@types/node": "^20.12.7", | ||
"typescript": "^5.4.5" | ||
}, | ||
"packageManager": "yarn@4.1.1" | ||
} |
@@ -50,7 +50,7 @@ # Express Authenticators [![Build Status](https://travis-ci.org/tranvansang/express-authenticators.svg?branch=master)](https://travis-ci.org/tranvansang/express-authenticators) | ||
```javascript | ||
const { | ||
import { | ||
getGoogleConsentUrl, getGoogleAccessToken, fetchGoogleProfile, refreshGoogleAccessToken, verifyGoogleIdToken, | ||
} = require('express-authenticators') | ||
const express = require('express') | ||
const session = require('express-session') | ||
} from 'express-authenticators' | ||
import express from 'express' | ||
import session from 'express-session' | ||
@@ -57,0 +57,0 @@ const app = express() |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
159603
3
71
3688
1
Yes
9
+ Addedr3986@0.0.5(transitive)
- Removedr3986@0.0.3(transitive)
Updatedr3986@^0.0.5