New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

passport-twitter-2

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-twitter-2 - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

index.js

@@ -6,2 +6,6 @@ import {

if (typeof fetch === "undefined") {
globalThis.fetch = (await import("node-fetch")).default;
}
const generateRandomString = (symbols) => {

@@ -8,0 +12,0 @@ const keys = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~';

5

package.json
{
"name": "passport-twitter-2",
"version": "0.0.4",
"version": "0.0.5",
"description": "Passport Strategy for Twitter API v2",

@@ -24,2 +24,5 @@ "main": "index.js",

},
"optionalDependencies": {
"node-fetch": "^3.2.10"
},
"engines": {

@@ -26,0 +29,0 @@ "node": ">=18.0.0"

@@ -44,3 +44,3 @@ # Passport-Twitter-2

## Notes
Requires Node 18+, as the module uses Node's built-in Fetch.
For Node.js 18+ you can skip installing node-fetch with `npm i passport-twitter-2--omit=optional` and use built-in fetch instead.

@@ -47,0 +47,0 @@ ## Credits

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc