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

magpie-base

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magpie-base - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

7

CHANGELOG.md
# Changelog
## 3.1.1
### Fixed
- Socket: Do not warn when checking for socket existence
- Socket: Implement heartbeat to avoid session timeout
## 3.1.0

@@ -4,0 +11,0 @@

2

package.json
{
"name": "magpie-base",
"version": "3.1.0",
"version": "3.1.1",
"description": "Provides base components for magpie frontend projects",

@@ -5,0 +5,0 @@ "author": "magpie project",

@@ -137,2 +137,4 @@ import EventEmitter from 'events';

this.socketUrl = options.socketUrl;
/**

@@ -289,3 +291,3 @@ * @instance

this.currentVarsData = {};
if (this.socket) {
if (this.socketUrl) {
this.socket.setCurrentScreen(this.currentScreenIndex);

@@ -406,3 +408,3 @@ }

async submitResults(submissionURL, data, intermediate) {
if (this.socket) {
if (this.socketUrl) {
try {

@@ -409,0 +411,0 @@ const submissionType = intermediate

@@ -197,2 +197,7 @@ import { Socket as PhoenixSocket } from 'phoenix';

.receive('timeout', this.errorHandler);
// Send heartbeat every 30s
setInterval(() => {
this.participantChannel.push('report_heartbeat');
}, 30000);
}

@@ -199,0 +204,0 @@

const path = require('path');
const { version } = require('./package.json')
module.exports = {
// set your styleguidist configuration here
title: 'Magpie reference',
title: 'Magpie reference ('+version+')',
require: [path.join(__dirname, 'styleguidist/global.requires.js')],

@@ -7,0 +8,0 @@ // components: 'src/components/**/[A-Z]*.vue',

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