Socket
Socket
Sign inDemoInstall

@covector/command

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@covector/command - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

5

CHANGELOG.md
# Changelog
## \[0.3.2]
- Mock out full Github Release flow to help in testing the Github Action. Adjust command pipe to function to fix `undefined` being piped to Github Release body.
- [a7e1b20](https://www.github.com/jbolda/covector/commit/a7e1b209c704829bc8cb54bd220862e627bbee01) fix: mock out full GitHub release flow ([#172](https://www.github.com/jbolda/covector/pull/172)) on 2021-03-27
## \[0.3.1]

@@ -4,0 +9,0 @@

14

dist/index.js

@@ -20,2 +20,12 @@ 'use strict';

for (let pkg of commands) {
const initialStdout = pkgCommandsRan &&
//@ts-ignore
pkgCommandsRan[pkg.pkg] &&
//@ts-ignore
pkgCommandsRan[pkg.pkg][`${commandPrefix}command`] &&
//@ts-ignore
typeof pkgCommandsRan[pkg.pkg][`${commandPrefix}command`] === "string"
? //@ts-ignore
pkgCommandsRan[pkg.pkg][`${commandPrefix}command`]
: false;
//@ts-ignore

@@ -29,3 +39,3 @@ if (!pkg[`${commandPrefix}command`])

: c;
let stdout = "";
let stdout = initialStdout ? `${initialStdout}\n` : "";
for (let pubCommand of pubCommands) {

@@ -62,3 +72,3 @@ const runningCommand = Object.assign({}, (typeof pubCommand === "object"

try {
const pipeToFunction = Object.assign(Object.assign({}, pkg), { pkgCommandsRan: _pkgCommandsRan });
const pipeToFunction = Object.assign(Object.assign({}, pkg), { pkgCommandsRan: Object.assign(Object.assign({}, _pkgCommandsRan[pkg.pkg]), { [`${commandPrefix}command`]: stdout }) });
yield runningCommand.command(pipeToFunction);

@@ -65,0 +75,0 @@ if (typeof pubCommand === "object" && pubCommand.pipe) {

4

package.json
{
"name": "@covector/command",
"version": "0.3.1",
"version": "0.3.2",
"license": "Apache-2.0",

@@ -26,3 +26,3 @@ "homepage": "https://github.com/jbolda/covector#readme",

"devDependencies": {
"@covector/assemble": "0.6.0",
"@covector/assemble": "0.6.1",
"@rollup/plugin-typescript": "^8.2.0",

@@ -29,0 +29,0 @@ "rollup": "^2.42.4",

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