Socket
Socket
Sign inDemoInstall

next-tinacms-github

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-tinacms-github - npm Package Compare versions

Comparing version 0.0.2-a to 0.0.2-canary1

2

package.json
{
"name": "next-tinacms-github",
"version": "0.0.2-a",
"version": "0.0.2-canary1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -21,3 +21,3 @@ /**

export const proxy = (req: any, res: any) => {
export const createProxy = (authTokenKey: string) => (req: any, res: any) => {
const { headers, ...data } = JSON.parse(req.body)

@@ -29,3 +29,3 @@

...headers,
Authorization: 'token ' + req.cookies['github_access_token'],
Authorization: 'token ' + req.cookies[authTokenKey],
},

@@ -32,0 +32,0 @@ })

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