Socket
Socket
Sign inDemoInstall

jsreport-scheduling

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsreport-scheduling - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

0

index.js

@@ -0,0 +0,0 @@ var main = require('./lib/scheduling.js')

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ var CronTime = require('cron').CronTime

@@ -0,0 +0,0 @@ /*!

2

package.json
{
"name": "jsreport-scheduling",
"version": "1.3.0",
"version": "1.3.1",
"description": "jsreport extension for scheduling background rendering jobs",

@@ -5,0 +5,0 @@ "scripts": {

@@ -0,0 +0,0 @@ # jsreport-scheduling

@@ -0,0 +0,0 @@ import React, { Component } from 'react'

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ import ScheduleEditor from './ScheduleEditor.js'

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ import React, { Component } from 'react'

@@ -62,5 +62,11 @@ import React, { Component } from 'react'

// if we couldn't parse the cron for the UI
// reset values and enable the raw expression input
cronInfo = this.onPeriodChange('', true)
cronInfo.useExpression = true
// reset values and enable the raw expression input.
// false is returned when we want to still show the value in the UI editor
if (cronInfo === false) {
cronInfo = this.onPeriodChange('', true)
cronInfo.useExpression = false
} else {
cronInfo = this.onPeriodChange('', true)
cronInfo.useExpression = true
}
}

@@ -72,2 +78,6 @@

getCronInformation (cron) {
if (cron == null || cron === '') {
return false
}
try {

@@ -282,3 +292,3 @@ const cronExp = new CronBuilder(cron)

let cron
let cron = false

@@ -329,3 +339,3 @@ if (stateToSet && stateToSet.selectedPeriod !== undefined) {

if (cron == null) {
if (cron === false) {
cron = cronExp.build()

@@ -332,0 +342,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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