Socket
Socket
Sign inDemoInstall

sitemap-b-framework

Package Overview
Dependencies
167
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

8

index.js

@@ -15,4 +15,4 @@ const fs = require('fs');

this.config = config;
if (this.config.build.cron && !cron.validate(this.config.build.cron)) console.error('Invalid Build Cron Expression , Auto Build Will Not Trigger');
if (this.config.backup.cron && !cron.validate(this.config.backup.cron)) console.error('Invalid Backup Cron Expression , Auto Bakcup Will Not Trigger');
if (this.config.build && this.config.build.cron && !cron.validate(this.config.build.cron)) console.error('Invalid Build Cron Expression , Auto Build Will Not Trigger');
if (this.config.backup && this.config.backup.cron && !cron.validate(this.config.backup.cron)) console.error('Invalid Backup Cron Expression , Auto Bakcup Will Not Trigger');
if (!this.config.maxLinksPerSitemap || parseInt(this.config.maxLinksPerSitemap) < 1 || parseInt(this.config.maxLinksPerSitemap) > 50000) this.config.maxLinksPerSitemap = 50000;

@@ -288,3 +288,3 @@ if (!this.config.path) this.config.path = './';

async DeployToBucket() {
if (this.config.build.deployToBucket) {
if (this.config.build && this.config.build.deployToBucket) {
let modeArr = Object.keys(this.config.build.deployToBucket);

@@ -348,3 +348,3 @@ if (modeArr.length < 1) return true;

async BackupToBucket() {
if (this.config.backup.bakcupToBucket) {
if (this.config.backup && this.config.backup.bakcupToBucket) {
let modeArr = Object.keys(this.config.backup.bakcupToBucket);

@@ -351,0 +351,0 @@ if (modeArr.length < 1) return true;

{
"name": "sitemap-b-framework",
"version": "1.0.0",
"version": "1.0.1",
"description": "Advanced Sitemap Management, Building, Deployment Framework",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc