Socket
Socket
Sign inDemoInstall

@microtica/code-repository

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microtica/code-repository - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

7

js/bitbucket.js

@@ -8,2 +8,3 @@ "use strict";

const archiver = require("archiver");
const path = require("path");
class Bitbucket {

@@ -117,3 +118,4 @@ constructor(accessToken) {

// at this point we have what we need.
const name = entry.path.split(`${bitbucketPathPrefix}/${subPath}/`)[1];
const normalizedPath = path.normalize(`${bitbucketPathPrefix}/${subPath}/`);
const name = entry.path.split(normalizedPath)[1];
console.log('[INFO] Zip:', name);

@@ -126,3 +128,4 @@ packageArchive.append(entry, { name });

.on('entry', (entry) => {
const name = entry.path.substring(entry.path.indexOf('/') + 1);
const normalizedPath = path.normalize(`${bitbucketPathPrefix}/${subPath}/`);
const name = entry.path.split(normalizedPath)[1];
if (hooks[name]) {

@@ -129,0 +132,0 @@ console.log("[FILE HOOK]", name);

{
"name": "@microtica/code-repository",
"version": "2.1.4",
"version": "2.1.5",
"description": "Integration module with git repository providers",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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