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

get-connpass-items

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-connpass-items - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

7

lib/get-connpass-items.js

@@ -10,2 +10,6 @@ 'use strict';

var Spinner = require('cli-spinner').Spinner;
var spinner = new Spinner('proccessing... %s');
spinner.setSpinnerString(18);
var instance = axios.create({

@@ -24,2 +28,3 @@ baseURL: 'https://connpass.com/api/v1/',

module.exports = function () {
spinner.start();
instance.get('/event', {

@@ -35,2 +40,4 @@ params: {

});
}).then(function () {
spinner.stop();
}).catch(function (err) {

@@ -37,0 +44,0 @@ if (err.config.timeout === 10000) {

3

package.json
{
"name": "get-connpass-items",
"version": "0.1.2",
"version": "0.2.0",
"description": "get-connpass-items(csm) is a CLI application.",

@@ -15,2 +15,3 @@ "license": "MIT",

"chalk": "^2.4.1",
"cli-spinner": "^0.2.8",
"json-table": "^0.1.3",

@@ -17,0 +18,0 @@ "node-alias": "^1.0.4",

@@ -8,2 +8,6 @@ const yargs = require('yargs')

const Spinner = require('cli-spinner').Spinner
const spinner = new Spinner('proccessing... %s')
spinner.setSpinnerString(18)
const instance = axios.create({

@@ -22,2 +26,3 @@ baseURL: 'https://connpass.com/api/v1/',

module.exports = () => {
spinner.start()
instance

@@ -41,2 +46,5 @@ .get('/event', {

})
.then(() => {
spinner.stop()
})
.catch((err) => {

@@ -43,0 +51,0 @@ if (err.config.timeout === 10000) {

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