Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

my-ci

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my-ci - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

app/public/index.html

10

app/app.js

@@ -5,7 +5,9 @@ const Koa = require("koa");

const bodyParser = require("koa-bodyparser");
const serve = require('koa-static');
// const { getWorkspacePath } = require("./helper");
const { getWorkspacePath } = require("../utils");
// const { getWorkspacePath } = require("../utils");
const workCommand = require('./work-command');
const app = new Koa();
app.use(serve('./public'));
app.use(bodyParser());

@@ -16,2 +18,8 @@ app.use(cors());

router.get('/ping', async ctx => {
ctx.body = {
msg: 'ok'
};
});
router.post("/work/:workname/:command", async (ctx, next) => {

@@ -18,0 +26,0 @@ const workName = ctx.params.workname;

3

package.json
{
"name": "my-ci",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -32,4 +32,5 @@ "main": "index.js",

"koa-router": "^12.0.0",
"koa-static": "^5.0.0",
"shelljs": "^0.8.5"
}
}
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