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

cmacc-compiler

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmacc-compiler - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "cmacc-compiler",
"version": "2.0.2",
"version": "2.0.3",
"description": "Cmacc Compiler",

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

@@ -79,3 +79,3 @@ const url = require('url');

if (opts.token) {
const base = 'https://api.github.com';
const base = opts.githubApiUrl || 'https://api.github.com';
const urlPath = path.join('repos', owner, repo, 'contents', path1);

@@ -106,3 +106,6 @@ const location = url.resolve(base, urlPath);

} else {
return fetch(`https://raw.githubusercontent.com/${owner}/${repo}/${branch}/${path1}`)
const base = opts.githubContentUrl || 'https://raw.githubusercontent.com';
const urlPath = path.join(owner, repo, branch, path1);
const location = url.resolve(base, urlPath);
return fetch(location)
.then(res => res.text())

@@ -109,0 +112,0 @@ .then(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