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

github-x

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-x - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

8

api-driver.js

@@ -85,6 +85,6 @@ const axios = require("axios");

}
filePath = util.trimSlashes(filePath);
const encodedFilePath = encodeURIComponent(util.trimSlashes(filePath));
const url = `${this.getProjectUrl(
projectIdentifier
)}/contents/${filePath}?ref=${branchName}`;
)}/contents/${encodedFilePath}?ref=${branchName}`;
try {

@@ -141,3 +141,3 @@ if (this.VERBOSE) console.log(`GET > ${url}`);

try {
if (this.VERBOSE) console.log(`POST > ${url}`);
if (this.VERBOSE) console.log(`POST > ${fileBlobUrl}`);
const blobs = [];

@@ -163,3 +163,3 @@ for (const action of commitObject.actions) {

tree: blobs.map((b) => ({
path: b.file_path,
path: util.trimSlashes(b.file_path),
mode: "100644",

@@ -166,0 +166,0 @@ type: "blob",

{
"name": "github-x",
"version": "0.1.1",
"version": "0.1.2",
"description": "GitHub Executor API Interface",

@@ -5,0 +5,0 @@ "repository": "https://github.com/mxcd/github-x",

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